public class CheckerDevelMain extends CheckerMain
BOOT_CLASS_PATH_REGEX, CHECKER_BASE_DIR_NAME, CHECKER_BASE_PACKAGE, checkerJar, checkerQualJar, FULLY_QUALIFIED_SUBTYPING_CHECKER, javacJar, jdkJar, JVM_OPTS_REGEX, SUBTYPING_CHECKER_NAME
Constructor and Description |
---|
CheckerDevelMain(java.io.File searchPath,
java.util.List<java.lang.String> args)
Construct all the relevant file locations and java version given the path to this jar and a
set of directories in which to search for jars.
|
Modifier and Type | Method and Description |
---|---|
void |
assertValidState()
Assert that required jars exist.
|
protected java.util.List<java.lang.String> |
createCompilationBootclasspath(java.util.List<java.lang.String> argsList)
Returns the compilation bootclasspath from
argsList and appends jdkJar if
using Java 8. |
protected java.util.List<java.lang.String> |
createCpOpts(java.util.List<java.lang.String> argsList) |
protected java.util.List<java.lang.String> |
createPpOpts(java.util.List<java.lang.String> argsList) |
protected java.util.List<java.lang.String> |
createRuntimeClasspath(java.util.List<java.lang.String> argsList) |
static void |
main(java.lang.String[] args) |
addMainToArgs, addToClasspath, addToProcessorpath, addToRuntimeClasspath, collectArgFiles, expandArgFiles, extractArg, extractBootClassPath, extractCpOpts, extractFileArg, extractJvmOpts, extractOptWithPattern, extractPpOpts, findPathTo, getExecArguments, invokeCompiler, matchesCheckerOrSubcheckerFromList, matchesFullyQualifiedProcessor, replaceShorthandProcessor, unshorthandProcessorNames
public CheckerDevelMain(java.io.File searchPath, java.util.List<java.lang.String> args)
public static void main(java.lang.String[] args)
public void assertValidState()
CheckerMain
assertValidState
in class CheckerMain
protected java.util.List<java.lang.String> createRuntimeClasspath(java.util.List<java.lang.String> argsList)
createRuntimeClasspath
in class CheckerMain
protected java.util.List<java.lang.String> createCompilationBootclasspath(java.util.List<java.lang.String> argsList)
CheckerMain
argsList
and appends jdkJar
if
using Java 8.createCompilationBootclasspath
in class CheckerMain
argsList
- args to addargsList
and appends jdkJar
if
using Java 8protected java.util.List<java.lang.String> createCpOpts(java.util.List<java.lang.String> argsList)
createCpOpts
in class CheckerMain
protected java.util.List<java.lang.String> createPpOpts(java.util.List<java.lang.String> argsList)
createPpOpts
in class CheckerMain