|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jml2b.util.Profiler jml2b.pog.util.ColoredInfo
This class defines informations associated to formula in order to color the code in the viewer.
Field Summary | |
static byte |
EQUALS_0
comment indice corresponding to a ArithmeticException (red). |
static byte |
IS_FALSE
comment indice corresponding to a test considered as false (blue). |
static byte |
IS_NEGATIVE
comment indice corresponding to a NegativeArraySizeException (red). |
static byte |
IS_NOT_CASTABLE
comment indice corresponding to a ClassCastException (red). |
static byte |
IS_NOT_STORABLE
comment indice corresponding to a ArrayStoreException (red) |
static byte |
IS_NULL
comment indice corresponding to a NullPointerException (red). |
static byte |
IS_OUT_OF_BOUNDS
comment indice corresponding to a ArrayIndexOutOfBoundException (red) |
static byte |
IS_TRUE
comment indice corresponding to a test considered as true (blue). |
static byte |
METHOD_CALL
comment indice corresponding to the call of a method (blue). |
static byte |
NEW
comment indice corresponding to an object creation (blue). |
static byte |
THROWS_EXCEPTION
comment indice corresponding to an exception thrown by a method call (red) |
Constructor Summary | |
ColoredInfo()
Constructs a colored info with no coloration. |
|
ColoredInfo(ParsedItem b)
Constructs a green colored info |
|
ColoredInfo(ParsedItem b,
byte c)
Constructs a red colored info or a blue without additional informations. |
|
ColoredInfo(ParsedItem b,
byte c,
java.lang.String s)
Constructs a blue colored info with informations. |
Method Summary | |
byte |
getComment()
|
int |
getIndex()
|
void |
save(JpoOutputStream s,
int index,
JmlFile f)
Saves the colored info in a .jpo file if it is declared in a specified JML file |
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 IS_TRUE
public static final byte IS_FALSE
public static final byte IS_NOT_CASTABLE
public static final byte IS_NEGATIVE
public static final byte IS_NULL
public static final byte EQUALS_0
public static final byte IS_NOT_STORABLE
public static final byte IS_OUT_OF_BOUNDS
public static final byte THROWS_EXCEPTION
public static final byte METHOD_CALL
public static final byte NEW
Constructor Detail |
public ColoredInfo()
public ColoredInfo(ParsedItem b)
public ColoredInfo(ParsedItem b, byte c)
public ColoredInfo(ParsedItem b, byte c, java.lang.String s)
Method Detail |
public void save(JpoOutputStream s, int index, JmlFile f) throws java.io.IOException
s
- output stream for the jpo files
java.io.IOException
VirtualFormula#save(DataOutputStream, int, JmlFile)
,
Theorem#save(DataOutputStream, JmlFile)
public int getIndex()
public byte getComment()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |