public class CompilationResult
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CompilationError> |
getErrors()
List of errors occurred during compilation process
|
GeneratedFile |
getGeneratedFile(java.lang.String path)
Get specified source code file generated by annotation processor
|
java.util.List<GeneratedFile> |
getGeneratedFiles()
List of all source code files generated by annotation processors
|
boolean |
isSuccess()
true if compilation was successful, false otherwise |
InstanceCreator |
newInstanceOf(java.lang.String qualifiedName)
Begins the process of instantiating specified class which code was generated by annotations processor
|
public boolean isSuccess()
true if compilation was successful, false otherwisepublic java.util.List<GeneratedFile> getGeneratedFiles()
public GeneratedFile getGeneratedFile(java.lang.String path)
path - path to the generated file relative to output directory.
For example "foo/bar/Test.java".public java.util.List<CompilationError> getErrors()
public InstanceCreator newInstanceOf(java.lang.String qualifiedName) throws java.lang.ClassNotFoundException
qualifiedName - full qualified name of the class.
For example foo.bar.Test.java.lang.ClassNotFoundException - when specified class was not found in the output directory