Package | sekati.reflect |
Class | public class MethodReflector |
Property | Defined by | ||
---|---|---|---|
callable : Boolean [read-only]
Indicates if the MethodInfo describes a method, not a property or variable
| MethodReflector | ||
description : XML [read-only]
XML describing the property, variable or method
| MethodReflector | ||
name : String [read-only]
Name of the property, variable or method
| MethodReflector | ||
parameters : Array [read-only]
Method parameters as an ordered Array of Class
| MethodReflector | ||
readable : Boolean [read-only]
Indicates if the MethodInfo describes a property or variable and is it readable
| MethodReflector | ||
requiredParameters : Array [read-only]
Method required parameters as an ordered Array of Class
| MethodReflector | ||
returnType : Class [read-only]
Returns the Class of the this method's return type, or null if function returns void.
| MethodReflector | ||
writable : Boolean [read-only]
Indicates if the MethodInfo describes a property or variable and is it writable
| MethodReflector |
Method | Defined by | ||
---|---|---|---|
MethodReflector(classReflection:ClassReflector, methodDescription:XML)
MethodReflector Constructor
| MethodReflector | ||
invoke(instance:Object, ... args):void
Calls this method on an instance, as appropriate for a method or property
| MethodReflector | ||
toString():String
| MethodReflector |
callable | property |
callable:Boolean
[read-only]Indicates if the MethodInfo describes a method, not a property or variable
Implementation public function get callable():Boolean
description | property |
description:XML
[read-only]XML describing the property, variable or method
Implementation public function get description():XML
name | property |
name:String
[read-only]Name of the property, variable or method
Implementation public function get name():String
parameters | property |
parameters:Array
[read-only]Method parameters as an ordered Array of Class
Implementation public function get parameters():Array
readable | property |
readable:Boolean
[read-only]Indicates if the MethodInfo describes a property or variable and is it readable
Implementation public function get readable():Boolean
requiredParameters | property |
requiredParameters:Array
[read-only]Method required parameters as an ordered Array of Class
Implementation public function get requiredParameters():Array
returnType | property |
returnType:Class
[read-only]Returns the Class of the this method's return type, or null if function returns void.
Implementation public function get returnType():Class
writable | property |
writable:Boolean
[read-only]Indicates if the MethodInfo describes a property or variable and is it writable
Implementation public function get writable():Boolean
MethodReflector | () | constructor |
public function MethodReflector(classReflection:ClassReflector, methodDescription:XML)
MethodReflector Constructor
ParametersclassReflection:ClassReflector |
|
methodDescription:XML |
invoke | () | method |
public function invoke(instance:Object, ... args):void
Calls this method on an instance, as appropriate for a method or property
Parametersinstance:Object |
|
... args |
toString | () | method |
public function toString():String
Returns
String |