javassist.runtime

Class Cflow

public class Cflow extends ThreadLocal

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

See Also: useCflow

Method Summary
voidenter()
Increments the counter.
voidexit()
Decrements the counter.
intvalue()
Returns the value of the counter.

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.
Javassist, a Java-bytecode translator toolkit.
Copyright (C) 1999-2006 Shigeru Chiba. All Rights Reserved.