From 80b5f8d41de3be9f93f49a3d5c2611405b2b1a6f Mon Sep 17 00:00:00 2001 From: Jan Rieke Date: Fri, 12 Oct 2018 15:26:25 +0200 Subject: fixed another missing type arg issue --- src/core/lombok/javac/handlers/HandleBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/lombok/javac') diff --git a/src/core/lombok/javac/handlers/HandleBuilder.java b/src/core/lombok/javac/handlers/HandleBuilder.java index 6dd98c6f..903844d2 100644 --- a/src/core/lombok/javac/handlers/HandleBuilder.java +++ b/src/core/lombok/javac/handlers/HandleBuilder.java @@ -506,7 +506,7 @@ public class HandleBuilder extends JavacAnnotationHandler { if (bfd.obtainVia.isStatic()) { for (int i = 0; i < tgt.length; i++) { JCExpression c = maker.Select(maker.Ident(type.toName(type.getName())), type.toName(bfd.obtainVia.method())); - tgt[i] = maker.Apply(List.nil(), c, List.of(maker.Ident(type.toName("this")))); + tgt[i] = maker.Apply(typeParameterNames(maker, typeParams), c, List.of(maker.Ident(type.toName("this")))); } } else { for (int i = 0; i < tgt.length; i++) { -- cgit