public class CompilerUtil
extends java.lang.Object
Constructor and Description |
---|
CompilerUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
logDuration(java.lang.String activityName,
long duration) |
static java.lang.String |
quotePath(java.lang.String path) |
static void |
refreshIODirectories(java.util.Collection<? extends java.io.File> files) |
static void |
refreshIOFile(java.io.File file) |
static void |
refreshIOFiles(java.util.Collection<? extends java.io.File> files) |
static void |
refreshOutputRoots(java.util.Collection<java.lang.String> outputRoots)
A lightweight procedure which ensures that given roots exist in the VFS.
|
static <T extends java.lang.Throwable> |
runInContext(CompileContext context,
java.lang.String title,
ThrowableRunnable<T> action) |
public static java.lang.String quotePath(java.lang.String path)
public static void refreshIOFiles(java.util.Collection<? extends java.io.File> files)
public static void refreshIODirectories(java.util.Collection<? extends java.io.File> files)
public static void refreshOutputRoots(java.util.Collection<java.lang.String> outputRoots)
public static void refreshIOFile(java.io.File file)
public static <T extends java.lang.Throwable> void runInContext(CompileContext context, java.lang.String title, ThrowableRunnable<T> action) throws T extends java.lang.Throwable
T extends java.lang.Throwable
public static void logDuration(java.lang.String activityName, long duration)