Default Handler
Defines a handler for parsing a string value into an object of a specific type.
Implementations of this interface are responsible for converting a raw string value (typically from a @Default annotation) into the desired target type.
Example:
DefaultHandlers.register(MyType::class.java) { raw, _ -> MyType.parse(raw) }Content copied to clipboard
See also
to register custom handlers