open static fun newTypeArgumentReference(sort: Int, argIndex: Int): TypeReference
Returns a reference to the type of a type argument in a constructor or method call or reference.
sort
- CAST
, CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT
, METHOD_INVOCATION_TYPE_ARGUMENT
, CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT
, or METHOD_REFERENCE_TYPE_ARGUMENT
.
argIndex
- the type argument index.
Return
a reference to the type of the given type argument.