PackageMemberInfo filters the result of searches for package members,
that are types and packages.
You can pass it for example to the PackageInfo#getMemberClasses or PackageInfo#getMemberPackages methods to receive only classes or packages 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(packageMember:PackageMemberInfo):Boolean
Returns true if the passed-in packageMember shall be filtered,
that means excluded from the result.
This method slows the whole algorithm down because it is invoked for every found package member that is not excluded by any of the other filter methods. So if you use it try to keep the checks simple.
packageMember | the package member to exclude from or to include in the result |
true if the packageMember shall be excluded else false
public function filterSubPackages(Void):Boolean
Returns true if package members of sub-packages shall be filtered, that
means excluded from the result.
Returning true can mean a performance boost because the algorithm does
then not search for package members of sub-packages.
true if sub-packages' package members shall be excluded else false