Packagecom.ericfeminella.utils.introspection
Classpublic class Introspection
ImplementsIIntrospection

Performs Object introspection on a specified type



Protected Properties
 PropertyDefined by
  classInfo : XML
Introspection
  type : *
Introspection
Public Methods
 MethodDefined 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
  
Returns an Array which contains all method names defined by the introspecting class
Introspection
  
Returns the fully qualified class name of the introspected object
Introspection
  
Returns the fully qualified superclass name of the introspected object
Introspection
  
Returns the interfaces that the introspected class / superclass implements
Introspection
  
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
  
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
  
Returns the superclass name of the introspected object
Introspection
  
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
Property detail
classInfoproperty
protected var classInfo:XML
typeproperty 
protected var type:*
Constructor detail
Introspection()constructor
public function Introspection(type:*)

Instantiates a new Introspection instance to perform object introspection on a specifed type

Parameters
type:* — type in which introspection is to be performed on
Method detail
getAccessors()method
public function getAccessors():ArrayCollection

Returns an ArrayCollection of objects containing accessor name and type information

Returns
ArrayCollection — An ArrayCollection containing information of all class accessors
getClassName()method 
public function getClassName():String

Returns the class name of the introspected object

Returns
String
getDefinedMethodNames()method 
public function getDefinedMethodNames():Array

Returns an Array which contains all method names defined by the introspecting class

Returns
Array — An Array of method names
getFullyQualifiedClassName()method 
public function getFullyQualifiedClassName():String

Returns the fully qualified class name of the introspected object

Returns
String
getFullyQualifiedSuperclassName()method 
public function getFullyQualifiedSuperclassName():String

Returns the fully qualified superclass name of the introspected object

Returns
String
getImplementedInterfaces()method 
public function getImplementedInterfaces():Array

Returns the interfaces that the introspected class / superclass implements

Returns
Array
getInheritedMethodNames()method 
public function getInheritedMethodNames():Array

Returns an Array which contains all inherited method names for the introspecting class

Returns
Array — 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

Returns
ArrayCollection — 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

Returns
Array — 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

Returns
ArrayCollection — 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

Parameters
methodName:String

Returns
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

Returns
String
getProperties()method 
public function getProperties():ArrayCollection

Returns an ArrayCollection of Property objects which contain a name property, and a type property

Returns
ArrayCollection — An ArrayCollection containing information of all class properties

See also

getSuperclassName()method 
public function getSuperclassName():String

Returns the superclass name of the introspected object

Returns
String
getSuperclassPackageName()method 
public function getSuperclassPackageName():String

Returns the name of the package for the introspected superclass of the introspecting object

Returns
String
info()method 
public function info():XML

Returns an E4X XML Object containing introspection information

Returns
XML
toString()method 
public function toString():String

Returns an XML String containing introspection information

Returns
String