mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 00:17:45 +00:00
For the strangest reason, compiling Getter with javac fails; it wants AccessLevel, but has AccessLevel. Yah, WTF. Turning AccessLevel into its FQN: lombok.AccessLevel fixes it. javac bug?
This commit is contained in:
1 parent
d7434059c4
commit
0ef6792608
1 file changed
+1
-1
@@ -8,5 +8,5 @@ import java.lang.annotation.Target;
|
||||
@Target(ElementType.FIELD)
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
public @interface Getter {
|
||||
AccessLevel value() default AccessLevel.PUBLIC;
|
||||
AccessLevel value() default lombok.AccessLevel.PUBLIC;
|
||||
}
|
||||
Reference in new issue
Block a user