Package org.revapi.java
Class JavaElementDifferenceAnalyzer
- java.lang.Object
-
- org.revapi.java.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
-
-
Constructor Summary
Constructors Constructor Description JavaElementDifferenceAnalyzer(org.revapi.AnalysisContext analysisContext, ProbingEnvironment oldEnvironment, ProbingEnvironment newEnvironment, Iterable<org.revapi.java.spi.Check> checks, AnalysisConfiguration analysisConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beginAnalysis(org.revapi.java.spi.JavaElement oldElement, org.revapi.java.spi.JavaElement newElement)
void
close()
org.revapi.Report
endAnalysis(org.revapi.java.spi.JavaElement oldElement, org.revapi.java.spi.JavaElement newElement)
boolean
isDescendRequired(org.revapi.java.spi.JavaElement oldElement, org.revapi.java.spi.JavaElement newElement)
void
open()
-
-
-
Constructor Detail
-
JavaElementDifferenceAnalyzer
public JavaElementDifferenceAnalyzer(org.revapi.AnalysisContext analysisContext, ProbingEnvironment oldEnvironment, ProbingEnvironment newEnvironment, Iterable<org.revapi.java.spi.Check> checks, AnalysisConfiguration analysisConfiguration)
-
-
Method Detail
-
open
public void open()
- Specified by:
open
in interfaceorg.revapi.DifferenceAnalyzer<org.revapi.java.spi.JavaElement>
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
-
beginAnalysis
public void beginAnalysis(@Nullable org.revapi.java.spi.JavaElement oldElement, @Nullable org.revapi.java.spi.JavaElement newElement)
- Specified by:
beginAnalysis
in interfaceorg.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 interfaceorg.revapi.DifferenceAnalyzer<org.revapi.java.spi.JavaElement>
-
-