boolean (@NotNull PsiElement element, @NotNull ResolveState state) { if (!(element instanceof PsiMember)) return true; if (!((PsiMember)element).hasModifierProperty(PsiModifier.STATIC)) return true; return super.execute(element, state); }