gh-pages / com.nextfaze.devfun.invoke / java.lang.reflect.Method / receiverClassForInvocation

receiverClassForInvocation

inline val Method.receiverClassForInvocation: KClass<*>? (source)

Get the receiver class for this function definition if you intend to invoke it. That is, it will return null if the type isn’t needed.

See Also

Method.receiverClass

FunctionDefinition.receiverClassForInvocation

FunctionItem.receiverClassForInvocation