open static fun newTypeReference(sort: Int): TypeReference
Returns a type reference of the given sort.
sort
- FIELD
, METHOD_RETURN
, METHOD_RECEIVER
, LOCAL_VARIABLE
, RESOURCE_VARIABLE
, INSTANCEOF
, NEW
, CONSTRUCTOR_REFERENCE
, or METHOD_REFERENCE
.
Return
a type reference of the given sort.