public static interface ElementMatcher.CompiledRecipe
Modifier and Type | Method and Description |
---|---|
<E extends Element<E>> |
filterFor(ArchiveAnalyzer<E> archiveAnalyzer)
The recipe needs to be transformed into a
TreeFilter to be used for filtering of the element forest. |
@Nullable <E extends Element<E>> TreeFilter<E> filterFor(ArchiveAnalyzer<E> archiveAnalyzer)
TreeFilter
to be used for filtering of the element forest.
It is assumed that the element matcher may want cooperate with the archive analyzer that produced the element
forest to correctly set up the filter.archiveAnalyzer
- the archive analyzer that produced the element forest that will be filtered by the
returned tree filterCopyright © 2014-2021 Lukas Krejci. All Rights Reserved.