Interface TypeUtil
access this type via: util.TypeUtil (provides, requires or uses)
Basic utilities for querying type fields.
Constants
TypeField NOT_FOUND
Functions
TypeField getField(Data d, char fieldName[])
TypeField getObjectField(Object o, char fieldName[])
TypeField getObjectEvent(Object o, char fieldName[])
TypeField getObjectFunction(Object o, char fieldName[], Type signature)
Constants
NOT_FOUND
TypeField getField(Data d, char fieldName[])
Get the index of a named field on a data instance, or NOT_FOUND if there is no such field.
TypeField getObjectField(Object o, char fieldName[])
Get the index of a named transfer field on an object, or NOT_FOUND if there is no such field.
TypeField getObjectEvent(Object o, char fieldName[])
Get the index of a named event source on an object, or NOT_FOUND if there is no such event.
TypeField getObjectFunction(Object o, char fieldName[], Type signature)
Get the index of a named function, with parameter types, on an object - or NOT_FOUND if there is no such function.