Package spoon.reflect.visitor.filter
Class SubtypeFilter
Matches all CtType elements, which are sub type of
superType
Matches the input `superType` too.
Call includingSelf(boolean)
with value false, if instance of superType
should no match this Filter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionincludingSelf(boolean includingSelf)
boolean
Tells if the given element matches.Methods inherited from class spoon.reflect.visitor.filter.AbstractFilter
getType
-
Constructor Details
-
SubtypeFilter
-
-
Method Details
-
includingSelf
- Parameters:
includingSelf
- if false then element which is equal to to #superType is not matching
-
matches
Description copied from interface:Filter
Tells if the given element matches.
-