Package randoop.compile
Class CompileUtil
- java.lang.Object
-
- randoop.compile.CompileUtil
-
class CompileUtil extends Object
Utilities for compiler classes.
-
-
Constructor Summary
Constructors Constructor Description CompileUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
printDiagnostics(PrintWriter out, List<Diagnostic<? extends JavaFileObject>> diagnostics)
Prints the compiler diagnostics to the writer.(package private) static URI
toURI(String pathString)
Converts the path string to a URI for use by the file manager of the compiler.
-
-
-
Method Detail
-
toURI
static URI toURI(String pathString)
Converts the path string to a URI for use by the file manager of the compiler.- Parameters:
pathString
- the path to a file as a string- Returns:
- the
URI
for the path
-
printDiagnostics
public static void printDiagnostics(PrintWriter out, List<Diagnostic<? extends JavaFileObject>> diagnostics)
Prints the compiler diagnostics to the writer.- Parameters:
out
- the print writerdiagnostics
- the compiler diagnostics
-
-