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

@@ -32,6 +32,9 @@ class Setter4 {
}
class Setter5 {
@lombok.Setter String foo;
public @java.lang.SuppressWarnings("all") void setFoo(final String foo) {
this.foo = foo;
}
Setter5() {
super();
}
@@ -40,6 +43,9 @@ class Setter5 {
}
class Setter6 {
@lombok.Setter String foo;
public @java.lang.SuppressWarnings("all") void setFoo(final String foo) {
this.foo = foo;
}
Setter6() {
super();
}
@@ -51,7 +57,7 @@ class Setter7 {
Setter7() {
super();
}
static void setFoo() {
void setFoo(String foo, Object... x) {
}
}
class Setter8 {
@@ -59,7 +65,7 @@ class Setter8 {
Setter8() {
super();
}
void setIsFoo() {
void setIsFoo(boolean foo) {
}
}
class Setter9 {
@@ -67,6 +73,6 @@ class Setter9 {
Setter9() {
super();
}
void setFoo() {
void setFoo(boolean foo) {
}
}