Package org.revapi

Interface TreeFilterProvider

    • Method Detail

      • filterFor

        <E extends Element<E>> Optional<TreeFilter<E>> filterFor​(ArchiveAnalyzer<E> archiveAnalyzer)
        Creates a new filter specifically for use with the provided analyzer. Can return null if this forest filter cannot understand elements provided by the analyzer.
        archiveAnalyzer - the archive analyzer to produce a new filter for
        a new filter for given analyzer or empty if this forest filter is not compatible with the analyzer