public class CheckerDevelMain extends CheckerMain
CheckerMain
BOOT_CLASS_PATH_REGEX, CHECKER_BASE_DIR_NAME, CHECKER_QUAL_PATH_OPT, CHECKER_UTIL_PATH_OPT, checkerJar, checkerQualJar, checkerUtilJar, COMMON_BASE_DIR_NAME, JAVAC_PATH_OPT, javacJar, JDK_PATH_OPT, JVM_OPTS_REGEX
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> |
createCpOpts(List<String> argsList) |
protected List<String> |
createPpOpts(List<String> argsList)
Returns processor path options.
|
protected List<String> |
createRuntimeClasspath(List<String> argsList) |
static void |
main(String[] args)
The main method.
|
addMainToArgs, addToClasspath, addToProcessorpath, addToRuntimeClasspath, collectArgFiles, createCompilationBootclasspath, expandArgFiles, extractArg, extractBootClassPath, extractCpOpts, extractFileArg, extractJvmOpts, extractOptWithPattern, extractPpOpts, findPathTo, getExecArguments, invokeCompiler, matchesCheckerOrSubcheckerFromList, matchesFullyQualifiedProcessor, replaceShorthandProcessor, unshorthandProcessorNames
public static void main(String[] args)
args
- command-line argumentspublic void assertValidState()
CheckerMain
assertValidState
in class CheckerMain
protected List<String> createRuntimeClasspath(List<String> argsList)
createRuntimeClasspath
in class CheckerMain
protected List<String> createCpOpts(List<String> argsList)
createCpOpts
in class CheckerMain
protected List<String> createPpOpts(List<String> argsList)
CheckerMain
This method assumes that createCpOpts has already been run.
createPpOpts
in class CheckerMain
argsList
- arguments