Class CompilationResult
java.lang.Object
org.checkerframework.framework.test.CompilationResult
CompilationResult represents the output of the compiler after it is run.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether or not compilation succeeded without errors or exceptions.List<Diagnostic<? extends JavaFileObject>>
Returns the diagnostics reported by the compiler.Returns all of the output from the compiler.Iterable<? extends JavaFileObject>
Returns the list of Java files passed to the compiler.
-
Method Details
-
compiledWithoutError
public boolean compiledWithoutError()Returns whether or not compilation succeeded without errors or exceptions.- Returns:
- whether or not compilation succeeded without errors or exceptions
-
getJavacOutput
Returns all of the output from the compiler.- Returns:
- all of the output from the compiler
-
getJavaFileObjects
Returns the list of Java files passed to the compiler.- Returns:
- the list of Java files passed to the compiler
-
getDiagnostics
Returns the diagnostics reported by the compiler.- Returns:
- the diagnostics reported by the compiler
-