Package spoon.reflect.visitor.filter
Class AbstractReferenceFilter<T extends CtReference>
java.lang.Object
spoon.reflect.visitor.filter.AbstractFilter<T>
spoon.reflect.visitor.filter.AbstractReferenceFilter<T>
- Type Parameters:
T
- the type of the reference to be matched
- All Implemented Interfaces:
Filter<T>
This class defines an abstract reference filter that needs to be subclassed
in order to define the matching criteria.
-
Constructor Summary
ConstructorDescriptionCreates a filter with the type computed by reflection from the matches method parameterAbstractReferenceFilter(Class<? super T> type)
Creates a reference filter with the type of the potentially matching references. -
Method Summary
Methods inherited from class spoon.reflect.visitor.filter.AbstractFilter
getType, matches
-
Constructor Details
-
AbstractReferenceFilter
Creates a reference filter with the type of the potentially matching references. -
AbstractReferenceFilter
public AbstractReferenceFilter()Creates a filter with the type computed by reflection from the matches method parameter
-