Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(993)

Unified Diff: pkg/analyzer/lib/src/generated/engine.dart

Issue 2948393002: Clean up type parameters in comments (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/generated/element_resolver.dart ('k') | pkg/analyzer/lib/src/generated/resolver.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/engine.dart
diff --git a/pkg/analyzer/lib/src/generated/engine.dart b/pkg/analyzer/lib/src/generated/engine.dart
index 385a8818a926bcf1c2c90967595e527b152c6fe9..06eb215fa51028cf857085198fb63171ea01732c 100644
--- a/pkg/analyzer/lib/src/generated/engine.dart
+++ b/pkg/analyzer/lib/src/generated/engine.dart
@@ -331,8 +331,7 @@ abstract class AnalysisContext {
* Perform work until the given [result] has been computed for the given
* [target]. Return the computed value.
*/
- Object/*=V*/ computeResult/*<V>*/(
- AnalysisTarget target, ResultDescriptor/*<V>*/ result);
+ V computeResult<V>(AnalysisTarget target, ResultDescriptor<V> result);
/**
* Notifies the context that the client is going to stop using this context.
@@ -365,7 +364,7 @@ abstract class AnalysisContext {
* See [setConfigurationData].
*/
@deprecated
- Object/*=V*/ getConfigurationData/*<V>*/(ResultDescriptor/*<V>*/ key);
+ V getConfigurationData<V>(ResultDescriptor<V> key);
/**
* Return the contents and timestamp of the given [source].
@@ -494,8 +493,7 @@ abstract class AnalysisContext {
* If the corresponding [target] does not exist, or the [result] is not
* computed yet, then the default value is returned.
*/
- Object/*=V*/ getResult/*<V>*/(
- AnalysisTarget target, ResultDescriptor/*<V>*/ result);
+ V getResult<V>(AnalysisTarget target, ResultDescriptor<V> result);
/**
* Return a list of the sources being analyzed in this context whose full path
« no previous file with comments | « pkg/analyzer/lib/src/generated/element_resolver.dart ('k') | pkg/analyzer/lib/src/generated/resolver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698