aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/BuilderSimple.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/BuilderSimple.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/BuilderSimple.java')
-rw-r--r--test/transform/resource/after-delombok/BuilderSimple.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/transform/resource/after-delombok/BuilderSimple.java b/test/transform/resource/after-delombok/BuilderSimple.java
index 4cd20b23..2c031af0 100644
--- a/test/transform/resource/after-delombok/BuilderSimple.java
+++ b/test/transform/resource/after-delombok/BuilderSimple.java
@@ -19,12 +19,12 @@ class BuilderSimple<T> {
BuilderSimpleBuilder() {
}
@java.lang.SuppressWarnings("all")
- public BuilderSimpleBuilder<T> yes(final int yes) {
+ public BuilderSimple.BuilderSimpleBuilder<T> yes(final int yes) {
this.yes = yes;
return this;
}
@java.lang.SuppressWarnings("all")
- public BuilderSimpleBuilder<T> also(final List<T> also) {
+ public BuilderSimple.BuilderSimpleBuilder<T> also(final List<T> also) {
this.also = also;
return this;
}
@@ -39,7 +39,7 @@ class BuilderSimple<T> {
}
}
@java.lang.SuppressWarnings("all")
- protected static <T> BuilderSimpleBuilder<T> builder() {
- return new BuilderSimpleBuilder<T>();
+ protected static <T> BuilderSimple.BuilderSimpleBuilder<T> builder() {
+ return new BuilderSimple.BuilderSimpleBuilder<T>();
}
}