Class JavaElementDifferenceAnalyzer

  • All Implemented Interfaces:
    AutoCloseable, org.revapi.DifferenceAnalyzer<org.revapi.java.spi.JavaElement>

    public final class JavaElementDifferenceAnalyzer
    extends Object
    implements org.revapi.DifferenceAnalyzer<org.revapi.java.spi.JavaElement>
    Since:
    0.1
    Author:
    Lukas Krejci
    • Method Detail

      • open

        public void open()
        Specified by:
        open in interface org.revapi.DifferenceAnalyzer<org.revapi.java.spi.JavaElement>
      • beginAnalysis

        public void beginAnalysis​(@Nullable
                                  org.revapi.java.spi.JavaElement oldElement,
                                  @Nullable
                                  org.revapi.java.spi.JavaElement newElement)
        Specified by:
        beginAnalysis in interface org.revapi.DifferenceAnalyzer<org.revapi.java.spi.JavaElement>
      • isDescendRequired

        public boolean isDescendRequired​(@Nullable
                                         org.revapi.java.spi.JavaElement oldElement,
                                         @Nullable
                                         org.revapi.java.spi.JavaElement newElement)
        Specified by:
        isDescendRequired in interface org.revapi.DifferenceAnalyzer<org.revapi.java.spi.JavaElement>
      • endAnalysis

        public org.revapi.Report endAnalysis​(@Nullable
                                             org.revapi.java.spi.JavaElement oldElement,
                                             @Nullable
                                             org.revapi.java.spi.JavaElement newElement)
        Specified by:
        endAnalysis in interface org.revapi.DifferenceAnalyzer<org.revapi.java.spi.JavaElement>