aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}