mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
a bit of java resolve performance
This commit is contained in:
@@ -137,7 +137,7 @@ public class JavaResolveUtil {
|
||||
PsiElement scope = place;
|
||||
while(scope != null){
|
||||
if (scope instanceof PsiDocComment) return true;
|
||||
if (scope instanceof PsiMember || scope instanceof PsiCodeBlock || scope instanceof PsiFile) return false;
|
||||
if (scope instanceof PsiMember || scope instanceof PsiMethodCallExpression || scope instanceof PsiFile) return false;
|
||||
scope = scope.getContext();
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user