envgen.spec
Class UserSpec
java.lang.Object
|
+--envgen.Assumptions
|
+--envgen.spec.UserSpec
- public class UserSpec
- extends Assumptions
Manages various data structures that play a role of
symbol tables, records instantiations,
definitions, specification
propositions and checks their validity against unit
specification.
|
Field Summary |
(package private) boolean |
debug
|
(package private) java.util.Hashtable |
definitions
|
(package private) java.util.List |
initPropositions
Unit class instantiations as defined in a specification. |
(package private) ThreadSpec |
mainThread
Specification of the main thread |
(package private) ThreadSpec |
thread
|
(package private) java.util.List |
threads
List of specifications of driver threads other than the main |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
definitions
java.util.Hashtable definitions
initPropositions
java.util.List initPropositions
- Unit class instantiations as defined in a specification.
threads
java.util.List threads
- List of specifications of driver threads other than the main
thread
ThreadSpec thread
mainThread
ThreadSpec mainThread
- Specification of the main thread
debug
boolean debug
UserSpec
public UserSpec()
getThreads
public java.util.List getThreads()
getDefinitions
public java.util.Hashtable getDefinitions()
getInstantiations
public java.util.List getInstantiations()
getMainThread
public ThreadSpec getMainThread()
addThread
public void addThread()
addThread
public void addThread(soot.SootClass implClass,
int num)
setThreadNum
public void setThreadNum(int num)
setThreadName
public void setThreadName(java.lang.String name)
setThreadSpecification
public void setThreadSpecification(SpecNode spec)
addProposition
public void addProposition(Proposition prop,
SpecNode node)
addInitProposition
public void addInitProposition(Proposition prop)
addDefinition
public void addDefinition(java.lang.String key,
Proposition prop)