boolean (final PsiClass psiClass) { final PsiModifierList modifierList = psiClass.getModifierList(); return psiClass.isInterface() || (modifierList != null && modifierList.hasModifierProperty(PsiModifier.ABSTRACT)); }