get

abstract operator fun <V : Any> get(paramType: ContextParamType<V, I>): V?

Returns the value of the given paramType or null if it is not present and could not be resolved through autofillers.


abstract operator fun <V : Any> get(paramType: DefaultingContextParamType<V, I>): V

Returns the value of the given paramType, falling back to the default value if the param type is not present and could not be resolved through autofillers.


abstract operator fun <V : Any> get(paramType: RequiredContextParamType<V, I>): V

Returns the value of the given paramType.

Throws