use of org.gradle.api.internal.tasks.compile.JdkJavaCompilerResult in project gradle by gradle.
the class ClassSetAnalysisUpdater method visitAnnotationProcessingResult.
private void visitAnnotationProcessingResult(JavaCompileSpec spec, WorkResult result, CompilationResultAnalyzer analyzer) {
if (!spec.getEffectiveAnnotationProcessors().isEmpty()) {
AnnotationProcessingResult annotationProcessingResult = null;
if (result instanceof JdkJavaCompilerResult) {
annotationProcessingResult = ((JdkJavaCompilerResult) result).getAnnotationProcessingResult();
}
analyzer.visitAnnotationProcessingResult(annotationProcessingResult);
}
}
Aggregations