diff options
-rw-r--r-- | src/core/lombok/Delegate.java | 7 | ||||
-rw-r--r-- | src/core/lombok/Getter.java | 1 | ||||
-rw-r--r-- | src/core/lombok/Setter.java | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/src/core/lombok/Delegate.java b/src/core/lombok/Delegate.java index bbfd51df..9056dada 100644 --- a/src/core/lombok/Delegate.java +++ b/src/core/lombok/Delegate.java @@ -21,6 +21,13 @@ */ package lombok; +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Target(ElementType.FIELD) +@Retention(RetentionPolicy.SOURCE) public @interface Delegate { Class<?>[] value() default {}; } diff --git a/src/core/lombok/Getter.java b/src/core/lombok/Getter.java index 97ce315c..c42277b1 100644 --- a/src/core/lombok/Getter.java +++ b/src/core/lombok/Getter.java @@ -73,5 +73,6 @@ public @interface Getter { */ @Deprecated @Retention(RetentionPolicy.SOURCE) + @Target({}) @interface AnyAnnotation {} } diff --git a/src/core/lombok/Setter.java b/src/core/lombok/Setter.java index 8c78bbb3..107760a7 100644 --- a/src/core/lombok/Setter.java +++ b/src/core/lombok/Setter.java @@ -74,5 +74,6 @@ public @interface Setter { */ @Deprecated @Retention(RetentionPolicy.SOURCE) + @Target({}) @interface AnyAnnotation {} }
\ No newline at end of file |