Packageorg.pranaframework.reflection
Classpublic class Parameter

Provides information of a parameter passed to a method.



Public Properties
 PropertyDefined by
  index : int
[read-only]
Parameter
  isOptional : Boolean
[read-only]
Parameter
  type : Type
[read-only]
Parameter
Public Methods
 MethodDefined by
  
Parameter(index:int, type:Type, isOptional:Boolean = false)
Creates a new Parameter object.
Parameter
Property detail
indexproperty
index:int  [read-only]Implementation
    public function get index():int
isOptionalproperty 
isOptional:Boolean  [read-only]Implementation
    public function get isOptional():Boolean
typeproperty 
type:Type  [read-only]Implementation
    public function get type():Type
Constructor detail
Parameter()constructor
public function Parameter(index:int, type:Type, isOptional:Boolean = false)

Creates a new Parameter object.

Parameters
index:int — the index of the parameter
 
type:Type — the class type of the parameter
 
isOptional:Boolean (default = false) — whether the parameter is optional or not