Packageorg.as3commons.reflect
Classpublic class Constructor

Provides information about a class constructor.



Public Properties
 PropertyDefined by
  declaringType : Type
[read-only] Returns the declaring type of this Constructor.
Constructor
  parameters : Array
[read-only] Returns the parameters of this Constructor.
Constructor
Public Methods
 MethodDefined by
  
Constructor(declaringType:Type, parameters:Array = null)
Creates a new Constructor object.
Constructor
  
hasNoArguments():Boolean
Constructor
Property detail
declaringTypeproperty
declaringType:Type  [read-only]

Returns the declaring type of this Constructor.

Implementation
    public function get declaringType():Type
parametersproperty 
parameters:Array  [read-only]

Returns the parameters of this Constructor.

Implementation
    public function get parameters():Array
Constructor detail
Constructor()constructor
public function Constructor(declaringType:Type, parameters:Array = null)

Creates a new Constructor object.

Parameters
declaringType:Type — The Type declaring the constrcutor.
 
parameters:Array (default = null) — an Array of Parameter objects being the parameters of the constructor.
Method detail
hasNoArguments()method
public function hasNoArguments():Boolean

Returns
Booleantrue if the constructor has no arguments, false otherwise.