Companion

object Companion

Functions

Link copied to clipboard

Answer the integer range type that corresponds to Java byte.

Link copied to clipboard
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).

Link copied to clipboard

Answer the integer range type that corresponds to Java char.

Link copied to clipboard

Given an LRUCacheKey, compute the corresponding pojo type.

Link copied to clipboard

Create a fused pojo type based on the given complete parameterization map. Each ancestor class and interface occurs as a key, with that class or interface's parameter tuple as the value.

Link copied to clipboard

Answer the integer range type that corresponds to Java int.

Link copied to clipboard

Answer the integer range type that corresponds to Java long.

Link copied to clipboard

Marshal the supplied A_Type, as though it will be used for Executable lookup, using a boxed Java class to represent a primitive Java type.

Link copied to clipboard
fun marshalTypes(types: A_Tuple): Array<Class<*>>

Marshal the supplied A_Tuple of A_Types.

Link copied to clipboard

Answer the most general pojo array type.

Link copied to clipboard

Answer the most general pojo type.

Link copied to clipboard
fun pojoArrayType(elementType: A_Type, sizeRange: A_Type): AvailObject

Create a pojo type that represents an array of the specified element type.

Link copied to clipboard

Answer a special instance type that represents the self type of a Java class or interface.

Link copied to clipboard

Answer a special atom whose instance type represents the self type of a Java class or interface.

Link copied to clipboard

Create a pojo type for the specified Java class.

Link copied to clipboard

Create a pojo type from the specified Java class and type arguments.

Link copied to clipboard
fun resolvePojoType(type: Type, typeVars: A_Map): A_Type

Resolve the specified type using the given type variables.

Link copied to clipboard

Create a pojo self type for the specified Java class.

Link copied to clipboard

Answer the integer range type that corresponds to Java short.

Link copied to clipboard
fun unmarshal(self: Any?, type: A_Type): AvailObject

Marshal the arbitrary Java object to its counterpart Avail object.