| Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/search/SearchEngineImpl.java
|
| diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/search/SearchEngineImpl.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/search/SearchEngineImpl.java
|
| index f0d9526565284c17987f1d6fe692d9c93dde4052..533fd520c9a215a36b92a7b8195ad10ec0c08003 100644
|
| --- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/search/SearchEngineImpl.java
|
| +++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/search/SearchEngineImpl.java
|
| @@ -508,24 +508,24 @@ public class SearchEngineImpl implements SearchEngine {
|
| throw new IllegalArgumentException("listener cannot be null");
|
| }
|
| SearchListener filteredListener = new CountingSearchListener(5, applyFilter(filter, listener));
|
| + Element element = createElement(function);
|
| index.getRelationships(
|
| - createElement(function),
|
| + element,
|
| IndexConstants.IS_INVOKED_BY_QUALIFIED,
|
| new RelationshipCallbackImpl(MatchKind.FUNCTION_EXECUTION, filteredListener));
|
| index.getRelationships(
|
| - createElement(function),
|
| + element,
|
| IndexConstants.IS_INVOKED_BY_UNQUALIFIED,
|
| new RelationshipCallbackImpl(MatchKind.FUNCTION_EXECUTION, filteredListener));
|
| + index.getRelationships(element, IndexConstants.IS_REFERENCED_BY, new RelationshipCallbackImpl(
|
| + MatchKind.FUNCTION_EXECUTION,
|
| + filteredListener));
|
| index.getRelationships(
|
| - createElement(function),
|
| - IndexConstants.IS_REFERENCED_BY,
|
| - new RelationshipCallbackImpl(MatchKind.FUNCTION_EXECUTION, filteredListener));
|
| - index.getRelationships(
|
| - createElement(function),
|
| + element,
|
| IndexConstants.IS_ACCESSED_BY_UNQUALIFIED,
|
| new RelationshipCallbackImpl(MatchKind.FUNCTION_EXECUTION, filteredListener));
|
| index.getRelationships(
|
| - createElement(function),
|
| + element,
|
| IndexConstants.IS_ACCESSED_BY_QUALIFIED,
|
| new RelationshipCallbackImpl(MatchKind.FUNCTION_EXECUTION, filteredListener));
|
| }
|
|
|