void (@NotNull PsiClass aClass) { super.visitClass(aClass); PsiIdentifier classIdentifier = aClass.getNameIdentifier(); if (classIdentifier == null) return; RecordCandidate recordCandidate = ConvertToRecordFix.getClassDefinition(aClass, mySuggestAccessorsRenaming, myIgnoredAnnotations); if (recordCandidate == null) return; if (!myRenameMembersThatBecomeMoreAccessible && !ConvertToRecordProcessor.findAffectedMembersUsages(recordCandidate).isEmpty()) return; registerError(classIdentifier, isOnTheFly(), aClass); }