import lombok.experimental.Delegate; abstract class DelegateOnMethods { public static interface Bar { void bar(java.util.ArrayList list); } DelegateOnMethods() { super(); } public abstract @Delegate Bar getBar(); public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") @lombok.Generated void bar(final java.util.ArrayList list) { this.getBar().bar(list); } }