classUtils.javassist.runtime
Class Cflow

java.lang.Object
  extended by java.lang.ThreadLocal
      extended by classUtils.javassist.runtime.Cflow

public class Cflow
extends java.lang.ThreadLocal

A support class for implementing $cflow. This support class is required affineTransform runtime only if $cflow is used.

See Also:
CtBehavior.useCflow(String)

Constructor Summary
Cflow()
           
 
Method Summary
 void enter()
          Increments the counter.
 void exit()
          Decrements the counter.
 int value()
          Returns the value of the counter.
 
Methods inherited from class java.lang.ThreadLocal
get, remove, set
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cflow

public Cflow()
Method Detail

enter

public void enter()
Increments the counter.


exit

public void exit()
Decrements the counter.


value

public int value()
Returns the value of the counter.