Package spoon.reflect.visitor
Interface Filter<T extends CtElement>
- Type Parameters:
T- the type of the filtered elements (an element belonging to the filtered element must be assignable fromT).
- All Known Implementing Classes:
AbstractFilter,AbstractReferenceFilter,AnnotationFilter,CompositeFilter,DirectReferenceFilter,ExecutableReferenceFilter,FieldAccessFilter,InvocationFilter,LambdaFilter,LineFilter,NamedElementFilter,NameFilter,OverriddenMethodFilter,OverridingMethodFilter,ReferenceTypeFilter,RegexFilter,ReturnOrThrowFilter,SameFilter,SubtypeFilter,TemplateMatcher,TypeFilter,VariableAccessFilter
public interface Filter<T extends CtElement>
This interface defines a filter for program elements.
-
Method Summary
-
Method Details
-
matches
Tells if the given element matches.- Parameters:
element- - the element to be checked for a match. Parameter element is never null ifQueryis used.
-