aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2010-11-14 12:07:51 +0000
committerReinier Zwitserloot <reinier@zwitserloot.com>2010-11-14 12:07:51 +0000
commit9921778f972fbe8ab37870abddf1bd5457c60a2c (patch)
tree14850b685be105eb7c8cae3386e13e74321cfd06 /src
parenta3765dd30aa75e835984c40f39ef7a8d193a8034 (diff)
parent339efa00c62267f8fb6643d8883d5130c9fdd05a (diff)
downloadlombok-9921778f972fbe8ab37870abddf1bd5457c60a2c.tar.gz
lombok-9921778f972fbe8ab37870abddf1bd5457c60a2c.tar.bz2
lombok-9921778f972fbe8ab37870abddf1bd5457c60a2c.zip
Merge branch 'master' of github.com:rzwitserloot/lombok
Diffstat (limited to 'src')
-rw-r--r--src/core/lombok/Delegate.java7
-rw-r--r--src/core/lombok/Getter.java1
-rw-r--r--src/core/lombok/Setter.java1
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