BuilderInfo (@NotNull PsiField psiField) { final BuilderInfo result = new BuilderInfo(); result.variableInClass = psiField; result.deprecated = isDeprecated(psiField); result.fieldInBuilderType = psiField.getType(); result.fieldInitializer = psiField.getInitializer(); result.hasBuilderDefaultAnnotation = PsiAnnotationSearchUtil.isAnnotatedWith(psiField, BUILDER_DEFAULT_ANNOTATION); final AccessorsInfo accessorsInfo = AccessorsInfo.buildFor(psiField); result.fieldInBuilderName = accessorsInfo.removePrefix(psiField.getName()); result.capitalizationStrategy = accessorsInfo.getCapitalizationStrategy(); result.nullAnnotationLibrary = LombokNullAnnotationLibraryDefned.NONE; result.singularAnnotation = PsiAnnotationSearchUtil.findAnnotation(psiField, LombokClassNames.SINGULAR); result.builderElementHandler = SingularHandlerFactory.getHandlerFor(psiField, null!=result.singularAnnotation); return result; }