Package | Description |
---|---|
org.eclipse.jdt.core.dom |
The Java DOM/AST is the set of classes that model the source code of a Java program
as a structured document.
|
Modifier and Type | Class and Description |
---|---|
class |
AssertStatement
Assert statement AST node type.
|
class |
Block
Block statement AST node type.
|
class |
BreakStatement
Break statement AST node type.
|
class |
ConstructorInvocation
Alternate constructor invocation statement AST node type.
|
class |
ContinueStatement
Continue statement AST node type.
|
class |
DoStatement
Do statement AST node type.
|
class |
EmptyStatement
Null statement AST node type.
|
class |
EnhancedForStatement
Enhanced For statement AST node type (added in JLS3 API).
|
class |
ExpressionStatement
Expression statement AST node type.
|
class |
ForStatement
For statement AST node type.
|
class |
IfStatement
If statement AST node type.
|
class |
LabeledStatement
Labeled statement AST node type.
|
class |
ReturnStatement
Return statement AST node type.
|
class |
SuperConstructorInvocation
Super constructor invocation statement AST node type.
|
class |
SwitchCase
Switch case AST node type.
|
class |
SwitchStatement
Switch statement AST node type.
|
class |
SynchronizedStatement
Synchronized statement AST node type.
|
class |
ThrowStatement
Throw statement AST node type.
|
class |
TryStatement
Try statement AST node type.
|
class |
TypeDeclarationStatement
Local type declaration statement AST node type.
|
class |
VariableDeclarationStatement
Local variable declaration statement AST node type.
|
class |
WhileStatement
While statement AST node type.
|
Modifier and Type | Method and Description |
---|---|
Statement |
ForStatement.getBody()
Returns the body of this for statement.
|
Statement |
DoStatement.getBody()
Returns the body of this do statement.
|
Statement |
EnhancedForStatement.getBody()
Returns the body of this enchanced for statement.
|
Statement |
LabeledStatement.getBody()
Returns the body of this labeled statement.
|
Statement |
WhileStatement.getBody()
Returns the body of this while statement.
|
Statement |
IfStatement.getElseStatement()
Returns the "else" part of this if statement, or
null if
this if statement has no "else" part. |
Statement |
IfStatement.getThenStatement()
Returns the "then" part of this if statement.
|
Modifier and Type | Method and Description |
---|---|
void |
ForStatement.setBody(Statement statement)
Sets the body of this for statement.
|
void |
DoStatement.setBody(Statement statement)
Sets the body of this do statement.
|
void |
EnhancedForStatement.setBody(Statement statement)
Sets the body of this enhanced for statement.
|
void |
LabeledStatement.setBody(Statement statement)
Sets the body of this labeled statement.
|
void |
WhileStatement.setBody(Statement statement)
Sets the body of this while statement.
|
void |
IfStatement.setElseStatement(Statement statement)
Sets or clears the "else" part of this if statement.
|
void |
IfStatement.setThenStatement(Statement statement)
Sets the "then" part of this if statement.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.