Package spoon.reflect.visitor.filter
Class OverriddenMethodFilter
java.lang.Object
spoon.reflect.visitor.filter.OverriddenMethodFilter
Gets all overridden method from the method given.
-
Constructor Summary
ConstructorsConstructorDescriptionOverriddenMethodFilter(CtMethod<?> method) Creates a new overridden method filter. -
Method Summary
Modifier and TypeMethodDescriptionincludingSelf(boolean includingSelf) booleanTells if the given element matches.
-
Constructor Details
-
OverriddenMethodFilter
Creates a new overridden method filter.- Parameters:
method- the executable to be tested for being invoked
-
-
Method Details
-
includingSelf
- Parameters:
includingSelf- if false then element which is equal to the #method is not matching. false is default behavior
-
matches
Description copied from interface:FilterTells if the given element matches.
-