use of org.gradle.api.internal.tasks.compile.incremental.analyzer.CompilationResultAnalyzer in project gradle by gradle.
the class ClassSetAnalysisUpdater method updateAnalysis.
public void updateAnalysis(JavaCompileSpec spec, WorkResult result) {
if (result instanceof RecompilationNotNecessary) {
return;
}
Timer clock = Time.startTimer();
CompilationResultAnalyzer analyzer = new CompilationResultAnalyzer(this.analyzer, fileHasher);
visitAnnotationProcessingResult(spec, result, analyzer);
visitClassFiles(spec, analyzer);
ClassSetAnalysisData data = analyzer.getAnalysis();
stash.put(data);
LOG.info("Class dependency analysis for incremental compilation took {}.", clock.getElapsed());
}
Aggregations