o_JavaObject

abstract fun <T : Any> o_JavaObject(self: AvailObject): T?

Answer a pojo's java object. The type is not statically checkable in Java, but at least making it generic avoids an explicit cast expression at each call site.

Return

The actual Java object, which may be {code null}.

Parameters

self

The Avail pojo object.

T

The type of Java Object to return.

See also