| 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 and 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 and Description |
|---|---|
R |
TreeVisitor.visitBlock(BlockTree node,
P p)
Visits a BlockTree node.
|
| Modifier and Type | Method and Description |
|---|---|
R |
SimpleTreeVisitor.visitBlock(BlockTree node,
P p)
Visits a BlockTree node.
|
R |
TreeScanner.visitBlock(BlockTree node,
P p)
Visits a BlockTree node.
|
Copyright © 2005, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-04-14-195246.buildd.src