Class 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 Detail

      • JavaApiAnalyzer

        public JavaApiAnalyzer()
      • JavaApiAnalyzer

        public JavaApiAnalyzer​(Iterable<org.revapi.java.spi.Check> checks,
                               Iterable<org.revapi.java.spi.JarExtractor> archiveTransformers)
    • Method Detail

      • getCorrespondenceDeducer

        public org.revapi.CorrespondenceComparatorDeducer<org.revapi.java.spi.JavaElement> getCorrespondenceDeducer()
        Specified by:
        getCorrespondenceDeducer in interface org.revapi.ApiAnalyzer<org.revapi.java.spi.JavaElement>
      • getExtensionId

        public String getExtensionId()
        Specified by:
        getExtensionId in interface org.revapi.configuration.Configurable
      • getJSONSchema

        public Reader getJSONSchema()
        Specified by:
        getJSONSchema in interface org.revapi.configuration.Configurable
      • initialize

        public void initialize​(@Nonnull
                               org.revapi.AnalysisContext analysisContext)
        Specified by:
        initialize in interface org.revapi.configuration.Configurable
      • getArchiveAnalyzer

        @Nonnull
        public JavaArchiveAnalyzer getArchiveAnalyzer​(@Nonnull
                                                      org.revapi.API api)
        Specified by:
        getArchiveAnalyzer in interface org.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 interface org.revapi.ApiAnalyzer<org.revapi.java.spi.JavaElement>