Vettings Cache
A VettingsCache is stored as a pojo in an object to cache tests of membership against object types. It consists of two 'positive' arrays of WeakObjectTypeReferences that the owning object was found to be an instance of, and two 'negative' arrays of WeakObjectTypeReferences that the owning object was found not to be an instance of.
Author
Mark van Gulik
Constructors
Types
Functions
Test if theObject, which is instantiation of ObjectDescriptor, is an instance of objectType, which is a Mutability.SHARED instantiation of ObjectTypeDescriptor. The receiver is theObject's vettings cache, and may be updated by this test.
Properties
One of the two negative caches. If the object that holds this VettingsCache has a particular object type in this slot (inside a WeakObjectTypeReference), the object is known not to be an instance of that object type.
One of the two negative caches. If the object that holds this VettingsCache has a particular object type in this slot (inside a WeakObjectTypeReference), the object is known not to be an instance of that object type.
One of the two positive caches. If the object that holds this VettingsCache has a particular object type in this slot (inside a WeakObjectTypeReference), the object is known to be an instance of that object type.
One of the two positive caches. If the object that holds this VettingsCache has a particular object type in this slot (inside a WeakObjectTypeReference), the object is known to be an instance of that object type.