Determine the type class of a type. This is useful for generic CAS exploiters to determine what kind of data they're looking at. The type classes currently defined are:
TYPE_CLASS_INVALID
-- Not a valid type code. TYPE_CLASS_INT
-- Integer type. TYPE_CLASS_FLOAT
-- Float type. TYPE_CLASS_STRING
-- String type. TYPE_CLASS_BOOLEAN
-- Boolean type. TYPE_CLASS_BYTE
-- Byte type. TYPE_CLASS_SHORT
-- Short type. TYPE_CLASS_LONG
-- Long type. TYPE_CLASS_DOUBLE
-- Double type. TYPE_CLASS_INTARRAY
-- Integer array. TYPE_CLASS_FLOATARRAY
-- Float array. TYPE_CLASS_STRINGARRAY
-- String array. TYPE_CLASS_BOOLEANARRAY
-- Boolean array. TYPE_CLASS_BYTEARRAY
-- Byte array. TYPE_CLASS_SHORTARRAY
-- Short array. TYPE_CLASS_LONGARRAY
-- Long array. TYPE_CLASS_DOUBLEARRAY
-- Double array. TYPE_CLASS_FSARRAY
-- FS array. TYPE_CLASS_FS
-- FS type, i.e., all other types, including all user-defined types.
This method is on the CAS, not the type system, since the specific properties of types are specific to the CAS. The type system does not know, for example, that the CAS treats arrays specially.
@param typeCode The type code.
@return A type class for the type code.
TYPE_CLASS_INVALID
if the type codeargument does not represent a valid type code.