Class CFGVisualizeOptions
java.lang.Object
org.checkerframework.dataflow.cfg.visualize.CFGVisualizeOptions
Options for running analysis on files.
 
Usage: An instance of this class is created by calling parseArgs(String[]) with the
 command line arguments. The arguments are parsed and the options are stored in the instance. They
 can be retrieved by calling the appropriate getter method. See CFGVisualizeLauncher for an example.
- 
Method SummaryModifier and TypeMethodDescriptionGetter for the class name.Getter for the input file.Getter for the method name.Getter for the output directory.booleanisPDF()Getter for the PDF flag.booleanisString()Getter for the string flag.booleanGetter for the verbose flag.static CFGVisualizeOptionsParse the command line arguments.
- 
Method Details- 
parseArgsParse the command line arguments.This method calls System.exit(1) if there are no arguments or if the input file cannot be read. - Parameters:
- args- command-line arguments, see- printUsage()
- Returns:
- CFGVisualizeOptions object containing the parsed options
 
- 
getInputFileGetter for the input file.- Returns:
- the input file
 
- 
getOutputDirectoryGetter for the output directory.- Returns:
- the output directory
 
- 
getMethodNameGetter for the method name.- Returns:
- the method name
 
- 
getClassNameGetter for the class name.- Returns:
- the class name
 
- 
isPDFpublic boolean isPDF()Getter for the PDF flag.- Returns:
- true if the PDF should be generated
 
- 
isVerbosepublic boolean isVerbose()Getter for the verbose flag.- Returns:
- true if the verbose output should be generated
 
- 
isStringpublic boolean isString()Getter for the string flag.- Returns:
- true if the string representation should be generated
 
 
-