Type Methods

The methods defined in the Type class are summarized in the following table.

Method Description
allMethods Populates a method set with all methods of the receiver
findConstant Returns the specified constant from the current schema
findConstantInSuperschema Returns the specified constant from the superschema
findProperty Returns the specified property
getConstant Returns the constant with the specified name from the receiver class
getConstants Populates the ConstantNDict class specified in the dict parameter with all constants on the receiver class
getConstantsInSchema Adds the constants in the specified schema to the specified dictionary
getMethod Returns the method with the specified name from the receiver class
getMethods Adds the methods to the specified dictionary
getName Returns a string containing the name of the class or primitive type
getProperty Returns the property with the specified name
inheritsFrom Returns true if the class inherits methods and properties from the specified class
instancesExist Returns true if instances exist of the class or its subclasses
invokeIOTypeMethod Sends the specified target type method containing a variable list of parameters to the receiver type instance, after switching to the specified target context execution context
invokeTypeMethod Sends the specified target type method containing a variable list of parameters to the receiver type instance, after switching to the specified target context execution context
sendTypeMsg Sends the specified message (a valid type method) to the receiver type instance
sendTypeMsgWithIOParams Sends the specified message (a valid type method) to the receiver type instance
sendTypeMsgWithParams Sends the specified message (a valid type method) to the receiver type instance