aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/BuilderWithTolerateWithSetterPrefix.java
diff options
context:
space:
mode:
authorabrinkman94 <abrinkman94@gmail.com>2019-09-12 12:32:39 -0500
committerabrinkman94 <abrinkman94@gmail.com>2019-09-12 12:32:39 -0500
commit288ee7be5c98eea9ca60143dde41a50f4a304dca (patch)
treed51c44136f411dbbb6a12f90237eb68cf3ffc38f /test/transform/resource/before/BuilderWithTolerateWithSetterPrefix.java
parent8b30eee6042c40ad0c815f5c67c86c9bf15f0dbb (diff)
parentf222050d13364565692cd585ff5d9a055498c52e (diff)
downloadlombok-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.java8
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));
}
}