Packageorg.spicefactory.lib.reflect
Classpublic class FunctionBase
InheritanceFunctionBase Inheritance Member Inheritance MetadataAware
SubclassesConstructor, Method

Abstract base class for Function types (Methods and Constructors).



Public Properties
 PropertyDefined by
 Inheritedname : String
The name of this member.
Member
 Inheritedowner : ClassInfo
The owner of this member.
Member
  parameters : Array
[read-only] The parameter types of the function represented by this instance.
FunctionBase
Public Methods
 MethodDefined by
 Inherited
Returns all metadata tags for this type in no particular order.
MetadataAware
 Inherited
getMetadata(type:Object):Array
Returns all metadata tags for the specified type for this element.
MetadataAware
  
parametersFromXml(xml:XML, owner:ClassInfo):Array
[static]
FunctionBase
Protected Methods
 MethodDefined by
  
convertParameters(params:Array):void
Converts the specified parameters to the types expected for this function if necessary.
FunctionBase
Property detail
parametersproperty
parameters:Array  [read-only]

The parameter types of the function represented by this instance. Each element in the returned Array is an instance of the Parameter class.

Implementation
    public function get parameters():Array
Method detail
convertParameters()method
protected function convertParameters(params:Array):void

Converts the specified parameters to the types expected for this function if necessary.

Parameters
params:Array — the parameters to convert

Throws
— if the specified number of parameters is invalid for this function
 
— if the conversion for one of parameters fails
parametersFromXml()method 
public static function parametersFromXml(xml:XML, owner:ClassInfo):ArrayParameters
xml:XML
 
owner:ClassInfo

Returns
Array