public class MonitorStmt extends Stmt
| Constructor | Description |
|---|---|
MonitorStmt(int kind,
Expr object) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
clone() |
|
int |
kind() |
|
Expr |
object() |
|
void |
visit(TreeVisitor visitor) |
|
void |
visitForceChildren(TreeVisitor visitor) |
Visit the children of this node.
|
block, cleanup, copyInto, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visitChildren, visitOnlyequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcleanupOnlypublic static final int ENTER
public static final int EXIT
public MonitorStmt(int kind,
Expr object)
kind - The kind of monitor statement: ENTER or EXIT.object - The expression (object) whose monitor is being entered or
exited.public Expr object()
public int kind()
public void visitForceChildren(TreeVisitor visitor)
NodevisitForceChildren in class Nodepublic void visit(TreeVisitor visitor)