Provides information about a single method of a class or interface.
declaringType:Type [read-only]
Implementation
public function get declaringType():Type
fullName:String [read-only]Implementation
public function get fullName():String
isStatic:Boolean [read-only]Implementation
public function get isStatic():Boolean
name:String [read-only]Implementation
public function get name():String
parameters:Array [read-only]Implementation
public function get parameters():Array
returnType:Type [read-only]
Implementation
public function get returnType():Type
public function Method(declaringType:Type, name:String, isStatic:Boolean, parameters:Array, returnType:*)
Creates a new Method instance.
Parameters
| declaringType:Type |
| |
| name:String |
| |
| isStatic:Boolean |
| |
| parameters:Array |
| |
| returnType:* |
public function invoke(target:*, args:Array):*
Invokes (calls) the method represented by this Method
instance of the given target object with the passed in
arguments.
Parameters
| target:* — the object on which to invoke the method
|
| |
| args:Array — the arguments that will be passed along the method call
|
Returns
| * — the result of the method invocation, if any
|
public function toString():String
Returns
Prana Framework 0.5 - 2008