|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jmlspecs.jml4.rac.Debugger
public abstract class Debugger
Provides a bunch of utility methods for debugging RAC implementation. This class is only for the development and need not be included in the distribution.
Constructor Summary | |
---|---|
Debugger()
|
Method Summary | |
---|---|
static void |
debug(Statement[] stmts)
Prints the given statements. |
static void |
debug(java.lang.String msg)
Prints the given string. |
static void |
debugMergedRacCode(boolean flag)
Makes the RAC code be printed for debugging purpose after it gets merged to the original source code. |
static void |
debugRacCode(boolean flag)
Makes the RAC code be printed for debugging purpose before it gets merged to the original source code. |
static void |
setDebugStream(java.io.PrintStream out)
Sets the output stream on which RAC code and other debug nformation will be printed. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Debugger()
Method Detail |
---|
public static void debugRacCode(boolean flag)
setDebugStream(PrintStream)
or
System.out
by default.
public static void debugMergedRacCode(boolean flag)
setDebugStream(PrintStream)
or
System.out
by default.
public static void setDebugStream(java.io.PrintStream out)
public static void debug(Statement[] stmts)
public static void debug(java.lang.String msg)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |