BuilderInfo (@NotNull PsiParameter psiParameter) { final BuilderInfo result = new BuilderInfo(); result.variableInClass = psiParameter; result.fieldInBuilderType = psiParameter.getType(); result.deprecated = hasDeprecatedAnnotation(psiParameter); result.fieldInitializer = null; result.hasBuilderDefaultAnnotation = false; result.fieldInBuilderName = psiParameter.getName(); result.capitalizationStrategy = CapitalizationStrategy.defaultValue(); result.nullAnnotationLibrary = LombokNullAnnotationLibraryDefned.NONE; result.singularAnnotation = PsiAnnotationSearchUtil.findAnnotation(psiParameter, LombokClassNames.SINGULAR); result.builderElementHandler = SingularHandlerFactory.getHandlerFor(psiParameter, null!=result.singularAnnotation); return result; }