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/BuilderWithTolerateWithSetterPrefix.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/BuilderWithTolerateWithSetterPrefix.java')
-rw-r--r-- | test/transform/resource/before/BuilderWithTolerateWithSetterPrefix.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/transform/resource/before/BuilderWithTolerateWithSetterPrefix.java b/test/transform/resource/before/BuilderWithTolerateWithSetterPrefix.java index 2f4db558..fa7c0298 100644 --- a/test/transform/resource/before/BuilderWithTolerateWithSetterPrefix.java +++ b/test/transform/resource/before/BuilderWithTolerateWithSetterPrefix.java @@ -2,16 +2,16 @@ import lombok.Builder; import lombok.experimental.Tolerate; @Builder(setterPrefix = "with") -public class BuilderWithTolerate { +public class BuilderWithTolerateWithSetterPrefix { private final int value; public static void main(String[] args) { - BuilderWithTolerate.builder().value("42").build(); + BuilderWithTolerateWithSetterPrefix.builder().withValue("42").build(); } - public static class BuilderWithTolerateBuilder { + public static class BuilderWithTolerateWithSetterPrefixBuilder { @Tolerate - public BuilderWithTolerateBuilder value(String s) { + public BuilderWithTolerateWithSetterPrefixBuilder withValue(String s) { return this.value(Integer.parseInt(s)); } } |