PsiField (@NotNull PsiMember psiMember, boolean makeUppercased, @NotNull PsiClass containingClass, PsiClassType classType) { return new LombokEnumConstantBuilder(containingClass.getManager(), makeFieldNameConstant(psiMember, makeUppercased), classType) .withContainingClass(containingClass) .withModifier(PsiModifier.PUBLIC) .withImplicitModifier(PsiModifier.STATIC) .withImplicitModifier(PsiModifier.FINAL) .withNavigationElement(psiMember); }