import java.util.List; import lombok.Builder; import java.util.*; class BuilderGenericMethod { public @java.lang.SuppressWarnings("all") class MapBuilder { private @java.lang.SuppressWarnings("all") int a; private @java.lang.SuppressWarnings("all") long b; @java.lang.SuppressWarnings("all") MapBuilder() { super(); } /** * @return {@code this}. */ public @java.lang.SuppressWarnings("all") BuilderGenericMethod.MapBuilder a(final int a) { this.a = a; return this; } /** * @return {@code this}. */ public @java.lang.SuppressWarnings("all") BuilderGenericMethod.MapBuilder b(final long b) { this.b = b; return this; } public @java.lang.SuppressWarnings("all") Map build() { return BuilderGenericMethod.this.foo(this.a, this.b); } public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { return (((("BuilderGenericMethod.MapBuilder(a=" + this.a) + ", b=") + this.b) + ")"); } } BuilderGenericMethod() { super(); } public @Builder Map foo(int a, long b) { return null; } public @java.lang.SuppressWarnings("all") BuilderGenericMethod.MapBuilder builder() { return this.new MapBuilder(); } }