mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-12 12:14:07 +00:00
Added a test infrastructure that simulates eclipse with diet-parse, type-binding and so forth. Similar to eclipse, the test needs to be executed with lombok as vm-agent. @Delegate runs with this setup, sadly val does not, at least for now.
And as expected the tests shows that @Synchronized and @SneakyThrows are currently broken for eclipse but not for ecj.
This commit is contained in:
1 parent
aa96fcbc77
commit
850c3eaf07
72 files changed
+2570
-1
No files matched your search
@@ -0,0 +1,40 @@
|
||||
import lombok.Setter;
|
||||
class SetterOnMethod {
|
||||
@lombok.Setter() int i;
|
||||
@lombok.Setter() int j;
|
||||
public @Deprecated @java.lang.SuppressWarnings("all") void setI(final int i) {
|
||||
this.i = i;
|
||||
}
|
||||
public @java.lang.Deprecated @java.lang.SuppressWarnings("all") void setJ(final int j) {
|
||||
this.j = j;
|
||||
}
|
||||
SetterOnMethod() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
@lombok.Setter() class SetterOnClassOnMethod {
|
||||
int i;
|
||||
int j;
|
||||
public @java.lang.SuppressWarnings("all") void setI(final int i) {
|
||||
this.i = i;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") void setJ(final int j) {
|
||||
this.j = j;
|
||||
}
|
||||
SetterOnClassOnMethod() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
@lombok.Setter() class SetterOnClassAndOnAField {
|
||||
int i;
|
||||
@lombok.Setter() int j;
|
||||
public @java.lang.Deprecated @java.lang.SuppressWarnings("all") void setJ(final int j) {
|
||||
this.j = j;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") void setI(final int i) {
|
||||
this.i = i;
|
||||
}
|
||||
SetterOnClassAndOnAField() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user