Package org.revapi

Interface ElementFilter

    • Method Detail

      • filterFor

        default <E extends Element<E>> Optional<TreeFilter<E>> filterFor​(ArchiveAnalyzer<E> archiveAnalyzer)
        Description copied from interface: TreeFilterProvider
        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.
        Specified by:
        filterFor in interface TreeFilterProvider
        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