Companion
object Companion
Functions
Link copied to clipboard
inline fun <O : Enum<O>> create(noinline setup: OptionProcessorFactory<O>.() -> Unit): OptionProcessor<O>
Link copied to clipboard
fun <O : Enum<O>> privateCreate(optionKeyType: Class<O>, setup: OptionProcessorFactory<O>.() -> Unit): OptionProcessor<O>
A helper factory function. Unfortunately, Kotlin's visibility rules (effectively inherited from the JVM) for things accessed from inline function bodies prevents this from being hidden entirely.