Package avail.descriptor.pojos

Types

Link copied to clipboard
class PojoDescriptor : Descriptor

A PojoDescriptor describes a plain-old Java object (pojo) that is accessible to an Avail programmer as an AvailObject. An Avail pojo comprises a raw pojo and a pojo type that describes the pojo contextually.

Link copied to clipboard
class PojoFieldDescriptor : Descriptor

A PojoFieldDescriptor is an Avail variable that facilitates access to the instance Java field of a particular pojo or the static field of a particular pojo type. It supports the same protocol as any other variable, but reads and writes are of the pojo's field.

Link copied to clipboard
class PojoFinalFieldDescriptor(val mutability: Mutability) : Descriptor

A PojoFinalFieldDescriptor is an Avail variable that facilitates access to the instance Java Field of a particular pojo or the static field of a particular pojo type. It supports the same protocol as any other variable, but reads and writes are of the pojo's field.

Link copied to clipboard
open class RawPojoDescriptor : Descriptor

A RawPojoDescriptor is a thin veneer over a plain-old Java object (pojo). Avail programs will use typed pojos universally, but the implementation mechanisms frequently require raw pojos (especially for defining pojo types).