diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-06-17 20:51:12 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-06-17 20:51:12 +0200 |
commit | 1d85326769ddbeed3370b7a6256d86f3f787a29b (patch) | |
tree | 6d7e51d3aea97ece6c85f9d406f8c34aa33d7e93 /src/lombok/Getter.java | |
parent | e737d64242329391ef681e51b36886aaf4d6fe35 (diff) | |
download | lombok-1d85326769ddbeed3370b7a6256d86f3f787a29b.tar.gz lombok-1d85326769ddbeed3370b7a6256d86f3f787a29b.tar.bz2 lombok-1d85326769ddbeed3370b7a6256d86f3f787a29b.zip |
No retention at all seems much smarter, because then it wouldn't be neccessary to have the lombok.jar in the deployment path of whatever you write WITH lombok, which is a good idea.
Though - rewriting to e.g. a Lombok.sneakyThrow() call would require lombok.jar anyway. We'll cross that bridge when we get there.
Diffstat (limited to 'src/lombok/Getter.java')
-rw-r--r-- | src/lombok/Getter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lombok/Getter.java b/src/lombok/Getter.java index d6a10547..a714ead4 100644 --- a/src/lombok/Getter.java +++ b/src/lombok/Getter.java @@ -6,7 +6,7 @@ import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target(ElementType.FIELD) -@Retention(RetentionPolicy.CLASS) +@Retention(RetentionPolicy.SOURCE) public @interface Getter { AccessLevel value() default lombok.AccessLevel.PUBLIC; } |