All Packages Class Hierarchy This Package Previous Next Index
Class phil.util.traceJ.TraceToken
java.lang.Object
|
+----phil.util.traceJ.TraceToken
- public class TraceToken
- extends Object
Represents the trace state of the current method.
-
TraceToken(String, String)
- Creates a TraceToken.
-
getBits()
- Returns the trace bits currently enabled.
-
getClassName()
- Returns the short name of the class associated with the active object.
-
getDepth()
- Returns the current trace depth.
-
getMethodName()
- Returns the name of the currently active method.
-
tracing()
- Returns
true
if the current method is being traced, false
if not.
TraceToken
public TraceToken(String clName,
String mName)
- Creates a TraceToken.
- Parameters:
- clName - java.lang.String
- mName - java.lang.String
getBits
public int getBits()
- Returns the trace bits currently enabled.
- Returns:
- int
getClassName
public String getClassName()
- Returns the short name of the class associated with the active object.
- Returns:
- java.lang.String
getDepth
public int getDepth()
- Returns the current trace depth.
- Returns:
- int
getMethodName
public String getMethodName()
- Returns the name of the currently active method.
- Returns:
- java.lang.String
tracing
public boolean tracing()
- Returns
true
if the current method is being traced, false
if not.
- Returns:
- boolean
All Packages Class Hierarchy This Package Previous Next Index