net.sourceforge.wohenchan
Class Debug

java.lang.Object
  |
  +--net.sourceforge.wohenchan.Debug

public final class Debug
extends java.lang.Object

Yet Another Stupid Debugging Class.

Version:
$Name: $ $Date: 2003/06/22 21:20:23 $
Author:
Wesley Tanaka

Field Summary
static boolean on
           
 
Constructor Summary
Debug()
           
 
Method Summary
static void assrt(boolean condition)
          assert() without detail message.
static void assrt(boolean condition, java.lang.String detailMsg)
          assert() with detail message and reversed parameters.
static java.lang.String decompile(java.lang.Object o)
           
static void println(java.lang.String category, java.lang.String msg)
           
private static java.lang.String unicodeEscape(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

on

public static boolean on
Constructor Detail

Debug

public Debug()
Method Detail

assrt

public static final void assrt(boolean condition)
assert() without detail message.

Parameters:
condition - WHERE (condition == true) the assert condition.
Throws:
AssertionFailure - IF (!condition)

assrt

public static final void assrt(boolean condition,
                               java.lang.String detailMsg)
assert() with detail message and reversed parameters.

Parameters:
condition - WHERE (condition == true)
Throws:
AssertionFailure - IF (!condition)

println

public static final void println(java.lang.String category,
                                 java.lang.String msg)

unicodeEscape

private static java.lang.String unicodeEscape(java.lang.String s)

decompile

public static java.lang.String decompile(java.lang.Object o)