boolean (MemberInfo member) { PsiClass currentSuperClass = getSuperClass(); if(currentSuperClass == null) return false; if (currentSuperClass.isInterface()) { if (!PsiUtil.isLanguageLevel8OrHigher(currentSuperClass)) { return true; } if (member.getMember() instanceof PsiMethod method) { if (JavaPsiRecordUtil.getRecordComponentForAccessor(method) != null) { return true; } return !method.hasModifierProperty(PsiModifier.STATIC) && findSuperMethod(currentSuperClass, method) == null; } } return false; }