Packageorg.pranaframework.reflection
Classpublic class Constant
InheritanceConstant Inheritance Field Inheritance AbstractMember

A property defined with the const statement



Public Properties
 PropertyDefined by
 InheriteddeclaringType : Type
AbstractMember
 InheritedisStatic : Boolean
AbstractMember
 Inheritedname : String
AbstractMember
 Inheritedtype : Type
AbstractMember
Public Methods
 MethodDefined by
  
Constant(name:String, type:Type, declaringType:Type, isStatic:Boolean)
Creates a new Constant object.
Constant
 Inherited
getValue(target:* = null):*
Returns the value of the field.
Field
Constructor detail
Constant()constructor
public function Constant(name:String, type:Type, declaringType:Type, isStatic:Boolean)

Creates a new Constant object.

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