Package spoon.reflect.visitor.filter
Class ReferenceTypeFilter<T extends CtReference>
java.lang.Object
spoon.reflect.visitor.filter.AbstractFilter<T>
spoon.reflect.visitor.filter.TypeFilter<T>
spoon.reflect.visitor.filter.ReferenceTypeFilter<T>
- Type Parameters:
T
- the type of the reference to be matched
- All Implemented Interfaces:
Filter<T>
This simple filter matches all the references of a given type.
-
Constructor Summary
-
Method Summary
Methods inherited from class spoon.reflect.visitor.filter.AbstractFilter
getType, matches
-
Constructor Details
-
ReferenceTypeFilter
Creates the filter.- Parameters:
type
- the type that matches
-