Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## javassist.runtime
Class Cflow

    java.lang.Object
      |
      +--java.lang.ThreadLocal
            |
            +--javassist.runtime.Cflow

public class Cflow
extends java.lang.ThreadLocal

A support class for implementing `$cflow`. This support class is required at 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, 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.

Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Javassist, a Java-bytecode translator toolkit. Copyright (C) 1999-2003 Shigeru Chiba. All Rights Reserved.