Package spoon.reflect.visitor.filter
Class OverridingMethodFilter
java.lang.Object
spoon.reflect.visitor.filter.OverridingMethodFilter
Gets all overriding method from the method given.
-
Constructor Summary
ConstructorDescriptionOverridingMethodFilter(CtMethod<?> method)
Creates a new overriding method filter. -
Method Summary
Modifier and TypeMethodDescriptionincludingSelf(boolean includingSelf)
boolean
Tells if the given element matches.
-
Constructor Details
-
OverridingMethodFilter
Creates a new overriding 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.
-