OrderedParametersConstructor

class OrderedParametersConstructor(type: String, parameters: List<*>) : JVMConstructor

A JVMConstructor whose parameters are an ordered list (common case for any JVM language).

Constructors

Link copied to clipboard
fun OrderedParametersConstructor(type: String, parameters: List<*> = emptyList<Any?>())

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.

Link copied to clipboard
open override fun <T : Any> parametersFor(target: KClass<T>, factory: Factory): List<*>

provided a target class, extracts the parameters as an ordered list.

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val typeName: String