canonicalPojoType

fun canonicalPojoType(probablePojoType: A_Type, allowMetas: Boolean): A_Type

Answer the canonical pojo type for the specified pojo type. This marshals certain pojo types to Avail types (e.g., java.lang.String -> string).

Return

The canonical Avail type for the given pojo type.

Parameters

probablePojoType

An arbitrary Avail type, but one that might be a pojo type.

allowMetas

true if metatypes are contextually possible outcomes, false if only nontype values are contextually possible outcomes.