Packagesystem.reflection
Classpublic class FilterType
InheritanceFilterType Inheritance Enum Inheritance Object

The filter type enumeration class.

Description :

     0x000000
          |||_  0: both, 1: only prototype, 2: only trait
          ||__  0: both declared and inherited, 1: declared only
          |___  0: ignore static, 1: include static
     



Public Properties
 PropertyDefined By
  showDeclared : Boolean
[read-only] Indicates if the declared class are showed.
FilterType
  showInherited : Boolean
[read-only] Indicates if the inherited class are showed.
FilterType
  showStatic : Boolean
[read-only] Indicates if the static members are showed.
FilterType
  usePrototypeInfo : Boolean
[read-only] Indicates if use prototype information.
FilterType
  useTraitInfo : Boolean
[read-only] Indicates if use trait information.
FilterType
Public Methods
 MethodDefined By
  
FilterType(value:int = 0, name:String)
Creates a new FilterType instance.
FilterType
 Inherited
toSource(indent:int = 0):String
Returns the source code String representation of the object.
Enum
 Inherited
toString():String
Returns the String representation of the object.
Enum
 Inherited
valueOf():int
Returns the primitive value of the object.
Enum
Public Constants
 ConstantDefined By
  declaredOnly : FilterType
[static] Inherited members will not be searched.
FilterType
  includeStatic : FilterType
[static] Static members will be searched too.
FilterType
  none : FilterType
[static] Default filter type value.
FilterType
  prototypeOnly : FilterType
[static] Trait members will not be searched.
FilterType
  traitOnly : FilterType
[static] Prototype members will not be searched.
FilterType
Property Detail
showDeclaredproperty
showDeclared:Boolean  [read-only]

Indicates if the declared class are showed.


Implementation
    public function get showDeclared():Boolean
showInheritedproperty 
showInherited:Boolean  [read-only]

Indicates if the inherited class are showed.


Implementation
    public function get showInherited():Boolean
showStaticproperty 
showStatic:Boolean  [read-only]

Indicates if the static members are showed.


Implementation
    public function get showStatic():Boolean
usePrototypeInfoproperty 
usePrototypeInfo:Boolean  [read-only]

Indicates if use prototype information.


Implementation
    public function get usePrototypeInfo():Boolean
useTraitInfoproperty 
useTraitInfo:Boolean  [read-only]

Indicates if use trait information.


Implementation
    public function get useTraitInfo():Boolean
Constructor Detail
FilterType()Constructor
public function FilterType(value:int = 0, name:String)

Creates a new FilterType instance.

Parameters
value:int (default = 0) — The value of the enumeration.
 
name:String — The name key of the enumeration.
Constant Detail
declaredOnlyConstant
public static const declaredOnly:FilterType

Inherited members will not be searched.

Note:

For Trait this will apply only to methods and accessors not to variables and constants reason : variables and constants does not have a declaredBy attribute (from describeType), but that's normal because "inherited properties are copied down from superclasses into the traits object of subclasses" (cf: OOP in ActionScript/Advanced Topics/The Trait Object).

For prototype this will apply both to properties and methods.

includeStaticConstant 
public static const includeStatic:FilterType

Static members will be searched too.

noneConstant 
public static const none:FilterType

Default filter type value.

  • use both prototype and trait
  • both declared and inherited
  • ignore static
  • prototypeOnlyConstant 
    public static const prototypeOnly:FilterType

    Trait members will not be searched.

    traitOnlyConstant 
    public static const traitOnly:FilterType

    Prototype members will not be searched.