void (@NotNull PsiModifierList modifierList, @NotNull final Set<String> modifiers) { final PsiElement parent = modifierList.getParent(); // FINAL if (parent instanceof PsiClass psiClass) { if (PsiAnnotationSearchUtil.isAnnotatedWith(psiClass, LombokClassNames.UTILITY_CLASS)) { modifiers.add(PsiModifier.FINAL); } } // STATIC if (isElementFieldOrMethodOrInnerClass(parent)) { modifiers.add(PsiModifier.STATIC); } }