|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--envgen.codegen.UnitInterface
Discovers unit's interface that consists of visible methods and fields of the unit.
| Field Summary | |
(package private) int |
debug
Set to print debugging messages. |
(package private) java.util.List |
defaultInstantiations
|
(package private) java.util.List |
defaultPropositions
List that holds MethodCall objects defining public nonabstract methods that are used for generation of universal drivers. |
(package private) java.util.HashMap |
envTable
Table of environment components, in the case of the driver, components that make a driver. |
(package private) java.util.HashMap |
unitTable
Table of unit (internal) classes. |
| Constructor Summary | |
UnitInterface(java.util.HashMap unitTable,
java.util.HashMap envTable)
|
|
| Method Summary | |
void |
findUnitInterface()
Discovers the interface of the unit. |
java.util.List |
getDefaultInstantiations()
|
protected MethodCall |
getDefaultMethodCall(soot.SootClass internalClass,
soot.SootMethod internalMethod)
Creates a default proposition for invocation of internalMethod,
used for creation of universal drivers and for creation
of propositions universe for an LTL specification. |
java.util.List |
getDefaultPropositions()
|
java.util.HashMap |
getEnvTable()
|
protected void |
getInstanceClasses()
Gathers classes of the unit that need to be instantiated in the driver. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
java.util.HashMap unitTable
java.util.HashMap envTable
java.util.List defaultPropositions
java.util.List defaultInstantiations
int debug
| Constructor Detail |
public UnitInterface(java.util.HashMap unitTable,
java.util.HashMap envTable)
| Method Detail |
public void findUnitInterface()
protected void getInstanceClasses()
protected MethodCall getDefaultMethodCall(soot.SootClass internalClass,
soot.SootMethod internalMethod)
internalMethod,
used for creation of universal drivers and for creation
of propositions universe for an LTL specification.
public java.util.List getDefaultPropositions()
public java.util.List getDefaultInstantiations()
public java.util.HashMap getEnvTable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||