Package | Description |
---|---|
oracle.javatools.parser.java.v2 |
The parser API.
|
oracle.javatools.parser.java.v2.util |
Various utilities for use with the parser.
|
Modifier and Type | Method and Description |
---|---|
abstract SourceForStatement |
SourceFactory.createForEnhancedStatement(SourceLocalVariableDeclaration loopVarDecl,
SourceExpression collection,
SourceStatement child)
Creates an enhanced-for loop.
|
SourceForStatement |
SourceFactory.createForEnhancedStatement(SourceLocalVariable loopVariable,
SourceExpression collection,
SourceStatement child)
Creates an enhanced-for loop.
|
SourceForStatement |
SourceFactory.createForEnhancedStatement(java.lang.String loopVariableTypeName,
java.lang.String loopVariableName,
java.lang.String collectionName,
SourceStatement child)
Creates an enhanced-for loop.
|
SourceForStatement |
SourceFactory.createForStatement(SourceExpression initialization,
SourceExpression condition,
SourceExpression update,
SourceStatement child)
Creates a traditional for loop with no variable declarators and
with at most one initialization and at most one update.
|
abstract SourceForStatement |
SourceFactory.createForStatement(SourceListExpression initializations,
SourceExpression condition,
SourceListExpression updates,
SourceStatement child)
Creates a traditional for loop with no variable declarators.
|
abstract SourceForStatement |
SourceFactory.createForVariableStatement(SourceLocalVariableDeclaration variables,
SourceExpression condition,
SourceListExpression updates,
SourceStatement child)
Creates a traditional for loop with variable declarations.
|
SourceForStatement |
SourceFactory.createForVariableStatement(SourceLocalVariable variable,
SourceExpression condition,
SourceExpression update,
SourceStatement child)
Creates a traditional for loop with a single
local variable and at most one update expression.
|
Modifier and Type | Method and Description |
---|---|
void |
SourceVisitor.whenEnterForStatement(SourceForStatement sourceForStatement) |
void |
SourceVisitor.whenExitForStatement(SourceForStatement sourceForStatement) |