mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 08:17:18 +00:00
More test files, test files updated to be valid java, and ecj test now goes through the complete compile process. This means val and @Delegate testing is now enabled.
TODO: Update -eclipse tests.
This commit is contained in:
1 parent
5e9e16a6b9
commit
06581537f2
55 files changed
+691
-132
No files matched your search
@@ -1 +1,19 @@
|
||||
//ignore
|
||||
import lombok.AccessLevel;
|
||||
import lombok.Delegate;
|
||||
import lombok.Getter;
|
||||
@Getter class DelegateOnGetterNone {
|
||||
private interface Bar {
|
||||
void setList(java.util.ArrayList<java.lang.String> list);
|
||||
int getInt();
|
||||
}
|
||||
private final @Delegate @Getter(AccessLevel.NONE) Bar bar = null;
|
||||
public @java.lang.SuppressWarnings("all") int getInt() {
|
||||
return this.bar.getInt();
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") void setList(final java.util.ArrayList<java.lang.String> list) {
|
||||
this.bar.setList(list);
|
||||
}
|
||||
DelegateOnGetterNone() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user