Package org.revapi.java
Class JavaApiAnalyzer
- java.lang.Object
-
- org.revapi.java.JavaApiAnalyzer
-
- All Implemented Interfaces:
AutoCloseable
,org.revapi.ApiAnalyzer<org.revapi.java.spi.JavaElement>
,org.revapi.configuration.Configurable
public final class JavaApiAnalyzer extends Object implements org.revapi.ApiAnalyzer<org.revapi.java.spi.JavaElement>
- Since:
- 0.1
- Author:
- Lukas Krejci
-
-
Constructor Summary
Constructors Constructor Description JavaApiAnalyzer()
JavaApiAnalyzer(Iterable<org.revapi.java.spi.Check> checks, Iterable<org.revapi.java.spi.JarExtractor> archiveTransformers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
JavaArchiveAnalyzer
getArchiveAnalyzer(org.revapi.API api)
org.revapi.CorrespondenceComparatorDeducer<org.revapi.java.spi.JavaElement>
getCorrespondenceDeducer()
org.revapi.DifferenceAnalyzer<org.revapi.java.spi.JavaElement>
getDifferenceAnalyzer(org.revapi.ArchiveAnalyzer<org.revapi.java.spi.JavaElement> oldArchive, org.revapi.ArchiveAnalyzer<org.revapi.java.spi.JavaElement> newArchive)
String
getExtensionId()
Reader
getJSONSchema()
void
initialize(org.revapi.AnalysisContext analysisContext)
-
-
-
Method Detail
-
getCorrespondenceDeducer
public org.revapi.CorrespondenceComparatorDeducer<org.revapi.java.spi.JavaElement> getCorrespondenceDeducer()
- Specified by:
getCorrespondenceDeducer
in interfaceorg.revapi.ApiAnalyzer<org.revapi.java.spi.JavaElement>
-
getExtensionId
public String getExtensionId()
- Specified by:
getExtensionId
in interfaceorg.revapi.configuration.Configurable
-
getJSONSchema
public Reader getJSONSchema()
- Specified by:
getJSONSchema
in interfaceorg.revapi.configuration.Configurable
-
initialize
public void initialize(@Nonnull org.revapi.AnalysisContext analysisContext)
- Specified by:
initialize
in interfaceorg.revapi.configuration.Configurable
-
getArchiveAnalyzer
@Nonnull public JavaArchiveAnalyzer getArchiveAnalyzer(@Nonnull org.revapi.API api)
- Specified by:
getArchiveAnalyzer
in interfaceorg.revapi.ApiAnalyzer<org.revapi.java.spi.JavaElement>
-
getDifferenceAnalyzer
@Nonnull public org.revapi.DifferenceAnalyzer<org.revapi.java.spi.JavaElement> getDifferenceAnalyzer(@Nonnull org.revapi.ArchiveAnalyzer<org.revapi.java.spi.JavaElement> oldArchive, @Nonnull org.revapi.ArchiveAnalyzer<org.revapi.java.spi.JavaElement> newArchive)
- Specified by:
getDifferenceAnalyzer
in interfaceorg.revapi.ApiAnalyzer<org.revapi.java.spi.JavaElement>
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
-
-