public class CompilationTaskFactory extends Object
Constructor and Description |
---|
CompilationTaskFactory(ProcessingEnvironment processingEnvironment) |
Modifier and Type | Method and Description |
---|---|
JavaCompiler.CompilationTask |
create(Iterable<TypeElement> elements,
Writer writer)
Creates a compilation task for the specified
Element instances. |
List<Diagnostic> |
getCompileDiagnostics() |
public CompilationTaskFactory(ProcessingEnvironment processingEnvironment)
public JavaCompiler.CompilationTask create(Iterable<TypeElement> elements, Writer writer) throws IOException
Element
instances.elements
- The elements.IOException
public List<Diagnostic> getCompileDiagnostics()
Copyright © 2011–2016 Red Hat. All rights reserved.