JVMConstructor

sealed class JVMConstructor

A constructor for a JVM class of type typeName.

Inheritors

Properties

Link copied to clipboard

Functions

Link copied to clipboard
inline fun <T : Any> buildAny(factory: <Error class: unknown class>): <Error class: unknown class><T>

Provided a JIRF factory, builds an instance of the requested type T or fails gracefully, returning a Result.

fun <T : Any> buildAny(type: Class<out T>, factory: <Error class: unknown class>): <Error class: unknown class><T>

Provided a JIRF factory, builds an instance of the requested type T or fails gracefully, returning a Result.