mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-25165 - PIEAE: ASTDelegatePsiElement.getManager
This commit is contained in:
@@ -521,6 +521,7 @@ public class ResolveUtil {
|
||||
}
|
||||
|
||||
public static boolean isInUseScope(PsiElement context) {
|
||||
if (!context.isValid()) return false;
|
||||
if (context instanceof GrMethodCall) {
|
||||
final GrExpression expression = ((GrMethodCall)context).getInvokedExpression();
|
||||
if (expression instanceof GrReferenceExpression) {
|
||||
|
||||
Reference in New Issue
Block a user