Package | com.ericfeminella.utils.introspection |
Class | public class Introspection |
Implements | IIntrospection |
Method | Defined by | ||
---|---|---|---|
Introspection(type:*)
Instantiates a new Introspection instance to perform
object introspection on a specifed type
| Introspection | ||
getAccessors():ArrayCollection
Returns an ArrayCollection of objects containing accessor name
and type information
| Introspection | ||
getClassName():String
Returns the class name of the introspected object
| Introspection | ||
getDefinedMethodNames():Array
Returns an Array which contains all method names defined by the
introspecting class
| Introspection | ||
getFullyQualifiedClassName():String
Returns the fully qualified class name of the introspected object
| Introspection | ||
getFullyQualifiedSuperclassName():String
Returns the fully qualified superclass name of the introspected object
| Introspection | ||
getImplementedInterfaces():Array
Returns the interfaces that the introspected class / superclass implements
| Introspection | ||
getInheritedMethodNames():Array
Returns an Array which contains all inherited method names for the
introspecting class
| Introspection | ||
getInheritedMethods():ArrayCollection
Returns an ArrayCollection of Inherited Method objects containing a name
property, which contains the name of the method, and a type property
which contains the return type of the method
| Introspection | ||
getMethodNames():Array
Returns an Array which contains all method names for the
introspecting class
| Introspection | ||
getMethods():ArrayCollection
Returns an ArrayCollection Method objects containing a name
property, which contains the name of the method, and a type
property which contains the return type of the method
| Introspection | ||
getMethodSignature(methodName:String):MethodSignature
Returns a MethodSignature Object which contains properies
of an AS3 MethodSignature
| Introspection | ||
getPackageName():String
Returns the name of the package for the introspected object
| Introspection | ||
getProperties():ArrayCollection
Returns an ArrayCollection of Property objects which contain a name
property, and a type property
| Introspection | ||
getSuperclassName():String
Returns the superclass name of the introspected object
| Introspection | ||
getSuperclassPackageName():String
Returns the name of the package for the introspected superclass of the
introspecting object
| Introspection | ||
info():XML
Returns an E4X XML Object containing introspection information
| Introspection | ||
toString():String
Returns an XML String containing introspection information
| Introspection |
classInfo | property |
protected var classInfo:XML
type | property |
protected var type:*
Introspection | () | constructor |
public function Introspection(type:*)
Instantiates a new Introspection instance to perform object introspection on a specifed type
Parameterstype:* — type in which introspection is to be performed on
|
getAccessors | () | method |
public function getAccessors():ArrayCollection
Returns an ArrayCollection of objects containing accessor name and type information
ReturnsArrayCollection — An ArrayCollection containing information of all class accessors
|
getClassName | () | method |
public function getClassName():String
Returns the class name of the introspected object
ReturnsString |
getDefinedMethodNames | () | method |
public function getDefinedMethodNames():Array
Returns an Array which contains all method names defined by the introspecting class
ReturnsArray — An Array of method names
|
getFullyQualifiedClassName | () | method |
public function getFullyQualifiedClassName():String
Returns the fully qualified class name of the introspected object
ReturnsString |
getFullyQualifiedSuperclassName | () | method |
public function getFullyQualifiedSuperclassName():String
Returns the fully qualified superclass name of the introspected object
ReturnsString |
getImplementedInterfaces | () | method |
public function getImplementedInterfaces():Array
Returns the interfaces that the introspected class / superclass implements
ReturnsArray |
getInheritedMethodNames | () | method |
public function getInheritedMethodNames():Array
Returns an Array which contains all inherited method names for the introspecting class
ReturnsArray — An Array of inherited method names
|
getInheritedMethods | () | method |
public function getInheritedMethods():ArrayCollection
Returns an ArrayCollection of Inherited Method objects containing a name property, which contains the name of the method, and a type property which contains the return type of the method
ReturnsArrayCollection — An ArrayCollection containing information of all class methods
|
See also
getMethodNames | () | method |
public function getMethodNames():Array
Returns an Array which contains all method names for the introspecting class
ReturnsArray — An Array of method names
|
getMethods | () | method |
public function getMethods():ArrayCollection
Returns an ArrayCollection Method objects containing a name property, which contains the name of the method, and a type property which contains the return type of the method
ReturnsArrayCollection — An ArrayCollection of Method objects
|
See also
getMethodSignature | () | method |
public function getMethodSignature(methodName:String):MethodSignature
Returns a MethodSignature Object which contains properies of an AS3 MethodSignature
ParametersmethodName:String |
MethodSignature —
A MethodSignature object containing method information
|
See also
getPackageName | () | method |
public function getPackageName():String
Returns the name of the package for the introspected object
ReturnsString |
getProperties | () | method |
public function getProperties():ArrayCollection
Returns an ArrayCollection of Property objects which contain a name property, and a type property
ReturnsArrayCollection — An ArrayCollection containing information of all class properties
|
See also
getSuperclassName | () | method |
public function getSuperclassName():String
Returns the superclass name of the introspected object
ReturnsString |
getSuperclassPackageName | () | method |
public function getSuperclassPackageName():String
Returns the name of the package for the introspected superclass of the introspecting object
ReturnsString |
info | () | method |
public function info():XML
Returns an E4X XML Object containing introspection information
ReturnsXML |
toString | () | method |
public function toString():String
Returns an XML String containing introspection information
ReturnsString |