aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Rieke <rieke@subshell.com>2018-09-24 09:32:07 +0200
committerJan Rieke <rieke@subshell.com>2018-09-24 09:32:07 +0200
commitfd4c9d4bff6e75b30a3ee247edafaabc6888a691 (patch)
tree188b749d4ba224c069c4cb4ad7d0920a520889e5 /src
parent279ceaa72795ea7b427ab37535892e3c5cbde958 (diff)
downloadlombok-fd4c9d4bff6e75b30a3ee247edafaabc6888a691.tar.gz
lombok-fd4c9d4bff6e75b30a3ee247edafaabc6888a691.tar.bz2
lombok-fd4c9d4bff6e75b30a3ee247edafaabc6888a691.zip
SuperBuilder toBuilder fix with no generics (ecj)
Diffstat (limited to 'src')
-rw-r--r--src/core/lombok/eclipse/handlers/HandleSuperBuilder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandleSuperBuilder.java b/src/core/lombok/eclipse/handlers/HandleSuperBuilder.java
index a2ea11c6..8f353cce 100644
--- a/src/core/lombok/eclipse/handlers/HandleSuperBuilder.java
+++ b/src/core/lombok/eclipse/handlers/HandleSuperBuilder.java
@@ -659,7 +659,7 @@ public class HandleSuperBuilder extends EclipseAnnotationHandler<SuperBuilder> {
TypeReference[] wildcards = new TypeReference[] {new Wildcard(Wildcard.UNBOUND), new Wildcard(Wildcard.UNBOUND)};
TypeReference builderType = new ParameterizedSingleTypeReference(builderClassName.toCharArray(), mergeToTypeReferences(typeParams, wildcards), 0, 0);
Argument builderArgument = new Argument(BUILDER_VARIABLE_NAME, 0, builderType, Modifier.FINAL);
- TypeReference parentArgument = new ParameterizedSingleTypeReference(tdParent.getName().toCharArray(), mergeToTypeReferences(typeParams, new TypeReference[0]), 0, 0);
+ TypeReference parentArgument = createTypeReferenceWithTypeParameters(tdParent.getName(), typeParams);
out.arguments = new Argument[] {new Argument(INSTANCE_VARIABLE_NAME, 0, parentArgument, Modifier.FINAL), builderArgument};
// Add type params if there are any.