boolean (@NotNull PsiField psiField, @NotNull PsiModifierList modifierList, boolean classAnnotatedWithValue) { boolean isFinal = modifierList.hasModifierProperty(PsiModifier.FINAL); if (!isFinal && classAnnotatedWithValue) { isFinal = PsiAnnotationSearchUtil.isNotAnnotatedWith(psiField, LombokClassNames.NON_FINAL); } return isFinal; }