Index: pkg/analysis_server/lib/src/services/index/index.dart |
diff --git a/pkg/analysis_server/lib/src/services/index/index.dart b/pkg/analysis_server/lib/src/services/index/index.dart |
index 645303ab2dda284f7bdd40007e07ed1edf5c572d..7ef15138bfae5017cce31650a415e0083e744394 100644 |
--- a/pkg/analysis_server/lib/src/services/index/index.dart |
+++ b/pkg/analysis_server/lib/src/services/index/index.dart |
@@ -10,7 +10,6 @@ import 'package:analysis_server/plugin/index/index_core.dart'; |
import 'package:analysis_server/src/services/index/indexable_element.dart'; |
import 'package:analyzer/src/generated/element.dart'; |
import 'package:analyzer/src/generated/engine.dart'; |
-import 'package:analyzer/src/generated/source.dart'; |
/** |
* A filter for [Element] names. |
@@ -79,6 +78,9 @@ class IndexableName implements IndexableObject { |
IndexableName(this.name); |
@override |
+ String get filePath => null; |
+ |
+ @override |
IndexableObjectKind get kind => IndexableNameKind.INSTANCE; |
@override |
@@ -87,9 +89,6 @@ class IndexableName implements IndexableObject { |
} |
@override |
- Source get source => null; |
- |
- @override |
bool operator ==(Object object) => |
object is IndexableName && object.name == name; |
@@ -338,7 +337,7 @@ class RelationshipImpl implements Relationship { |
static int _NEXT_HASH_CODE = 0; |
/** |
- * The artifitial hash code for this object. |
+ * The artificial hash code for this object. |
*/ |
final int _hashCode = _NEXT_HASH_CODE++; |