void (@NotNull PsiClass aClass) { if (aClass.isInterface() || aClass.isEnum() || aClass.isRecord()) { return; } if (aClass instanceof PsiAnonymousClass || aClass instanceof PsiTypeParameter) { return; } if (classHasNoArgConstructor(aClass, m_ignoreClassesWithNoConstructors)) { return; } registerClassError(aClass); }