diff options
author | Rawi01 <Rawi01@users.noreply.github.com> | 2020-11-25 09:25:57 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2020-12-03 23:40:44 +0100 |
commit | 965f2367e0e57744c51b10ac341400b8ec57287a (patch) | |
tree | 576aefcf9b19488d9499c785e056a72907471221 /src/core/lombok/javac | |
parent | e1f82ac4d132769cfc272dccfc916aeba7181718 (diff) | |
download | lombok-965f2367e0e57744c51b10ac341400b8ec57287a.tar.gz lombok-965f2367e0e57744c51b10ac341400b8ec57287a.tar.bz2 lombok-965f2367e0e57744c51b10ac341400b8ec57287a.zip |
[fixes #2657] Use the correct field to query parent type parameters
Diffstat (limited to 'src/core/lombok/javac')
-rw-r--r-- | src/core/lombok/javac/handlers/HandleBuilder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/javac/handlers/HandleBuilder.java b/src/core/lombok/javac/handlers/HandleBuilder.java index 1c74ce37..40b59183 100644 --- a/src/core/lombok/javac/handlers/HandleBuilder.java +++ b/src/core/lombok/javac/handlers/HandleBuilder.java @@ -371,7 +371,7 @@ public class HandleBuilder extends JavacAnnotationHandler<Builder> { } List<JCTypeParameter> tpOnMethod = jmd.typarams; - List<JCTypeParameter> tpOnType = ((JCClassDecl) job.builderType.get()).typarams; + List<JCTypeParameter> tpOnType = ((JCClassDecl) job.parentType.get()).typarams; typeArgsForToBuilder = new ArrayList<Name>(); for (JCTypeParameter tp : tpOnMethod) { |