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.
public function filter(typeMember:TypeMemberInfo):Boolean
Returns true if the passed-in typeMember shall be filtered, that
means 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.
typeMember | the type member to exclude from or to include in the result |
true if the typeMember shall be excluded else false
public function filterSuperTypes(Void):Boolean
Returns true if type members of super-types shall be filtered, that means
excluded from the result.
Returning true can mean a performance boost because the algorithm does
then not search for type members of super types.
true if super types' type members shall be excluded else false