public final class SynchronizedStmt extends Statement implements NodeWithBlockStmt<SynchronizedStmt>
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE, NODE_BY_BEGIN_POSITION| Constructor and Description |
|---|
SynchronizedStmt() |
SynchronizedStmt(Expression expr,
BlockStmt block) |
SynchronizedStmt(Range range,
Expression expr,
BlockStmt block) |
| Modifier and Type | Method and Description |
|---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg)
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg)
Accept method for visitor support.
|
BlockStmt |
getBlock()
Deprecated.
use
getBody() |
BlockStmt |
getBody() |
Expression |
getExpr() |
SynchronizedStmt |
setBlock(BlockStmt block)
Deprecated.
Use
setBody(BlockStmt) instead |
SynchronizedStmt |
setBody(BlockStmt block) |
SynchronizedStmt |
setExpr(Expression expr) |
addOrphanComment, clone, containsWithin, equals, getAllContainedComments, getBackwardsCompatibleChildrenNodes, getBegin, getChildrenNodes, getComment, getEnd, getNodesByType, getOrphanComments, getParentNode, getParentNodeOfType, getRange, getUserData, hashCode, isPositionedAfter, isPositionedBefore, remove, setAsParentNodeOf, setAsParentNodeOf, setAsParentNodeOf, setBegin, setBlockComment, setComment, setEnd, setLineComment, setParentNode, setRange, setUserData, toString, toStringWithoutComments, tryAddImportToParentCompilationUnitfinalize, getClass, notify, notifyAll, wait, wait, waitcreateBodypublic SynchronizedStmt()
public SynchronizedStmt(Expression expr, BlockStmt block)
public SynchronizedStmt(Range range, Expression expr, BlockStmt block)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Nodepublic <A> void accept(VoidVisitor<A> v, A arg)
Node@Deprecated public BlockStmt getBlock()
getBody()public Expression getExpr()
@Deprecated public SynchronizedStmt setBlock(BlockStmt block)
setBody(BlockStmt) insteadpublic SynchronizedStmt setExpr(Expression expr)
public BlockStmt getBody()
getBody in interface NodeWithBlockStmt<SynchronizedStmt>public SynchronizedStmt setBody(BlockStmt block)
setBody in interface NodeWithBlockStmt<SynchronizedStmt>Copyright © 2007–2016. All rights reserved.