spring-framework / org.springframework.asm / Type / getMethodDescriptor

getMethodDescriptor

open static fun getMethodDescriptor(returnType: Type, vararg argumentTypes: Type): String

Returns the descriptor corresponding to the given argument and return types.

Parameters

returnType - the return type of the method.

argumentTypes - the argument types of the method.

Return
the descriptor corresponding to the given argument and return types.

open static fun getMethodDescriptor(m: Method): String

Returns the descriptor corresponding to the given method.

Parameters

m - a Method object.

Return
the descriptor of the given method.