public abstract class AbstractMethodExecutor extends Object implements MethodExecutor
| Constructor and Description |
|---|
AbstractMethodExecutor(ScopeExtractor scopeExtractor,
ContractCollection contractCollection) |
| Modifier and Type | Method and Description |
|---|---|
void |
addContract(Contract contract) |
protected Collection<ProgramState> |
createResultStates(ProgramState input,
Collection<HeapConfiguration> postconditions) |
ContractCollection |
getContractCollection() |
Collection<Contract> |
getContractsForExport() |
protected abstract Collection<HeapConfiguration> |
getPostconditions(ProgramState callingState,
ScopedHeap scopedHeap) |
Collection<ProgramState> |
getResultStates(ProgramState callingState,
ProgramState input) |
ScopeExtractor |
getScopeExtractor() |
public AbstractMethodExecutor(ScopeExtractor scopeExtractor, ContractCollection contractCollection)
public ScopeExtractor getScopeExtractor()
public ContractCollection getContractCollection()
public Collection<ProgramState> getResultStates(ProgramState callingState, ProgramState input)
getResultStates in interface MethodExecutorprotected Collection<ProgramState> createResultStates(ProgramState input, Collection<HeapConfiguration> postconditions)
protected abstract Collection<HeapConfiguration> getPostconditions(ProgramState callingState, ScopedHeap scopedHeap)
public void addContract(Contract contract)
addContract in interface MethodExecutorpublic Collection<Contract> getContractsForExport()
getContractsForExport in interface MethodExecutorCopyright © 2018. All rights reserved.