javaLibraryConstructorMethod

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.

Return

The CheckedMethod.

Parameters

receiverClass

The type of the receiver of the method.

argumentTypes

A vararg array of argument types.