resultExpr = gen.make().TypeCast(gen.makeJavaType(
((TypeDeclaration)declaration).getType()), resultExpr);
}
} else {
ProducedType classType = (ProducedType)type.getTarget();
<BUG>resultExpr = gen.make().NewClass(null, null, gen.makeJavaType(classType, AbstractTransformer.JT_CLASS_NEW), argExprs, null);
}</BUG>
return resultExpr;
}
<BUG>protected List<JCExpression> transformArgumentList(TransformedInvocationPrimary transformedPrimary) {
</BUG>
gen.expressionGen().withinInvocation(false);

resultExpr = gen.make().TypeCast(gen.makeJavaType(
((TypeDeclaration)declaration).getType()), resultExpr);
}
} else {
ProducedType classType = (ProducedType)type.getTarget();
callBuilder.instantiate(gen.makeJavaType(classType, AbstractTransformer.JT_CLASS_NEW));
resultExpr = callBuilder.build();
}
return resultExpr;
}
protected void transformArgumentList(TransformedInvocationPrimary transformedPrimary) {
gen.expressionGen().withinInvocation(false);
