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 Getter {
static @lombok.Getter boolean foo;
static @lombok.Getter int bar;
<clinit>() {
}
Getter() {
super();
}
public static @java.lang.SuppressWarnings("all") boolean isFoo() {
return Getter.foo;
}
public static @java.lang.SuppressWarnings("all") int getBar() {
return Getter.bar;
}
}