Java.BlockStatement, Java.Locatable, Java.Scopepublic static final class Java.SynchronizedStatement extends Java.Statement
| Modifier and Type | Field | Description |
|---|---|---|
Java.BlockStatement |
body |
The body of this SYNCHRONIZED statement.
|
Java.Rvalue |
expression |
The object reference on which the statement synchronizes.
|
NOWHERElocalVariables| Constructor | Description |
|---|---|
SynchronizedStatement(Location location,
Java.Rvalue expression,
Java.BlockStatement body) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(Visitor.BlockStatementVisitor visitor) |
Invokes the '
visit...()' method of Visitor.BlockStatementVisitor for the concrete
Java.BlockStatement type. |
String |
toString() |
getLocation, throwCompileExceptiongetLocation, throwCompileExceptionfindLocalVariable, getEnclosingScope, setEnclosingScopepublic final Java.Rvalue expression
public final Java.BlockStatement body
public SynchronizedStatement(Location location, Java.Rvalue expression, Java.BlockStatement body)
public void accept(Visitor.BlockStatementVisitor visitor)
Java.BlockStatementvisit...()' method of Visitor.BlockStatementVisitor for the concrete
Java.BlockStatement type.Copyright © 2001–2019. All rights reserved.