Package org.revapi.base
Class BaseApiAnalyzer<E extends Element<E>>
- java.lang.Object
-
- org.revapi.base.BaseConfigurable
-
- org.revapi.base.BaseApiAnalyzer<E>
-
- Type Parameters:
E
- the parent type of all elements produced by this API analyzer
- All Implemented Interfaces:
AutoCloseable
,ApiAnalyzer<E>
,Configurable
public abstract class BaseApiAnalyzer<E extends Element<E>> extends BaseConfigurable implements ApiAnalyzer<E>
A convenience base class for API analyzers.
-
-
Constructor Summary
Constructors Constructor Description BaseApiAnalyzer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
CorrespondenceComparatorDeducer<E>
getCorrespondenceDeducer()
The correspondence sorter to use when finalizing the comparison order of the elements in the element forest.-
Methods inherited from class org.revapi.base.BaseConfigurable
getJSONSchema, initialize
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.revapi.ApiAnalyzer
getArchiveAnalyzer, getDifferenceAnalyzer
-
Methods inherited from interface org.revapi.configuration.Configurable
getExtensionId, getJSONSchema, initialize
-
-
-
-
Method Detail
-
getCorrespondenceDeducer
public CorrespondenceComparatorDeducer<E> getCorrespondenceDeducer()
Description copied from interface:ApiAnalyzer
The correspondence sorter to use when finalizing the comparison order of the elements in the element forest.- Specified by:
getCorrespondenceDeducer
in interfaceApiAnalyzer<E extends Element<E>>
- Returns:
- the correspondence sorter, never null
-
close
public void close() throws Exception
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
-