diff options
Diffstat (limited to 'src/core/lombok/Singular.java')
-rw-r--r-- | src/core/lombok/Singular.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/Singular.java b/src/core/lombok/Singular.java index 655f2a9c..67edab96 100644 --- a/src/core/lombok/Singular.java +++ b/src/core/lombok/Singular.java @@ -29,10 +29,10 @@ import java.lang.annotation.Target; /** * The singular annotation is used together with {@code @Builder} to create single element 'add' methods in the builder for collections. - * <p> */ @Target({FIELD, PARAMETER}) @Retention(SOURCE) public @interface Singular { + /** @return The singular name of this field. If it's a normal english plural, lombok will figure it out automatically. Otherwise, this parameter is mandatory. */ String value() default ""; } |