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
ConstructorDescriptionOverriddenMethodFilter(CtMethod<?> method)
Creates a new overridden method filter. -
Method Summary
Modifier and TypeMethodDescriptionincludingSelf(boolean includingSelf)
boolean
Tells 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:Filter
Tells if the given element matches.
-