|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjml2b.util.Profiler
jml2b.pog.lemma.VirtualFormula
This class implements a formula with its set of colored informations.
Field Summary | |
static byte |
ASSERT
Formula origin corresponding to an assertion |
static byte |
BLOCK_ENSURES
Formula origin corresponding to an ensures clause of a specified block |
static byte |
BLOCK_EXSURES
Formula origin corresponding to an exsures clause of a specified block |
static byte |
ENSURES
Formula origin corresponding to an ensures clause of a called method |
static byte |
EXSURES
Formula origin corresponding to an exsures clause of a called method |
static byte |
GOAL
Formula origin corresponding to a goal |
static byte |
INVARIANT
Formula origin corresponding to an invariant |
static byte |
LOCALES
Formula origin corresponding to a local hypothese |
static byte |
LOOP_EXSURES
Formula origin corresponding to a loop exsures |
static byte |
LOOP_INVARIANT
Formula origin corresponding to a loop invariant |
static byte |
REQUIRES
Formula origin corresponding to a require clause |
static byte |
STATIC_FINAL_FIELDS_INVARIANT
Formula origin corresponding to a static final field initialization |
Constructor Summary | |
VirtualFormula()
|
|
VirtualFormula(byte origin,
Formula f,
ColoredInfo b)
Constructs a virtual formula |
|
VirtualFormula(byte origin,
Formula f,
java.util.Vector b)
Constructs a virtual formula |
Method Summary | |
Formula |
getFormula()
Returns the formula |
static java.lang.String |
getHypTypeString(byte type)
Returns the string corresponding to an hypothesis type |
int |
getIndex()
Returns the index of the formula |
static int |
getMaxHypType()
Returns the number of hypothese type |
byte |
getOrigin()
Returns the origin. |
boolean |
getsFlow(byte b)
|
void |
save(IJml2bConfiguration config,
JpoOutputStream s,
int index,
JmlFile jf)
Saves the virtual formula into a .jpo file |
void |
setOrigin(byte origin)
Sets the origin. |
Methods inherited from class jml2b.util.Profiler |
runGC |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final byte REQUIRES
public static final byte LOCALES
public static final byte ASSERT
public static final byte ENSURES
public static final byte EXSURES
public static final byte LOOP_INVARIANT
public static final byte LOOP_EXSURES
public static final byte BLOCK_ENSURES
public static final byte BLOCK_EXSURES
public static final byte INVARIANT
public static final byte STATIC_FINAL_FIELDS_INVARIANT
public static final byte GOAL
Constructor Detail |
public VirtualFormula()
public VirtualFormula(byte origin, Formula f, ColoredInfo b)
origin
- The originf
- The formulab
- The associated colored informationpublic VirtualFormula(byte origin, Formula f, java.util.Vector b)
origin
- The originf
- The formulab
- The associated set of colored informationsMethod Detail |
public static int getMaxHypType()
public static java.lang.String getHypTypeString(byte type)
type
- The hypothesis type
public Formula getFormula()
f
public int getIndex()
index
public void save(IJml2bConfiguration config, JpoOutputStream s, int index, JmlFile jf) throws java.io.IOException
s
- The ouput stream corresponding to the jpo fileindex
- The index of the formula into the hypothesis arrayjf
- The current JML file
java.io.IOException
public byte getOrigin()
origin
public void setOrigin(byte origin)
origin
- The origin to setpublic boolean getsFlow(byte b)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |