mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 16:17:34 +00:00
Added test case for issue #136: @Getter or @Setter on a static field fails to compile.
This commit is contained in:
1 parent
ec24fe37dd
commit
83b4dd8613
6 files changed
+62
No files matched your search
@@ -0,0 +1,15 @@
|
||||
class Setter {
|
||||
static @lombok.Setter boolean foo;
|
||||
static @lombok.Setter int bar;
|
||||
<clinit>() {
|
||||
}
|
||||
Setter() {
|
||||
super();
|
||||
}
|
||||
public static @java.lang.SuppressWarnings("all") void setFoo(final boolean foo) {
|
||||
Setter.foo = foo;
|
||||
}
|
||||
public static @java.lang.SuppressWarnings("all") void setBar(final int bar) {
|
||||
Setter.bar = bar;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user