aboutsummaryrefslogtreecommitdiff
path: root/src/lombok/Getter.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-06-17 20:51:12 +0200
committerReinier Zwitserloot <reinier@tipit.to>2009-06-17 20:51:12 +0200
commit1d85326769ddbeed3370b7a6256d86f3f787a29b (patch)
tree6d7e51d3aea97ece6c85f9d406f8c34aa33d7e93 /src/lombok/Getter.java
parente737d64242329391ef681e51b36886aaf4d6fe35 (diff)
downloadlombok-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.java2
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;
}