Package | Description |
---|---|
com.sun.source.tree |
Provides interfaces to represent source code as abstract syntax
trees (AST).
|
com.sun.source.util |
Provides utilities for operations on abstract syntax trees (AST).
|
Modifier and Type | Method | Description |
---|---|---|
BlockTree |
CatchTree.getBlock() |
Returns the catch block.
|
BlockTree |
SynchronizedTree.getBlock() |
Returns the block of the
synchronized statement. |
BlockTree |
TryTree.getBlock() |
Returns the block of the
try statement. |
BlockTree |
MethodTree.getBody() |
Returns the method body, or
null if this is an abstract or native method. |
BlockTree |
TryTree.getFinallyBlock() |
Returns the finally block provided in the
try statement,
or null if there is none. |
Modifier and Type | Method | Description |
---|---|---|
R |
TreeVisitor.visitBlock(BlockTree node,
P p) |
Visits a BlockTree node.
|
Modifier and Type | Method | Description |
---|---|---|
R |
SimpleTreeVisitor.visitBlock(BlockTree node,
P p) |
Visits a BlockTree node.
|
R |
TreeScanner.visitBlock(BlockTree node,
P p) |
Visits a BlockTree node.
|
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-Debian+0-9b161-1