Package spoon.reflect.visitor.filter
Class AbstractFilter<T extends CtElement>
java.lang.Object
spoon.reflect.visitor.filter.AbstractFilter<T>
- All Implemented Interfaces:
Filter<T>
- Direct Known Subclasses:
AbstractReferenceFilter
,DirectReferenceFilter
,SubtypeFilter
,TypeFilter
Defines an abstract filter based on matching on the element types.
Not necessary in simple cases thanks to the use of runtime reflection.
-
Constructor Summary
ConstructorDescriptionCreates a filter with the type computed by reflection from the matches method parameterAbstractFilter(Class<? super T> type)
Creates a filter with the type of the potentially matching elements. -
Method Summary
-
Constructor Details
-
AbstractFilter
Creates a filter with the type of the potentially matching elements. -
AbstractFilter
public AbstractFilter()Creates a filter with the type computed by reflection from the matches method parameter
-
-
Method Details