Index: pkg/analyzer_plugin/lib/src/utilities/completion/completion_core.dart |
diff --git a/pkg/analyzer_plugin/lib/src/utilities/completion/completion_core.dart b/pkg/analyzer_plugin/lib/src/utilities/completion/completion_core.dart |
index 4f68255a4139cf337576abe23d1c0af8db6fbdf4..b8019c1dfe1c18643545ce30c66f6e6b74c1f9c1 100644 |
--- a/pkg/analyzer_plugin/lib/src/utilities/completion/completion_core.dart |
+++ b/pkg/analyzer_plugin/lib/src/utilities/completion/completion_core.dart |
@@ -62,26 +62,26 @@ class CompletionCollectorImpl implements CompletionCollector { |
} |
@override |
- void addSuggestion(CompletionSuggestion suggestion) { |
- suggestions.add(suggestion); |
- } |
- |
- @override |
bool get offsetIsSet => offset != null; |
@override |
int get suggestionsLength => suggestions.length; |
+ |
+ @override |
+ void addSuggestion(CompletionSuggestion suggestion) { |
+ suggestions.add(suggestion); |
+ } |
} |
/** |
- * Information about the completion request that was made. |
- */ |
-class CompletionRequestImpl implements CompletionRequest { |
+* A concrete implementation of [DartCompletionRequest]. |
+*/ |
+class DartCompletionRequestImpl implements DartCompletionRequest { |
@override |
- final int offset; |
+ final ResourceProvider resourceProvider; |
@override |
- final ResourceProvider resourceProvider; |
+ final int offset; |
@override |
final ResolveResult result; |
@@ -94,7 +94,7 @@ class CompletionRequestImpl implements CompletionRequest { |
/** |
* Initialize a newly created request. |
*/ |
- CompletionRequestImpl(this.resourceProvider, this.result, this.offset); |
+ DartCompletionRequestImpl(this.resourceProvider, this.offset, this.result); |
/** |
* Abort the current completion request. |