aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/BuilderComplex.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-ecj/BuilderComplex.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-ecj/BuilderComplex.java')
-rw-r--r--test/transform/resource/after-ecj/BuilderComplex.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/transform/resource/after-ecj/BuilderComplex.java b/test/transform/resource/after-ecj/BuilderComplex.java
index 23dbf058..b8265415 100644
--- a/test/transform/resource/after-ecj/BuilderComplex.java
+++ b/test/transform/resource/after-ecj/BuilderComplex.java
@@ -9,19 +9,19 @@ class BuilderComplex {
@java.lang.SuppressWarnings("all") TestVoidName() {
super();
}
- public @java.lang.SuppressWarnings("all") TestVoidName<T> number(final T number) {
+ public @java.lang.SuppressWarnings("all") BuilderComplex.TestVoidName<T> number(final T number) {
this.number = number;
return this;
}
- public @java.lang.SuppressWarnings("all") TestVoidName<T> arg2(final int arg2) {
+ public @java.lang.SuppressWarnings("all") BuilderComplex.TestVoidName<T> arg2(final int arg2) {
this.arg2 = arg2;
return this;
}
- public @java.lang.SuppressWarnings("all") TestVoidName<T> arg3(final String arg3) {
+ public @java.lang.SuppressWarnings("all") BuilderComplex.TestVoidName<T> arg3(final String arg3) {
this.arg3 = arg3;
return this;
}
- public @java.lang.SuppressWarnings("all") TestVoidName<T> selfRef(final BuilderComplex selfRef) {
+ public @java.lang.SuppressWarnings("all") BuilderComplex.TestVoidName<T> selfRef(final BuilderComplex selfRef) {
this.selfRef = selfRef;
return this;
}
@@ -37,7 +37,7 @@ class BuilderComplex {
}
private static @Builder(buildMethodName = "execute") <T extends Number>void testVoidWithGenerics(T number, int arg2, String arg3, BuilderComplex selfRef) {
}
- public static @java.lang.SuppressWarnings("all") <T extends Number>TestVoidName<T> builder() {
- return new TestVoidName<T>();
+ public static @java.lang.SuppressWarnings("all") <T extends Number>BuilderComplex.TestVoidName<T> builder() {
+ return new BuilderComplex.TestVoidName<T>();
}
}