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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionincludingSelf(boolean includingSelf) booleanTells 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:FilterTells if the given element matches.
-