boolean (GroovyResolveResult resolveResult) { if (resolveResult.isStaticsOK()) return true; PsiElement resolved = resolveResult.getElement(); LOG.assertTrue(resolved != null); LOG.assertTrue(resolved instanceof PsiModifierListOwner, resolved + " : " + resolved.getText()); return ((PsiModifierListOwner)resolved).hasModifierProperty(PsiModifier.STATIC); }