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: Factory): Result<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: Factory): Result<T>

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