Set<PsiMethod> () { LinkedHashSet<PsiMethod> result = new LinkedHashSet<>(); PsiMethod[] methods = myClass.getMethods(); for (PsiMethod method : methods) { if (findSuperMethodInBaseClass(method) != null) result.add(method); } return result; }