mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 06:17:44 +00:00
@Jacksonized: modify builders that they can be used by Jackson
This commit is contained in:
1 parent
59aa676111
commit
8be4b0ffe6
30 files changed
+1099
-70
No files matched your search
@@ -0,0 +1,10 @@
|
||||
package com.fasterxml.jackson.databind.annotation;
|
||||
|
||||
import java.lang.annotation.*;
|
||||
|
||||
@Target({ElementType.ANNOTATION_TYPE, ElementType.TYPE})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface JsonPOJOBuilder {
|
||||
public String buildMethodName() default "build";
|
||||
public String withPrefix() default "with";
|
||||
}
|
||||
Reference in new issue
Block a user