mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[groovy] don't call clazz.getText() (IDEA-165664)
This commit is contained in:
+1
-1
@@ -166,7 +166,7 @@ public class GrUnresolvedAccessChecker {
|
||||
!PsiUtil.hasEnclosingInstanceInScope(outerClass, newExpression, true) &&
|
||||
!hasEnclosingInstanceInArgList(newExpression.getArgumentList(), outerClass)) {
|
||||
String qname = clazz.getQualifiedName();
|
||||
LOG.assertTrue(qname != null, clazz.getText());
|
||||
LOG.assertTrue(qname != null);
|
||||
return createAnnotationForRef(refElement, inStaticContext, GroovyBundle.message("cannot.reference.non.static", qname));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user