Added full test suite for @Accessors, as well as the new rules for whether or not a method is already there so lombok shouldn't generate it (now number of parameters matters), and added generics testing to RequiredArgsConstructor's static constructor feature.

This commit is contained in:
Reinier Zwitserloot committed 2012-03-26 23:49:39 +02:00
1 parent 7ddafc0fe5
commit e98d226cfb
11 files changed
+118 -15

No files matched your search

@@ -22,24 +22,32 @@ class Setter5 {
String foo;
void setFoo() {
}
@java.lang.SuppressWarnings("all")
public void setFoo(final String foo) {
this.foo = foo;
}
}
class Setter6 {
String foo;
void setFoo(String foo, int x) {
}
@java.lang.SuppressWarnings("all")
public void setFoo(final String foo) {
this.foo = foo;
}
}
class Setter7 {
String foo;
static void setFoo() {
void setFoo(String foo, Object... x) {
}
}
class Setter8 {
boolean isFoo;
void setIsFoo() {
void setIsFoo(boolean foo) {
}
}
class Setter9 {
boolean isFoo;
void setFoo() {
void setFoo(boolean foo) {
}
}