boolean (ClassElement classElement, String methodName, Project project) { PsiClass clazz = JavaPsiFacade.getInstance(project).findClass(classElement.getQualifiedName(), GlobalSearchScope.allScope(project)); if (clazz != null) { PsiClass superClass = clazz.getSuperClass(); if (superClass != null && superClass.hasModifierProperty(PsiModifier.ABSTRACT)) { for (HierarchicalMethodSignature signature : superClass.getVisibleSignatures()) { PsiMethod method = signature.getMethod(); if (methodName.equals(method.getName()) && method.hasModifierProperty(PsiModifier.ABSTRACT)) { return true; } } } } return false; }