public class CompilationResult extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
compiledWithoutError()
Returns whether or not compilation succeeded without errors or exceptions.
|
List<Diagnostic<? extends JavaFileObject>> |
getDiagnostics()
Returns the diagnostics reported by the compiler.
|
String |
getJavacOutput()
Returns all of the output from the compiler.
|
Iterable<? extends JavaFileObject> |
getJavaFileObjects()
Returns the list of Java files passed to the compiler.
|
public boolean compiledWithoutError()
public String getJavacOutput()
public Iterable<? extends JavaFileObject> getJavaFileObjects()
public List<Diagnostic<? extends JavaFileObject>> getDiagnostics()