public final class DependencyContractPO extends AbstractPO implements ContractPO
AbstractPO.Vertex
IPersistablePO.LoadedPOContainer
Modifier and Type | Field and Description |
---|---|
private DependencyContract |
contract |
private Term |
mbyAtPre |
private InitConfig |
proofConfig |
private TermBuilder |
tb |
environmentConfig, environmentServices, heapLDT, javaInfo, name, poNames, poTerms, specRepos, taclets
PROPERTY_ADD_SYMBOLIC_EXECUTION_LABEL, PROPERTY_ADD_UNINTERPRETED_PREDICATE, PROPERTY_CLASS, PROPERTY_FILENAME, PROPERTY_NAME
Constructor and Description |
---|
DependencyContractPO(InitConfig initConfig,
DependencyContract contract) |
Modifier and Type | Method and Description |
---|---|
private Term |
buildFreePre(java.util.List<LocationVariable> heaps,
ProgramVariable selfVar,
KeYJavaType selfKJT,
ImmutableList<ProgramVariable> paramVars,
Term wellFormedHeaps,
Services services) |
boolean |
equals(java.lang.Object o) |
void |
fillSaveProperties(java.util.Properties properties)
This method is called by a
ProofSaver to store the proof
specific settings in the given Properties . |
KeYJavaType |
getContainerType()
Returns the
KeYJavaType in which the proven element is contained in. |
DependencyContract |
getContract() |
protected InitConfig |
getCreatedInitConfigForSingleProof() |
Term |
getMbyAtPre() |
int |
hashCode() |
boolean |
implies(ProofOblInput po)
If true, then this PO implies the passed one.
|
static IPersistablePO.LoadedPOContainer |
loadFrom(InitConfig initConfig,
java.util.Properties properties)
Instantiates a new proof obligation with the given settings.
|
private Services |
postInit() |
void |
readProblem() |
assignPOTerms, collectClassAxioms, createProof, createProofObject, generateSelfCreated, generateSelfExactType, generateSelfExactType, generateSelfNotNull, generateWdTaclets, getName, getPO, name, register, register, register, selectClassAxioms
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getPO, name
private Term mbyAtPre
private DependencyContract contract
private InitConfig proofConfig
private TermBuilder tb
public DependencyContractPO(InitConfig initConfig, DependencyContract contract)
private Term buildFreePre(java.util.List<LocationVariable> heaps, ProgramVariable selfVar, KeYJavaType selfKJT, ImmutableList<ProgramVariable> paramVars, Term wellFormedHeaps, Services services) throws ProofInputException
ProofInputException
public void readProblem() throws ProofInputException
readProblem
in interface ProofOblInput
ProofInputException
private Services postInit()
public boolean implies(ProofOblInput po)
ProofOblInput
implies
in interface ProofOblInput
implies
in class AbstractPO
public DependencyContract getContract()
getContract
in interface ContractPO
public Term getMbyAtPre()
getMbyAtPre
in interface ContractPO
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void fillSaveProperties(java.util.Properties properties) throws java.io.IOException
ProofSaver
to store the proof
specific settings in the given Properties
. The stored settings
have to contain all information required to instantiate the proof
obligation again and this instance should create the same Sequent
(if code and specifications are unchanged).fillSaveProperties
in interface IPersistablePO
fillSaveProperties
in class AbstractPO
properties
- The Properties
to fill with the proof obligation specific settings.java.io.IOException
- Occurred Exception.public static IPersistablePO.LoadedPOContainer loadFrom(InitConfig initConfig, java.util.Properties properties) throws java.io.IOException
initConfig
- The already load InitConfig
.properties
- The settings of the proof obligation to instantiate.java.io.IOException
- Occurred Exception.protected InitConfig getCreatedInitConfigForSingleProof()
getCreatedInitConfigForSingleProof
in class AbstractPO
public KeYJavaType getContainerType()
KeYJavaType
in which the proven element is contained in.getContainerType
in interface ProofOblInput
getContainerType
in class AbstractPO
KeYJavaType
in which the proven element is contained in or null
if not available.