boolean (@NotNull PsiClass psiClass) { final boolean isNotDirectDescendantOfObject = PsiClassUtil.hasSuperClass(psiClass); if (isNotDirectDescendantOfObject) { return true; } final boolean isFinal = psiClass.hasModifierProperty(PsiModifier.FINAL) || (PsiAnnotationSearchUtil.isAnnotatedWith(psiClass, LombokClassNames.VALUE) && PsiAnnotationSearchUtil.isNotAnnotatedWith(psiClass, LombokClassNames.NON_FINAL)); return !isFinal; }