diff options
author | Jan Rieke <rieke@subshell.com> | 2018-10-12 19:47:40 +0200 |
---|---|---|
committer | Jan Rieke <rieke@subshell.com> | 2018-10-12 19:47:40 +0200 |
commit | e9d098a16c6b07fb39905ce154f810255a0dfc8f (patch) | |
tree | 11deb46c98105682d0a6ae3530313d0b9fc671c1 /src/core/lombok | |
parent | 80b5f8d41de3be9f93f49a3d5c2611405b2b1a6f (diff) | |
download | lombok-e9d098a16c6b07fb39905ce154f810255a0dfc8f.tar.gz lombok-e9d098a16c6b07fb39905ce154f810255a0dfc8f.tar.bz2 lombok-e9d098a16c6b07fb39905ce154f810255a0dfc8f.zip |
fixed toBuilder on Singular fields with wildcards (ecj)
Diffstat (limited to 'src/core/lombok')
-rw-r--r-- | src/core/lombok/eclipse/handlers/HandleBuilder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandleBuilder.java b/src/core/lombok/eclipse/handlers/HandleBuilder.java index 5fb98800..86c1da42 100644 --- a/src/core/lombok/eclipse/handlers/HandleBuilder.java +++ b/src/core/lombok/eclipse/handlers/HandleBuilder.java @@ -559,7 +559,7 @@ public class HandleBuilder extends EclipseAnnotationHandler<Builder> { MessageSend emptyList = new MessageSend(); emptyList.receiver = generateQualifiedNameRef(source, TypeConstants.JAVA, TypeConstants.UTIL, "Collections".toCharArray()); emptyList.selector = EMPTY_LIST; - emptyList.typeArguments = copyTypes(bfd.singularData.getTypeArgs().toArray(new TypeReference[0])); + emptyList.typeArguments = bfd.singularData.getSingularizer().createTypeArgs(bfd.singularData.getTypeArgs().size(), false, type, bfd.singularData.getTypeArgs()); ms.arguments = new Expression[] {new ConditionalExpression(ifNull, emptyList, tgt[1])}; } ms.receiver = receiver; |