public class InternalProcedureRegistry extends Object implements ProcedureRegistry
| Constructor and Description |
|---|
InternalProcedureRegistry(InterproceduralAnalysis analysis,
StateSpaceGeneratorFactory stateSpaceGeneratorFactory) |
| Modifier and Type | Method and Description |
|---|---|
InternalProcedureCall |
getProcedureCall(Method method,
HeapConfiguration initialHeap)
Wraps the method and initialHeap in a new procedureCall
|
void |
registerDependency(ProgramState callingState,
ProcedureCall call)
Stores a dependency between the given state and procedureCall.
|
void |
registerProcedure(ProcedureCall call)
Enqueues the procedureCall to be analyzed later on.
|
void |
registerStateSpace(ProcedureCall call,
StateSpace generatedStateSpace)
Stores the relation between a proceduceCall and the stateSpace generated
by this procedureCall.
|
public InternalProcedureRegistry(InterproceduralAnalysis analysis, StateSpaceGeneratorFactory stateSpaceGeneratorFactory)
public InternalProcedureCall getProcedureCall(Method method, HeapConfiguration initialHeap)
ProcedureRegistrygetProcedureCall in interface ProcedureRegistrymethod - the code of the procedureinitialHeap - the initialHeap from which the procedureCall should startpublic void registerProcedure(ProcedureCall call)
ProcedureRegistryregisterProcedure in interface ProcedureRegistrycall - the required procedureCallpublic void registerDependency(ProgramState callingState, ProcedureCall call)
ProcedureRegistryregisterDependency in interface ProcedureRegistrycallingState - the state when the call is invokedcall - the corresponding procedureCallpublic void registerStateSpace(ProcedureCall call, StateSpace generatedStateSpace)
ProcedureRegistryregisterStateSpace in interface ProcedureRegistrycall - the call corresponding to the stateSpacegeneratedStateSpace - the stateSpace corresponding to the callCopyright © 2018. All rights reserved.