| Index: pkg/analysis_server/lib/src/services/index/local_index.dart
|
| diff --git a/pkg/analysis_server/lib/src/services/index/local_index.dart b/pkg/analysis_server/lib/src/services/index/local_index.dart
|
| index f4b63f549b42420119b33067a05d5213b1440dc1..e9deeda04475f6a6e9d1818f7c6fc6617366e4d5 100644
|
| --- a/pkg/analysis_server/lib/src/services/index/local_index.dart
|
| +++ b/pkg/analysis_server/lib/src/services/index/local_index.dart
|
| @@ -7,8 +7,8 @@ library services.src.index.local_index;
|
| import 'dart:async';
|
|
|
| import 'package:analysis_server/src/services/index/index.dart';
|
| -import 'package:analysis_server/src/services/index/index_contributor.dart' as
|
| - contributors;
|
| +import 'package:analysis_server/src/services/index/index_contributor.dart'
|
| + as contributors;
|
| import 'package:analysis_server/src/services/index/store/split_store.dart';
|
| import 'package:analyzer/src/generated/ast.dart';
|
| import 'package:analyzer/src/generated/element.dart';
|
| @@ -16,7 +16,6 @@ import 'package:analyzer/src/generated/engine.dart';
|
| import 'package:analyzer/src/generated/html.dart';
|
| import 'package:analyzer/src/generated/source.dart';
|
|
|
| -
|
| /**
|
| * A local implementation of [Index].
|
| */
|
| @@ -38,8 +37,8 @@ class LocalIndex extends Index {
|
| /**
|
| * Returns all relations with [Element]s with the given [name].
|
| */
|
| - Future<Map<List<String>, List<InspectLocation>>>
|
| - findElementsByName(String name) {
|
| + Future<Map<List<String>, List<InspectLocation>>> findElementsByName(
|
| + String name) {
|
| return _store.inspect_getElementRelations(name);
|
| }
|
|
|
| @@ -52,8 +51,8 @@ class LocalIndex extends Index {
|
| * places where the function is invoked.
|
| */
|
| @override
|
| - Future<List<Location>> getRelationships(Element element,
|
| - Relationship relationship) {
|
| + Future<List<Location>> getRelationships(
|
| + Element element, Relationship relationship) {
|
| return _store.getRelationships(element, relationship);
|
| }
|
|
|
|
|