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(File searchPath,
List<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 List<String> |
createCompilationBootclasspath(List<String> argsList)
Returns the compilation bootclasspath from
argsList and appends jdkJar if
using Java 8. |
protected List<String> |
createCpOpts(List<String> argsList) |
protected List<String> |
createPpOpts(List<String> argsList) |
protected List<String> |
createRuntimeClasspath(List<String> argsList) |
static void |
main(String[] args) |
addMainToArgs, addToClasspath, addToProcessorpath, addToRuntimeClasspath, collectArgFiles, expandArgFiles, extractArg, extractBootClassPath, extractCpOpts, extractFileArg, extractJvmOpts, extractOptWithPattern, extractPpOpts, findPathTo, getExecArguments, invokeCompiler, matchesCheckerOrSubcheckerFromList, matchesFullyQualifiedProcessor, replaceShorthandProcessor, unshorthandProcessorNames
public static void main(String[] args)
public void assertValidState()
CheckerMain
assertValidState
in class CheckerMain
protected List<String> createRuntimeClasspath(List<String> argsList)
createRuntimeClasspath
in class CheckerMain
protected List<String> createCompilationBootclasspath(List<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 List<String> createCpOpts(List<String> argsList)
createCpOpts
in class CheckerMain
protected List<String> createPpOpts(List<String> argsList)
createPpOpts
in class CheckerMain