CompilerReferenceService rename getScopeWithoutReferences -> getScopeWithoutCodeRefer...
[idea/community.git] / java / java-indexing-impl / src / com / intellij / compiler / JavaCompilerReferencesCodeUsageScopeOptimizer.java
index fced3ef74f479da92ac6d9a8802d4b659f1d8560..bae091e37c1902d1968a3a08590d3a642c69d5eb 100644 (file)
@@ -25,6 +25,6 @@ public class JavaCompilerReferencesCodeUsageScopeOptimizer implements ScopeOptim
   @Nullable
   @Override
   public GlobalSearchScope getScopeToExclude(@NotNull PsiElement element) {
-    return CompilerReferenceService.getInstance(element.getProject()).getScopeWithoutReferences(element, JavaBaseCompilerSearchAdapter.INSTANCE);
+    return CompilerReferenceService.getInstance(element.getProject()).getScopeWithoutCodeReferences(element, JavaBaseCompilerSearchAdapter.INSTANCE);
   }
 }