aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac
diff options
context:
space:
mode:
authorJan Rieke <rieke@subshell.com>2018-10-12 15:26:25 +0200
committerJan Rieke <rieke@subshell.com>2018-10-12 17:38:09 +0200
commit80b5f8d41de3be9f93f49a3d5c2611405b2b1a6f (patch)
tree13234b314eae47ace4e089f2e6aca9ddcf255262 /src/core/lombok/javac
parentd6057f8eb7d38994dc94645c55979f0f8a2233fa (diff)
downloadlombok-80b5f8d41de3be9f93f49a3d5c2611405b2b1a6f.tar.gz
lombok-80b5f8d41de3be9f93f49a3d5c2611405b2b1a6f.tar.bz2
lombok-80b5f8d41de3be9f93f49a3d5c2611405b2b1a6f.zip
fixed another missing type arg issue
Diffstat (limited to 'src/core/lombok/javac')
-rw-r--r--src/core/lombok/javac/handlers/HandleBuilder.java2
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 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<Builder> {
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.<JCExpression>nil(), c, List.<JCExpression>of(maker.Ident(type.toName("this"))));
+ tgt[i] = maker.Apply(typeParameterNames(maker, typeParams), c, List.<JCExpression>of(maker.Ident(type.toName("this"))));
}
} else {
for (int i = 0; i < tgt.length; i++) {