Added test case for issue #136: @Getter or @Setter on a static field fails to compile.

This commit is contained in:
Reinier Zwitserloot committed 2010-07-28 18:48:52 +02:00
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;
}
}