spring-framework / org.springframework.asm / TypeReference / newTypeParameterBoundReference

newTypeParameterBoundReference

open static fun newTypeParameterBoundReference(sort: Int, paramIndex: Int, boundIndex: Int): TypeReference

Returns a reference to a type parameter bound of a generic class or method.

Parameters

sort - CLASS_TYPE_PARAMETER or METHOD_TYPE_PARAMETER.

paramIndex - the type parameter index.

boundIndex - the type bound index within the above type parameters.

Return
a reference to the given generic class or method type parameter bound.