Companion

object Companion

Functions

Link copied to clipboard
fun instanceMethod(    receiverClass: Class<*>,     methodName: String,     returnClass: Class<*>,     vararg argumentTypes: Class<*>): CheckedMethod

Create a CheckedMethod for invoking an instance method that has been annotated with ReferencedInGeneratedCode, failing if there is a problem.

Link copied to clipboard
fun javaLibraryInstanceMethod(    receiverClass: Class<*>,     methodName: String,     returnClass: Class<*>,     vararg argumentTypes: Class<*>): CheckedMethod

Create a CheckedMethod for invoking an instance method that cannot have a ReferencedInGeneratedCode annotation, failing if there is a problem.

Link copied to clipboard
fun javaLibraryStaticMethod(    receiverClass: Class<*>,     methodName: String,     returnClass: Class<*>,     vararg argumentTypes: Class<*>): CheckedMethod

Create a CheckedMethod for invoking a static method that cannot have a ReferencedInGeneratedCode annotation, failing if there is a problem.

Link copied to clipboard
fun staticMethod(    receiverClass: Class<*>,     methodName: String,     returnClass: Class<*>,     vararg argumentTypes: Class<*>): CheckedMethod

Create a CheckedMethod for invoking a static method that has been annotated with ReferencedInGeneratedCode, failing if there is a problem.