| Package | org.as3commons.reflect |
| Class | public class Variable |
| Inheritance | Variable Field AbstractMember MetaDataContainer |
var keyword.
| Method | Defined by | ||
|---|---|---|---|
|
Variable(name:String, type:String, declaringType:String, isStatic:Boolean)
Creates a new
Variable object. | Variable | ||
![]() |
addMetaData(metaData:MetaData):void
Adds a MetaData object to this container.
| MetaDataContainer | |
![]() |
getMetaData(key:String):Array
Returns the array of MetaData object that corresponds to the given key.
| MetaDataContainer | |
![]() |
getValue(target:* = null):*
Returns the value of the field.
| Field | |
![]() |
hasMetaData(key:String):Boolean
Returns whether this object has meta data for the given key.
| MetaDataContainer | |
| Variable | () | constructor |
public function Variable(name:String, type:String, declaringType:String, isStatic:Boolean)
Creates a new Variable object.
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)
|