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