1 2 3 4 5 6 7 8 9 10 11 12 13 14
import lombok.AccessLevel; import lombok.experimental.Delegate; import lombok.Getter; @Getter class DelegateOnGetterNone { @Delegate @Getter(AccessLevel.NONE) private final Bar bar = null; private interface Bar { void setList(java.util.ArrayList<java.lang.String> list); int getInt(); } }