diff options
Diffstat (limited to 'test/transform/resource/before/BuilderWithToBuilderWithSetterPrefix.java')
-rw-r--r-- | test/transform/resource/before/BuilderWithToBuilderWithSetterPrefix.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/transform/resource/before/BuilderWithToBuilderWithSetterPrefix.java b/test/transform/resource/before/BuilderWithToBuilderWithSetterPrefix.java index 8be20f58..b33211e9 100644 --- a/test/transform/resource/before/BuilderWithToBuilderWithSetterPrefix.java +++ b/test/transform/resource/before/BuilderWithToBuilderWithSetterPrefix.java @@ -1,7 +1,7 @@ import java.util.List; import lombok.Builder; @Builder(toBuilder = true, setterPrefix = "with") @lombok.experimental.Accessors(prefix = "m") -class BuilderWithToBuilder<T> { +class BuilderWithToBuilderWithSetterPrefix<T> { private String mOne, mTwo; @Builder.ObtainVia(method = "rrr", isStatic = true) private T foo; @lombok.Singular private List<T> bars; @@ -10,11 +10,11 @@ class BuilderWithToBuilder<T> { } } @lombok.experimental.Accessors(prefix = "m") -class ConstructorWithToBuilder<T> { +class ConstructorWithToBuilderWithSetterPrefix<T> { private String mOne, mTwo; private T foo; @lombok.Singular private com.google.common.collect.ImmutableList<T> bars; - @Builder(toBuilder = true) + @Builder(toBuilder = true, setterPrefix = "with") public ConstructorWithToBuilder(String mOne, @Builder.ObtainVia(field = "foo") T baz, com.google.common.collect.ImmutableList<T> bars) { } } |