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, contains, equals, getAllContainedComments, getBegin, getChildrenNodes, getComment, getEnd, getNodesByType, getOrphanComments, getParentNode, getParentNodeOfType, getRange, getUserData, hasComment, hashCode, isPositionedAfter, isPositionedBefore, remove, setAsParentNodeOf, setAsParentNodeOf, setBegin, setBlockComment, setComment, setEnd, setLineComment, setParentNode, setRange, setUserData, toString, toStringWithoutComments, tryAddImportToParentCompilationUnit
finalize, getClass, notify, notifyAll, wait, wait, wait
createBody
public 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)
Node
public <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)
insteadblock
- public 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.