public class Cflow extends ThreadLocal<Cflow.Depth>
$cflow
.
This support class is required at runtime
only if $cflow
is used.CtBehavior.useCflow(String)
Modifier and Type | Class | Description |
---|---|---|
protected static class |
Cflow.Depth |
Constructor | Description |
---|---|
Cflow() |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get, remove, set, withInitial
protected Cflow.Depth initialValue()
initialValue
in class ThreadLocal<Cflow.Depth>
public void enter()
public void exit()
public int value()
Copyright © 2018 Shigeru Chiba, www.javassist.org. All rights reserved.