| Package | Description |
|---|---|
| oracle.javatools.parser.java.v2 |
The parser API.
|
| oracle.javatools.parser.java.v2.model.statement |
The parser model API for statements.
|
| oracle.javatools.parser.java.v2.util |
Various utilities for use with the parser.
|
| oracle.jdeveloper.java.util |
Public utilities for use with the java model, including the parser.
|
| Modifier and Type | Method and Description |
|---|---|
SourceIfStatement |
SourceFactory.createIfElseStatement(SourceExpression e, SourceStatement trueClause, SourceStatement elseClause)
Creates an if-else statement.
|
abstract SourceIfStatement |
SourceFactory.createIfStatement(SourceExpression e, SourceStatement child)
Creates an if statement.
|
abstract SourceIfStatement |
SourceFactory.createIfStatement(SourceExpression e, SourceStatement child, SourceElseClause clause)
Creates an if or an if-else statement.
|
| Modifier and Type | Method and Description |
|---|---|
SourceIfStatement |
SourceElseClause.getOwningIf() |
| Modifier and Type | Method and Description |
|---|---|
void |
SourceVisitor.whenEnterIfStatement(SourceIfStatement sourceIfStatement) |
void |
SourceVisitor.whenExitIfStatement(SourceIfStatement sourceIfStatement) |
| Modifier and Type | Method and Description |
|---|---|
static SourceIfStatement |
SourceUtils.addIfElseStatement(SourceBlock block, java.lang.String condition, SourceBlock ifBlock, SourceBlock elseBlock)
Adds an if/else statement to the block, using the given condition and if/else blocks.
|
static SourceIfStatement |
SourceUtils.addIfStatement(SourceBlock block, java.lang.String condition, SourceBlock ifBlock)
Adds an if statement to the block, using the given condition and if block.
|