Packageorg.as3commons.reflect
Classpublic class Variable
InheritanceVariable Inheritance Field Inheritance AbstractMember Inheritance MetaDataContainer

A property defined with the var keyword.



Public Properties
 PropertyDefined by
 InheriteddeclaringType : Type
AbstractMember
 InheritedisStatic : Boolean
AbstractMember
 InheritedmetaData : Array
Returns an array of all metadata objects in this container.
MetaDataContainer
 Inheritedname : String
AbstractMember
 InheritednamespaceURI : String
AbstractMember
 Inheritedtype : Type
AbstractMember
Public Methods
 MethodDefined by
  
Variable(name:String, type:String, declaringType:String, isStatic:Boolean)
Creates a new Variable object.
Variable
 Inherited
addMetaData(metaData:MetaData):void
Adds a MetaData object to this container.
MetaDataContainer
 Inherited
getMetaData(key:String):Array
Returns the array of MetaData object that corresponds to the given key.
MetaDataContainer
 Inherited
getValue(target:* = null):*
Returns the value of the field.
Field
 Inherited
hasMetaData(key:String):Boolean
Returns whether this object has meta data for the given key.
MetaDataContainer
Constructor detail
Variable()constructor
public function Variable(name:String, type:String, declaringType:String, isStatic:Boolean)

Creates a new Variable object.

Parameters
name:String — the name of the variable
 
type:String — the data type of the variable
 
declaringType:String — the type that declares the variable
 
isStatic:Boolean — whether or not this member is static (class member)