| |
|
| java.lang.Object spoon.reflect.visitor.CtScanner spoon.reflect.visitor.Query
getElements | public static List<E> getElements(Factory factory, Filter<E> filter)(Code) | | Within a given factory, returns all the program elements that match the
filter.
< Parameters: E - >the type of the seeked program elements Parameters: factory - the factory that contains the elements where to recursivesearch on Parameters: filter - the filter which defines the matching criteria |
getElements | public static List<E> getElements(CtElement rootElement, Filter<E> filter)(Code) | | Returns all the program elements that match the filter.
< Parameters: E - >the type of the seeked program elements Parameters: rootElement - the element to start the recursive search on Parameters: filter - the filter which defines the matching criteria |
getReferences | public static List<T> getReferences(CtElement rootElement, ReferenceFilter<T> filter)(Code) | | Returns all the program element references that match the filter.
< Parameters: T - >the type of the seeked program element references Parameters: rootElement - the element to start the recursive search on Parameters: filter - the filter which defines the matching criteria |
getReferences | public static List<R> getReferences(Factory factory, ReferenceFilter<R> filter)(Code) | | Within a given factory, returns all the program element references that
match the filter.
< Parameters: R - >the type of the seeked program element references Parameters: factory - the factory that contains the references where to recursivesearch on Parameters: filter - the filter which defines the matching criteria |
|
|
|