NamedParametersConstructor

class NamedParametersConstructor(type: String, val parametersMap: Map<*, *> = emptyMap<Any?, Any?>()) : JVMConstructor

A JVMConstructor whose parameters are named and hence stored in a parametersMap (no pure Java class works with named parameters now, Kotlin-only).

Constructors

Link copied to clipboard
constructor(type: String, parametersMap: Map<*, *> = emptyMap<Any?, Any?>())

Properties

Link copied to clipboard
val parametersMap: Map<*, *>
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.

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