StatementTree
, Tree
public interface SynchronizedTree extends StatementTree
synchronized
statement.
For example:
synchronized ( expression ) block
Modifier and Type | Method | Description |
---|---|---|
BlockTree |
getBlock() |
Returns the block of the
synchronized statement. |
ExpressionTree |
getExpression() |
Returns the expression on which to synchronize.
|
ExpressionTree getExpression()
BlockTree getBlock()
synchronized
statement. Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2005, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b153-2