for (JTypeVar typeArgument: factoryClass.typeParams())
staticInvoke.narrow(typeArgument);
for (JVar param: interfaceMethod.params()) {
AbstractJType argumentType = visitorInterface.substituteSpecialType(param.type(), usedValueClassType, usedValueClassType, types._RuntimeException);
JVar argument = factoryMethod.param(param.mods().getValue(), argumentType, param.name());
staticInvoke.arg(argument);
}
JVar param = interfaceMethod.listVarParam();
if (param != null) {
AbstractJType argumentType = visitorInterface.substituteSpecialType(param.type().elementType(), usedValueClassType, usedValueClassType, types._RuntimeException);
JVar argument = factoryMethod.varParam(param.mods().getValue(), argumentType, param.name());