use of org.revapi.java.compilation.ProbingEnvironment in project revapi by revapi.
the class JavaApiAnalyzer method getDifferenceAnalyzer.
@Nonnull
@Override
public DifferenceAnalyzer getDifferenceAnalyzer(@Nonnull ArchiveAnalyzer oldArchive, @Nonnull ArchiveAnalyzer newArchive) {
JavaArchiveAnalyzer oldA = (JavaArchiveAnalyzer) oldArchive;
JavaArchiveAnalyzer newA = (JavaArchiveAnalyzer) newArchive;
ProbingEnvironment oldEnvironment = oldA.getProbingEnvironment();
ProbingEnvironment newEnvironment = newA.getProbingEnvironment();
CompilationValve oldValve = oldA.getCompilationValve();
CompilationValve newValve = newA.getCompilationValve();
return new JavaElementDifferenceAnalyzer(analysisContext, oldEnvironment, oldValve, newEnvironment, newValve, checks, configuration);
}
Aggregations