|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--envgen.EnvGenerator
Main class of the Environment Generator that processes command line options, loads classes, and redirects to either drivers or stubs generator.
| Field Summary | |
static java.lang.String |
analysisPackageName
|
static IApproach |
approach
|
static Assumptions |
assumptions
|
static boolean |
atomicStepsMode
Set to insert atomic steps into generated environment. |
static boolean |
cfgAnalysis
|
static int |
chainLength
Integer field that keeps track of value k in k-limiting. |
static java.lang.String |
code
|
static ICodeGenerator |
codeGen
|
static java.lang.String |
context
Set to identify the framework to be used with the generated program (Bandera or JPF). |
static int |
debug
Set to print debugging messages. |
static boolean |
driverMode
Set to generate a driver for a given unit. |
static boolean |
dump
|
static java.util.HashMap |
envTable
Table of environment (external) classes. |
static boolean |
ifElseCodeCond
Set to generate drivers using ifelse statements. |
static java.lang.String |
inputFileName
|
static boolean |
mustSE
|
static int |
numThreads
Number of threads to be generated in the most general driver. |
static boolean |
ofaAnalysis
|
static java.lang.String |
outputDirName
|
static boolean |
packageAnalysis
Analyze effects on fields that are relevant to certain package behavior (GUI, container) |
static java.lang.String |
packageName
The name of the directory, where generated files are to be stored. |
static boolean |
printEnvActions
Set to print out environment actions. |
static boolean |
returnSensitivity
Analyze environment containers, preserving some of their internal structure. |
static boolean |
rwAnalysis
|
static boolean |
safeLockAnalysis
|
static boolean |
seAnalysis
Set to use a side-effects analysis to discover side-effects information of the environment methods. |
static boolean |
singleEventCond
Set to automatically generate a Single Event Condition and to combine it with a given specification. |
static java.lang.String |
sourceFileName
Name of the java source file. |
static java.lang.String |
specFileName
The name of the specification file. |
static boolean |
stubsMode
Set to generate stubs. |
static boolean |
unitAnalysis
Analyze unit and generate code based on the analysis |
static java.util.HashMap |
unitTable
Table of unit (internal) classes. |
| Constructor Summary | |
(package private) |
EnvGenerator(java.lang.String inputFileName)
|
| Method Summary | |
static void |
genDrivers()
|
static void |
genStubs()
|
static void |
getStatistics()
|
static void |
main(java.lang.String[] args)
Reads the command line options and launges generation of specified components. |
Assumptions |
performRWAnalysis()
|
static void |
printHelp()
Prints available options. |
static void |
processCmdLine(java.lang.String[] args)
Processes command line input. |
static void |
processInput(java.lang.String[] args)
|
static java.lang.String[] |
readInput(java.lang.String inputFileName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static java.util.HashMap unitTable
public static java.util.HashMap envTable
public static IApproach approach
public static Assumptions assumptions
public static ICodeGenerator codeGen
public static java.lang.String inputFileName
public static boolean driverMode
public static boolean stubsMode
public static java.lang.String specFileName
public static java.lang.String context
public static java.lang.String code
public static boolean ifElseCodeCond
public static boolean singleEventCond
public static boolean atomicStepsMode
public static boolean printEnvActions
public static java.lang.String packageName
public static java.lang.String outputDirName
public static int numThreads
public static java.lang.String sourceFileName
public static boolean seAnalysis
public static boolean rwAnalysis
public static boolean cfgAnalysis
public static int chainLength
public static boolean returnSensitivity
public static boolean mustSE
public static boolean ofaAnalysis
public static boolean packageAnalysis
public static java.lang.String analysisPackageName
public static boolean unitAnalysis
public static boolean safeLockAnalysis
public static boolean dump
public static int debug
| Constructor Detail |
EnvGenerator(java.lang.String inputFileName)
| Method Detail |
public static void main(java.lang.String[] args)
public static void genDrivers()
public static void genStubs()
public Assumptions performRWAnalysis()
public static void printHelp()
public static void processCmdLine(java.lang.String[] args)
public static void processInput(java.lang.String[] args)
public static java.lang.String[] readInput(java.lang.String inputFileName)
public static void getStatistics()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||