void (@NotNull PsiClass psiClass, @Nullable PsiMethod psiMethod, @NotNull PsiAnnotation psiAnnotation, @NotNull LombokLightClassBuilder builderClass) { //Annotation 'com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder=Foobar.FoobarBuilder[Impl].class)' should be added on PsiClass psiClass.putUserData(LombokUserDataKeys.AUGMENTED_ANNOTATIONS, Collections.singleton( "@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder=" + builderClass.getQualifiedName() + ".class)")); //add com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix="with", buildMethodName="build") final PsiAnnotation jsonPojoBuilderAnnotation = createPojoBuilderAnnotation(psiClass, psiAnnotation); builderClass.getModifierList().withAnnotation(jsonPojoBuilderAnnotation); LombokCopyableAnnotations.copyCopyableAnnotations(null == psiMethod ? psiClass : psiMethod, builderClass.getModifierList(), LombokCopyableAnnotations.JACKSON_COPY_TO_BUILDER); }