void (@NotNull PsiClass aClass) { if (aClass instanceof PsiAnonymousClass || !InheritanceUtil.isInheritor(aClass, CommonClassNames.JAVA_UTIL_COMPARATOR) || SerializationUtils.isSerializable(aClass)) { return; } registerClassError(aClass, aClass); }