mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed eval of static methods with a qualifier - better fix
This commit is contained in:
@@ -100,7 +100,9 @@ public class JavaEditorTextProviderImpl implements EditorTextProvider {
|
||||
parent = pparent;
|
||||
}
|
||||
else if (pparent instanceof PsiReferenceExpression) {
|
||||
return findExpression(pparent, allowMethodCalls);
|
||||
if (((PsiReferenceExpression)parent).resolve() instanceof PsiClass) {
|
||||
return findExpression(pparent, allowMethodCalls);
|
||||
}
|
||||
}
|
||||
if (allowMethodCalls || !DebuggerUtils.hasSideEffects(parent)) {
|
||||
expression = parent;
|
||||
|
||||
Reference in New Issue
Block a user