createLiteralNothingAdapter

open fun createLiteralNothingAdapter(): Adapter

Creates a new adapter for an object of class 'Literal Nothing'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Return

the new adapter.

See also