aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/BuilderWithBadNames.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2019-12-19 21:26:35 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-01-06 05:19:37 +0100
commit889c935ec9f0e45bba1e88b0f256e1f29a734f39 (patch)
treebfa24b57a405115a491ba8bedc758dc66017698d /test/transform/resource/after-delombok/BuilderWithBadNames.java
parent0bb56192304905e2ae5bcee8ba6d72add950d381 (diff)
downloadlombok-889c935ec9f0e45bba1e88b0f256e1f29a734f39.tar.gz
lombok-889c935ec9f0e45bba1e88b0f256e1f29a734f39.tar.bz2
lombok-889c935ec9f0e45bba1e88b0f256e1f29a734f39.zip
[fixes #2268] make lombok generate qualified types in order to avoid name clashes.
Diffstat (limited to 'test/transform/resource/after-delombok/BuilderWithBadNames.java')
-rw-r--r--test/transform/resource/after-delombok/BuilderWithBadNames.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/transform/resource/after-delombok/BuilderWithBadNames.java b/test/transform/resource/after-delombok/BuilderWithBadNames.java
index f413be23..fee61299 100644
--- a/test/transform/resource/after-delombok/BuilderWithBadNames.java
+++ b/test/transform/resource/after-delombok/BuilderWithBadNames.java
@@ -16,12 +16,12 @@ public class BuilderWithBadNames {
BuilderWithBadNamesBuilder() {
}
@java.lang.SuppressWarnings("all")
- public BuilderWithBadNamesBuilder build(final String build) {
+ public BuilderWithBadNames.BuilderWithBadNamesBuilder build(final String build) {
this.build = build;
return this;
}
@java.lang.SuppressWarnings("all")
- public BuilderWithBadNamesBuilder toString(final String toString) {
+ public BuilderWithBadNames.BuilderWithBadNamesBuilder toString(final String toString) {
this.toString = toString;
return this;
}
@@ -36,7 +36,7 @@ public class BuilderWithBadNames {
}
}
@java.lang.SuppressWarnings("all")
- public static BuilderWithBadNamesBuilder builder() {
- return new BuilderWithBadNamesBuilder();
+ public static BuilderWithBadNames.BuilderWithBadNamesBuilder builder() {
+ return new BuilderWithBadNames.BuilderWithBadNamesBuilder();
}
}