|
@@ -405,7 +405,7 @@ public class JavaExpressionVisitor implements ExpressionVisitor<Void>, JavaNativ
|
405
|
405
|
JavaMethod methodInfo = context.getJavaMethod(expression.member);
|
406
|
406
|
|
407
|
407
|
if(methodInfo.compile) {
|
408
|
|
- if(expression.member.getHeader().typeParameters.length == expression.arguments.typeArguments.length) {
|
|
408
|
+ if(typeParameters.size() == expression.arguments.typeArguments.length) {
|
409
|
409
|
final JavaTypeExpressionVisitor javaTypeExpressionVisitor = new JavaTypeExpressionVisitor(context);
|
410
|
410
|
for(StoredType typeArgument : expression.arguments.typeArguments) {
|
411
|
411
|
typeArgument.type.accept(javaWriter, javaTypeExpressionVisitor);
|