diff options
author | Jan Rieke <rieke@subshell.com> | 2018-09-24 09:32:07 +0200 |
---|---|---|
committer | Jan Rieke <rieke@subshell.com> | 2018-09-24 09:32:07 +0200 |
commit | fd4c9d4bff6e75b30a3ee247edafaabc6888a691 (patch) | |
tree | 188b749d4ba224c069c4cb4ad7d0920a520889e5 /src/core/lombok/eclipse | |
parent | 279ceaa72795ea7b427ab37535892e3c5cbde958 (diff) | |
download | lombok-fd4c9d4bff6e75b30a3ee247edafaabc6888a691.tar.gz lombok-fd4c9d4bff6e75b30a3ee247edafaabc6888a691.tar.bz2 lombok-fd4c9d4bff6e75b30a3ee247edafaabc6888a691.zip |
SuperBuilder toBuilder fix with no generics (ecj)
Diffstat (limited to 'src/core/lombok/eclipse')
-rw-r--r-- | src/core/lombok/eclipse/handlers/HandleSuperBuilder.java | 2 |
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. |