Reflection.Class (API)

Return type Method Parameters Description
string getName Returns the name of the reflected class as a string.
boolean hasParent Returns true if the reflected class has a parent.
Reflection.Class getParent Returns the reflector for the parent class.
boolean isAbstract Returns true if the reflected class is abstract.
boolean hasProperty (string) name Returns true if a property with the given name exists.
boolean hasMethod (string) name Returns true if a method with the given name exists.
Reflection.Method[] getMethods Returns an array of Reflection.Method of all methods in the reflected class.
Reflection.Property[] getProperties Returns an array of Reflection.Property of all properties in the reflected class.
Reflection.Method getMethod (string) name Returns an instance of Reflection.Method of the method by the given name.
Reflection.Property getProperty (string) name Returns an instance of Reflection.Property of the property by the given name.