All Implemented Interfaces:
Filter <CtElement >
Finds the element given in parameter, useful for checking if an element is in an ancestor.
Here "same" refers to the Junit meaning: same object memory, equals with ==
Constructor Summary
Constructors
Method Summary
All Methods Instance Methods Concrete Methods
boolean
Tells if the given element matches.
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Method Details
matches
Description copied from interface: Filter
Tells if the given element matches.
Specified by:
matches
in interface Filter <CtElement >
Parameters:
element
- - the element to be checked for a match. Parameter element is never null if Query
is used.