diff options
author | Caleb Brinkman <cbrinkman@sonatype.com> | 2019-09-12 12:02:04 -0500 |
---|---|---|
committer | Caleb Brinkman <cbrinkman@sonatype.com> | 2019-09-12 12:02:04 -0500 |
commit | f222050d13364565692cd585ff5d9a055498c52e (patch) | |
tree | 24b6bbc9747952c619a621e42c3f48c4c83c029f /test/transform/resource/before/BuilderWithToBuilderWithSetterPrefix.java | |
parent | 5b16b48bbffdd579b26e2a7dc18684efdc32e219 (diff) | |
download | lombok-f222050d13364565692cd585ff5d9a055498c52e.tar.gz lombok-f222050d13364565692cd585ff5d9a055498c52e.tar.bz2 lombok-f222050d13364565692cd585ff5d9a055498c52e.zip |
Fix class names in before
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) { } } |