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

getType

open static fun getType(typeDescriptor: String): Type

Returns the Java type corresponding to the given type descriptor.

Parameters

typeDescriptor - a field or method type descriptor.

Return
the Java type corresponding to the given type descriptor.

open static fun getType(c: Class<*>): Type

Returns the Java type corresponding to the given class.

Parameters

c - a class.

Return
the Java type corresponding to the given class.

open static fun getType(c: Constructor<*>): Type

Returns the Java method type corresponding to the given constructor.

Parameters

c - a Constructor object.

Return
the Java method type corresponding to the given constructor.

open static fun getType(m: Method): Type

Returns the Java method type corresponding to the given method.

Parameters

m - a Method object.

Return
the Java method type corresponding to the given method.