boolean (PsiClass containingClass) { return containingClass != null && !containingClass.isInterface() && !containingClass.isEnum() && !containingClass.isRecord() && !containingClass.hasModifierProperty(PsiModifier.ABSTRACT) && containingClass.getQualifiedName() != null; }