public static final class Java.SynchronizedStatement extends Java.Statement
| Modifier and Type | Field and Description |
|---|---|
Java.BlockStatement |
body
The body of this SYNCHRONIZED statement.
|
Java.Rvalue |
expression
The object reference on which the statement synchronizes.
|
localVariablesNOWHERE| Constructor and Description |
|---|
SynchronizedStatement(Location location,
Java.Rvalue expression,
Java.BlockStatement body) |
| Modifier and Type | Method and Description |
|---|---|
<R,EX extends Throwable> |
accept(Visitor.BlockStatementVisitor<R,EX> visitor)
Invokes the "
visit...()" method of Visitor.BlockStatementVisitor for the concrete
Java.BlockStatement type. |
String |
toString() |
findLocalVariable, getEnclosingScope, setEnclosingScopegetLocation, throwCompileExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLocation, throwCompileExceptionpublic final Java.Rvalue expression
public final Java.BlockStatement body
public SynchronizedStatement(Location location, Java.Rvalue expression, Java.BlockStatement body)
@Nullable public <R,EX extends Throwable> R accept(Visitor.BlockStatementVisitor<R,EX> visitor) throws EX extends Throwable
Java.BlockStatementvisit...()" method of Visitor.BlockStatementVisitor for the concrete
Java.BlockStatement type.EX extends ThrowableCopyright © 2019. All rights reserved.