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 TypeMethodDescriptionvoidenter()Increments the counter.voidexit()Decrements the counter.protected Cflow.Depthintvalue()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:
initialValuein 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.
-