|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjpov.structure.TreeObject
jpov.structure.Method
This class implements a node tree corresponding to a method.
Constructor Summary | |
Method(IJml2bConfiguration config,
IJmlFile fi,
JpoInputStream s)
Constructs a method from a loaded .jpo file |
Method Summary | |
void |
addGoals(java.util.ArrayList al)
|
void |
freeLemmas()
|
int |
getFirstLine()
Returns the firstLine. |
Proofs |
getLemmas()
Returns the lemmas. |
java.lang.String |
getName()
|
int |
getNbCheckedPo()
|
int |
getNbPo()
Returns the number of proof obligations for this node. |
int |
getNbPoProved()
Returns the number of proved proof obligations for this node. |
int |
getNbPoProved(java.lang.String prover)
Returns the number of proved proof obligations for this node. |
java.lang.String |
getPmiName()
Returns the method pmi name |
java.lang.String |
getText(int type)
Returns the displayed text for this node. |
Proofs |
getWellDefinednessLemmas()
|
boolean |
isConstructor()
|
boolean |
isStatic()
|
void |
selectAll()
|
void |
setChecked()
Sets the node and its children to checked. |
void |
setUnchecked()
Sets the node and its children to unchecked |
void |
updateStatus()
|
Methods inherited from class jpov.structure.TreeObject |
getParent, isChecked, isProved, percentProved |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Method(IJml2bConfiguration config, IJmlFile fi, JpoInputStream s) throws java.io.IOException, LoadException
s
- The input stream corresponding to the JPO fileMethod Detail |
public java.lang.String getText(int type)
TreeObject
getText
in class TreeObject
public int getNbPo()
TreeObject
getNbPo
in class TreeObject
public int getNbPoProved()
TreeObject
getNbPoProved
in class TreeObject
public int getNbPoProved(java.lang.String prover)
TreeObject
getNbPoProved
in class TreeObject
public int getNbCheckedPo()
public java.lang.String getPmiName()
pmiName
public void setChecked()
TreeObject
setChecked
in class TreeObject
public void setUnchecked()
TreeObject
setUnchecked
in class TreeObject
public int getFirstLine()
firstLine
public Proofs getLemmas()
lemmas
public Proofs getWellDefinednessLemmas()
public boolean isConstructor()
public boolean isStatic()
public void freeLemmas()
public java.lang.String getName()
public void updateStatus()
public void addGoals(java.util.ArrayList al)
public void selectAll()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |