import lombok.AccessLevel; import lombok.Delegate; import lombok.Getter; @Getter class DelegateOnGetterNone { private interface Bar { void setList(java.util.ArrayList 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 list) { this.bar.setList(list); } }