Packageorg.spicefactory.lib.reflect.metadata
Classpublic class Types
InheritanceTypes Inheritance Object

Constants representing the types that metadata tags can be placed on.



Public Methods
 MethodDefined By
  
forOwner(owner:MetadataAware):String
[static] Returns the constant matching the specified metadata owner.
Types
Public Constants
 ConstantDefined By
  CLASS : String = class
[static] Constant for classes.
Types
  CONSTRUCTOR : String = constructor
[static] Constant for constructors.
Types
  METHOD : String = method
[static] Constant for methods.
Types
  PROPERTY : String = property
[static] Constant for properties.
Types
Method Detail
forOwner()method
public static function forOwner(owner:MetadataAware):String

Returns the constant matching the specified metadata owner.

Parameters

owner:MetadataAware — the type the metadata is placed upon

Returns
String — the constant matching the specified metadata owner
Constant Detail
CLASSConstant
public static const CLASS:String = class

Constant for classes.

CONSTRUCTORConstant 
public static const CONSTRUCTOR:String = constructor

Constant for constructors.

This type is included for future use. Currently the Flex SDK compiler ignores all metadata tags placed on constructors.

METHODConstant 
public static const METHOD:String = method

Constant for methods.

PROPERTYConstant 
public static const PROPERTY:String = property

Constant for properties. This includes properties declared with public getter and/or setter methods as well as properties declared with var or const.