PsiMethod (@NotNull BuilderInfo info) { final PsiClass builderClass = info.getBuilderClass(); final PsiClass containingClass = builderClass.getContainingClass(); final String blockText = String.format("return %s;", info.getFieldInitializer().getText()); return new LombokLightMethodBuilder(builderClass.getManager(), info.renderFieldDefaultProviderName()) .withMethodReturnType(info.getFieldType()) .withContainingClass(containingClass) .withNavigationElement(info.getVariable()) .withModifier(PsiModifier.PRIVATE) .withModifier(PsiModifier.STATIC) .withBodyText(blockText); }