diff options
author | abrinkman94 <abrinkman94@gmail.com> | 2019-09-12 12:32:39 -0500 |
---|---|---|
committer | abrinkman94 <abrinkman94@gmail.com> | 2019-09-12 12:32:39 -0500 |
commit | 288ee7be5c98eea9ca60143dde41a50f4a304dca (patch) | |
tree | d51c44136f411dbbb6a12f90237eb68cf3ffc38f /test/transform/resource/before/BuilderWithToBuilderWithSetterPrefix.java | |
parent | 8b30eee6042c40ad0c815f5c67c86c9bf15f0dbb (diff) | |
parent | f222050d13364565692cd585ff5d9a055498c52e (diff) | |
download | lombok-288ee7be5c98eea9ca60143dde41a50f4a304dca.tar.gz lombok-288ee7be5c98eea9ca60143dde41a50f4a304dca.tar.bz2 lombok-288ee7be5c98eea9ca60143dde41a50f4a304dca.zip |
Merge branch 'feature/builder-setter-prefixes' of https://github.com/floralvikings/lombok into feature/builder-setter-prefixes
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) { } } |