Package | Description |
---|---|
com.sun.source.tree |
Provides interfaces to represent source code as abstract syntax
trees (AST).
|
com.sun.tools.javac.tree |
Modifier and Type | Interface and Description |
---|---|
interface |
AssertTree
A tree node for an 'assert' statement.
|
interface |
BlockTree
A tree node for a statement block.
|
interface |
BreakTree
A tree node for a 'break' statement.
|
interface |
ClassTree
A tree node for a class, interface, enum, or annotation
type declaration.
|
interface |
ContinueTree
A tree node for a 'continue' statement.
|
interface |
DoWhileLoopTree
A tree node for a 'do' statement.
|
interface |
EmptyStatementTree
A tree node for an empty (skip) statement.
|
interface |
EnhancedForLoopTree
A tree node for an "enhanced" 'for' loop statement.
|
interface |
ExpressionStatementTree
A tree node for an expression statement.
|
interface |
ForLoopTree
A tree node for a basic 'for' loop statement.
|
interface |
IfTree
A tree node for an 'if' statement.
|
interface |
LabeledStatementTree
A tree node for a labeled statement.
|
interface |
ReturnTree
A tree node for a 'return' statement.
|
interface |
SwitchTree
A tree node for a 'switch' statement.
|
interface |
SynchronizedTree
A tree node for a 'synchronized' statement.
|
interface |
ThrowTree
A tree node for a 'throw' statement.
|
interface |
TryTree
A tree node for a 'try' statement.
|
interface |
VariableTree
A tree node for a variable declaration.
|
interface |
WhileLoopTree
A tree node for a 'while' loop statement.
|
Modifier and Type | Method and Description |
---|---|
StatementTree |
IfTree.getElseStatement() |
StatementTree |
DoWhileLoopTree.getStatement() |
StatementTree |
EnhancedForLoopTree.getStatement() |
StatementTree |
ForLoopTree.getStatement() |
StatementTree |
LabeledStatementTree.getStatement() |
StatementTree |
WhileLoopTree.getStatement() |
StatementTree |
IfTree.getThenStatement() |
Modifier and Type | Method and Description |
---|---|
List<? extends StatementTree> |
ForLoopTree.getInitializer() |
List<? extends StatementTree> |
BlockTree.getStatements() |
List<? extends StatementTree> |
CaseTree.getStatements() |
Modifier and Type | Class and Description |
---|---|
static class |
JCTree.JCAssert
An assert statement.
|
static class |
JCTree.JCBlock
A statement block.
|
static class |
JCTree.JCBreak
A break from a loop or switch.
|
static class |
JCTree.JCCase
A "case :" of a switch.
|
static class |
JCTree.JCClassDecl
A class definition.
|
static class |
JCTree.JCContinue
A continue of a loop.
|
static class |
JCTree.JCDoWhileLoop
A do loop
|
static class |
JCTree.JCEnhancedForLoop
The enhanced for loop.
|
static class |
JCTree.JCExpressionStatement
an expression statement
|
static class |
JCTree.JCForLoop
A for loop.
|
static class |
JCTree.JCIf
An "if ( ) { } else { }" block
|
static class |
JCTree.JCLabeledStatement
A labelled expression or statement.
|
static class |
JCTree.JCReturn
A return statement.
|
static class |
JCTree.JCSkip
A no-op statement ";".
|
static class |
JCTree.JCStatement |
static class |
JCTree.JCSwitch
A "switch ( ) { }" construction.
|
static class |
JCTree.JCSynchronized
A synchronized block.
|
static class |
JCTree.JCThrow
A throw statement.
|
static class |
JCTree.JCTry
A "try { } catch ( ) { } finally { }" block.
|
static class |
JCTree.JCVariableDecl
A variable definition.
|
static class |
JCTree.JCWhileLoop
A while loop
|
Copyright © 2017 earcam. All rights reserved.