Package javassist.runtime
Class Cflow
A support class for implementing
$cflow
.
This support class is required at runtime
only if $cflow
is used.- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
enter()
Increments the counter.void
exit()
Decrements the counter.protected Cflow.Depth
int
value()
Returns the value of the counter.Methods inherited from class java.lang.ThreadLocal
get, remove, set, withInitial
-
Constructor Details
-
Cflow
public Cflow()
-
-
Method Details
-
initialValue
- Overrides:
initialValue
in classThreadLocal<Cflow.Depth>
-
enter
public void enter()Increments the counter. -
exit
public void exit()Decrements the counter. -
value
public int value()Returns the value of the counter.
-