Package javassist.runtime
Class Cflow
- java.lang.Object
-
- java.lang.ThreadLocal<Cflow.Depth>
-
- javassist.runtime.Cflow
-
public class Cflow extends java.lang.ThreadLocal<Cflow.Depth>
A support class for implementing$cflow
. This support class is required at runtime only if$cflow
is used.- See Also:
CtBehavior.useCflow(String)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
Cflow.Depth
-
Constructor Summary
Constructors Constructor Description Cflow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enter()
Increments the counter.void
exit()
Decrements the counter.protected Cflow.Depth
initialValue()
int
value()
Returns the value of the counter.
-
-
-
Method Detail
-
initialValue
protected Cflow.Depth initialValue()
- Overrides:
initialValue
in classjava.lang.ThreadLocal<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.
-
-