Packageorg.granite.reflect
Classpublic class Parameterizable
InheritanceParameterizable Inheritance Member Inheritance DescribedElement
SubclassesConstructor, Method

Base class for the Method and Constructor classes.

See also

Method
Constructor


Public Properties
 PropertyDefined by
 Inheritedannotations : Array
An array that contains all annotations directly attached to this IAnnotatedElement.
Member
 InheriteddeclaredBy : Type
The Type instance this described element belongs to.
DescribedElement
 Inheritedname : String
The name of this Member.
Member
 Inheritedns : Namespace
The namespace of this Member.
Member
  parameters : Array
[read-only] An array that contains all the parameters of this Parameterizable instance.
Parameterizable
 InheritedpropertyKey : String
The String representation of this member (field or method qName, key of a dynamic property or dictionary, index of an array, etc.)
Member
 InheritedqName : QName
The qualified name of this Member.
Member
 Inheriteduri : String
The uri of the qualified name of this Member (members declared in namespaces) or "" if this member is public.
Member
Public Methods
 MethodDefined by
  
Parameterizable(declaredBy:Type, desc:XML)
Constructs a new Parameterizable instance.
Parameterizable
 Inherited
equals(o:*):Boolean
Tells if this DescribedElement instance is equal to the supplied o parameter.
DescribedElement
 Inherited
getAnnotation(type:String, recursive:Boolean = false):Annotation
Returns the first Annotation whose name is equal to the supplied type parameter, attached to this IAnnotatedElement.
Member
 Inherited
getAnnotations(recursive:Boolean = false, pattern:String = "^_?[^_]"):Array
Returns an array (possibly empty) that contains all annotations attached to this IAnnotatedElement.
Member
 Inherited
isAccessor():Boolean
Checks if this member is an accessor (get/set) field.
Member
 Inherited
isAnnotationPresent(type:String, recursive:Boolean = false):Boolean
Tests if an Annotation, whose name is equal to the supplied type parameter, is attached to this IAnnotatedElement.
Member
 Inherited
isConstant():Boolean
Checks if this member is a constant field.
Member
 Inherited
isConstructor():Boolean
Checks if this member is a constructor.
Member
 Inherited
Checks if this member is a dynamic property (always false for Member, always true for DynamicProperty).
Member
 Inherited
isInNamespace(ns:Namespace):Boolean
Tells if this Member instance is declared in the the suplied ns namespace parameter.
Member
 Inherited
isMethod():Boolean
Checks if this member is a method.
Member
 Inherited
isReadable():Boolean
Checks if this member is readable (fields only).
Member
 Inherited
isStatic():Boolean
Checks if this member is static.
Member
 Inherited
isVariable():Boolean
Checks if this member is a variable field.
Member
 Inherited
isWriteable():Boolean
Checks if this member is writeable (fields only).
Member
 Inherited
toString():String
Returns the a string (XML) representation of this described element.
DescribedElement
Property detail
parametersproperty
parameters:Array  [read-only]

An array that contains all the parameters of this Parameterizable instance.

Implementation
    public function get parameters():Array

See also

Constructor detail
Parameterizable()constructor
public function Parameterizable(declaredBy:Type, desc:XML)

Constructs a new Parameterizable instance.

Parameters
declaredBy:Type — the type that this method or constructor belongs to.
 
desc:XML