| Package | org.granite.reflect |
| Class | public class Parameterizable |
| Inheritance | Parameterizable Member DescribedElement |
| Subclasses | Constructor, Method |
Method and Constructor classes.
See also
| Property | Defined by | ||
|---|---|---|---|
![]() | annotations : Array
An array that contains all annotations directly attached to this
IAnnotatedElement. | Member | |
![]() | declaredBy : Type
The
Type instance this described element belongs to. | DescribedElement | |
![]() | name : String
The name of this
Member. | Member | |
![]() | ns : Namespace
The namespace of this
Member. | Member | |
| parameters : Array [read-only]
An array that contains all the parameters of this
Parameterizable
instance. | Parameterizable | ||
![]() | propertyKey : String
The String representation of this member (field or method qName, key of a
dynamic property or dictionary, index of an array, etc.)
| Member | |
![]() | qName : QName
The qualified name of this
Member. | Member | |
![]() | uri : String
The uri of the qualified name of this
Member (members declared in
namespaces) or "" if this member is public. | Member | |
| Method | Defined by | ||
|---|---|---|---|
|
Parameterizable(declaredBy:Type, desc:XML)
Constructs a new
Parameterizable instance. | Parameterizable | ||
![]() |
equals(o:*):Boolean
Tells if this
DescribedElement instance is equal to the supplied
o parameter. | DescribedElement | |
![]() |
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 | |
![]() |
getAnnotations(recursive:Boolean = false, pattern:String = "^_?[^_]"):Array
Returns an array (possibly empty) that contains all annotations attached to this
IAnnotatedElement. | Member | |
![]() |
isAccessor():Boolean
Checks if this member is an accessor (get/set) field.
| Member | |
![]() |
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 | |
![]() |
isConstant():Boolean
Checks if this member is a constant field.
| Member | |
![]() |
isConstructor():Boolean
Checks if this member is a constructor.
| Member | |
![]() |
isDynamicProperty():Boolean
Checks if this member is a dynamic property (always
false for
Member, always true for DynamicProperty). | Member | |
![]() |
isInNamespace(ns:Namespace):Boolean
Tells if this
Member instance is declared in the the suplied ns
namespace parameter. | Member | |
![]() |
isMethod():Boolean
Checks if this member is a method.
| Member | |
![]() |
isReadable():Boolean
Checks if this member is readable (fields only).
| Member | |
![]() |
isStatic():Boolean
Checks if this member is static.
| Member | |
![]() |
isVariable():Boolean
Checks if this member is a variable field.
| Member | |
![]() |
isWriteable():Boolean
Checks if this member is writeable (fields only).
| Member | |
![]() |
toString():String
Returns the a string (XML) representation of this described element.
| DescribedElement | |
| parameters | property |
parameters:Array [read-only]
An array that contains all the parameters of this Parameterizable
instance.
public function get parameters():Array
See also
| Parameterizable | () | constructor |
public function Parameterizable(declaredBy:Type, desc:XML)
Constructs a new Parameterizable instance.
declaredBy:Type — the type that this method or constructor belongs to.
|
|
desc:XML |