public interface ArchiveAnalyzer<E extends Element<E>>
ApiAnalyzer
s to
analyze the API archives and create an element tree that is then used for API comparison.Modifier and Type | Method and Description |
---|---|
ElementForest<E> |
analyze(TreeFilter<E> filter)
Analyzes the API archives and filters the forest using the provided filter.
|
API |
getApi() |
ApiAnalyzer<E> |
getApiAnalyzer() |
void |
prune(ElementForest<E> forest)
Once all the filtering on the element forest is done, the analyzer is allowed one final "pass" through the forest
to remove any elements that should not be there any longer.
|
ApiAnalyzer<E> getApiAnalyzer()
ApiAnalyzer
that created this instanceAPI getApi()
ElementForest<E> analyze(TreeFilter<E> filter)
This produces a preliminary forest which can be too "wide" because of FilterMatch.UNDECIDED
elements.
Once the preliminary forest is obtained and filtered down, it can then be pruned
by this analyzer to account for "non-local" effects removal of elements can have on it (like for example removal
of elements that are no longer used by any other element in the forest, if the analyzer deems it necessary).
filter
- the filter to use to "prune" the forestvoid prune(ElementForest<E> forest)
forest
- the forest to pruneCopyright © 2014-2021 Lukas Krejci. All Rights Reserved.