diff options
Diffstat (limited to 'test/transform/resource/before/BuilderWithToBuilderWithSetterPrefix.java')
-rw-r--r-- | test/transform/resource/before/BuilderWithToBuilderWithSetterPrefix.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/transform/resource/before/BuilderWithToBuilderWithSetterPrefix.java b/test/transform/resource/before/BuilderWithToBuilderWithSetterPrefix.java index b33211e9..3b442b8d 100644 --- a/test/transform/resource/before/BuilderWithToBuilderWithSetterPrefix.java +++ b/test/transform/resource/before/BuilderWithToBuilderWithSetterPrefix.java @@ -5,7 +5,7 @@ class BuilderWithToBuilderWithSetterPrefix<T> { private String mOne, mTwo; @Builder.ObtainVia(method = "rrr", isStatic = true) private T foo; @lombok.Singular private List<T> bars; - public static <K> K rrr(BuilderWithToBuilder<K> x) { + public static <K> K rrr(BuilderWithToBuilderWithSetterPrefix<K> x) { return x.foo; } } @@ -15,6 +15,6 @@ class ConstructorWithToBuilderWithSetterPrefix<T> { private T foo; @lombok.Singular private com.google.common.collect.ImmutableList<T> bars; @Builder(toBuilder = true, setterPrefix = "with") - public ConstructorWithToBuilder(String mOne, @Builder.ObtainVia(field = "foo") T baz, com.google.common.collect.ImmutableList<T> bars) { + public ConstructorWithToBuilderWithSetterPrefix(String mOne, @Builder.ObtainVia(field = "foo") T baz, com.google.common.collect.ImmutableList<T> bars) { } } |