abstract fun withNullRepresentation(representation: String): IDownCastBuilder<T, TSub>
Use this method if you want to use your own null
representation in error reporting
(default is RawString.NULL).
representation
- The representation for null
.
Return
This builder to support a fluent-style API.
abstract fun withNullRepresentation(translatableRepresentation: ITranslatable): IDownCastBuilder<T, TSub>
Use this method if you want to use your own null
representation in error reporting
(default is RawString.NULL).
translatableRepresentation
- A translatable representation for null
.
Return
This builder to support a fluent-style API.