blob: 0cfb02c0ed5bdc3c221cfe0ecb00b0d2a6a64c20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
import lombok.AccessLevel;
import lombok.experimental.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;
DelegateOnGetterNone() {
super();
}
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);
}
}
|