TypeMemberFilter
| Kind of class: | interface |
|---|---|
| Inherits from: | BasicInterface |
| Author: | Simon Wacker |
| Classpath: | org.as2lib.env.reflect.TypeMemberFilter |
| File last modified: | Saturday, 09 April 2005, 12:52:36 |
TypeMemberFilter filters the result of searches for type members.You can pass it for example to the ClassInfo.getMethodsByFilter method
to receive only methods that match your criteria.
Using this filter can mean a performance boost. Refer to the specific filter
and search methods for more information.
Summary
Instance methods
filter
function filter (
typeMember:TypeMemberInfo) : Boolean
Returns
means excluded from the result.
true if the passed-in typeMember shall be filtered, thatmeans excluded from the result.
This method slows the whole algorithm down because it is invoked for every
found type member that is not excluded by any of the other filter methods. So if
you use it try to keep the checks simple.
Parameters:
typeMember:
the type member to exclude from or to include in the result
Returns:
true if the typeMember shall be excluded else falsefilterSuperTypes
function filterSuperTypes (
Void) : Boolean
Returns
excluded from the result.
true if type members of super-types shall be filtered, that meansexcluded from the result.
Returning true can mean a performance boost because the algorithm does
then not search for type members of super types.
Returns:
true if super types' type members shall be excluded else false