boolean (final PsiMethod psiMethod) { if (psiMethod.isConstructor()) return false; return psiMethod.getContainingClass().isInterface() || (!psiMethod.hasModifierProperty(PsiModifier.FINAL) && !psiMethod.hasModifierProperty(PsiModifier.STATIC)); }