Compiler Tree API

com.sun.source.tree
Interface SynchronizedTree

All Superinterfaces:
StatementTree, Tree

public interface SynchronizedTree
extends StatementTree

A tree node for a 'synchronized' statement. For example:

   synchronized ( expression )
       block
 

Since:
1.6
See Also:
"The Java Language Specification, 3rd ed, section 14.19"

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.source.tree.Tree
Tree.Kind
 
Method Summary
 BlockTree getBlock()
           
 ExpressionTree getExpression()
           
 
Methods inherited from interface com.sun.source.tree.Tree
accept, getKind
 

Method Detail

getExpression

ExpressionTree getExpression()

getBlock

BlockTree getBlock()

Compiler Tree API

Submit a bug or feature

Copyright 2010 Sun Microsystems, Inc. All rights reserved. Use is subject to the terms of the GNU General Public License.