Companion

object Companion

Functions

Link copied to clipboard
fun constructorMethod(receiverClass: Class<*>, vararg argumentTypes: Class<*>): CheckedConstructor

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

Link copied to clipboard
fun javaLibraryConstructorMethod(receiverClass: Class<*>, vararg argumentTypes: Class<*>): CheckedConstructor

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