|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SourceStatement | |
---|---|
oracle.javatools.parser.java.v2 | The parser API. |
oracle.javatools.parser.java.v2.model.statement | The parser model API for statements. |
oracle.jdeveloper.java.util | Public utilities for use with the java model, including the parser. |
Uses of SourceStatement in oracle.javatools.parser.java.v2 |
---|
Methods in oracle.javatools.parser.java.v2 that return SourceStatement | |
---|---|
SourceStatement |
SourceFactory.createStatement(java.lang.String text)
See SourceFactory.createStatementFromText(java.lang.String) . |
abstract SourceStatement |
SourceFactory.createStatementFromText(java.lang.String text)
Attempts to create a statement with the given text. |
Uses of SourceStatement in oracle.javatools.parser.java.v2.model.statement |
---|
Subinterfaces of SourceStatement in oracle.javatools.parser.java.v2.model.statement | |
---|---|
interface |
SourceAssertStatement
An assert statement. |
interface |
SourceBlockStatement
A BlockStatement is a final statement representing a statement that is (and only is) a block. |
interface |
SourceBreakStatement
A break statement. |
interface |
SourceCatchClause
A catch clause of a try statement. |
interface |
SourceCompoundStatement
A CompoundStatement is a common base statement representing statements that have children statements. |
interface |
SourceConditionalStatement
A ConditionalStatement is a common base statement representing compound statements having (requiring) a single expression of boolean type. |
interface |
SourceContinueStatement
A continue statement. |
interface |
SourceDoStatement
A do statement. |
interface |
SourceElseClause
An else clause. |
interface |
SourceEmptyStatement
An empty statement. |
interface |
SourceExpressionStatement
An expression statement. |
interface |
SourceFinallyClause
A finally clause. |
interface |
SourceForStatement
A for statement. |
interface |
SourceIfStatement
An if statement. |
interface |
SourceReturnStatement
A return statement. |
interface |
SourceSimpleStatement
A SimpleStatement is a common base statement representing a statement that has no child statement and may optionally have expressions. |
interface |
SourceSwitchStatement
A switch statement. |
interface |
SourceSynchStatement
A synchronized statement. |
interface |
SourceThrowStatement
A throw statement. |
interface |
SourceTryStatement
A try statement. |
interface |
SourceWhileStatement
A while statement. |
Fields in oracle.javatools.parser.java.v2.model.statement declared as SourceStatement | |
---|---|
static SourceStatement[] |
SourceStatement.EMPTY_ARRAY
|
Methods in oracle.javatools.parser.java.v2.model.statement that return SourceStatement | |
---|---|
SourceStatement |
SourceCompoundStatement.getEndClause()
In an if statement, this is the "else" clause. |
SourceStatement |
SourceCompoundStatement.getPrimaryClause()
|
Uses of SourceStatement in oracle.jdeveloper.java.util |
---|
Methods in oracle.jdeveloper.java.util that return SourceStatement | |
---|---|
static SourceStatement |
SourceUtils.addAssignStatement(SourceBlock block,
java.lang.String lhsName,
SourceExpression rhsExpr)
Adds (append) an assignment statement (=) to the block. |
static SourceStatement |
SourceUtils.addAssignStatement(SourceBlock block,
java.lang.String lhsName,
java.lang.String rhsText)
Adds (append) an assignment statement (=) to the block. |
static SourceStatement |
SourceUtils.addExpressionStatement(SourceBlock block,
SourceExpression expr)
Adds (append) an expression as a statement to the block. |
static SourceStatement |
SourceUtils.addExpressionStatement(SourceBlock block,
SourceExpression expr,
SourceElement sibling,
boolean before)
Inserts an expression as a statement to the block by the specified sibling. |
static SourceStatement |
SourceUtils.addExpressionStatement(SourceBlock block,
java.lang.String exprText)
Adds (append) an expression as a statement to the block. |
static SourceStatement |
SourceUtils.addExpressionStatement(SourceBlock block,
java.lang.String exprText,
SourceElement sibling,
boolean before)
Inserts an expression as a statement to the block by the specified sibling. |
static SourceStatement |
SourceUtils.addMethodCallStatement(SourceBlock block,
java.lang.String lhs,
java.lang.String methodName,
SourceExpression[] args)
Adds a method call invocation as a statement to the block. |
static SourceStatement |
SourceUtils.addMethodCallStatement(SourceBlock block,
java.lang.String lhs,
java.lang.String methodName,
java.lang.String[] args)
Adds a method call invocation as a statement to the block. |
static SourceStatement |
SourceUtils.addReturn(SourceBlock block,
java.lang.String stmtText)
Adds (append) a return statement to the given block. |
static SourceStatement |
SourceUtils.addStatement(SourceBlock block,
SourceStatement stmt,
SourceElement sibling,
boolean before)
Inserts a statement to the block by the specified sibling. |
static SourceStatement |
SourceUtils.addStatement(SourceBlock block,
java.lang.String stmtText)
Adds (append) a statement to the block. |
static SourceStatement |
SourceUtils.createReturn(SourceBlock block,
java.lang.String stmtText)
Creates a return statement. |
Methods in oracle.jdeveloper.java.util with parameters of type SourceStatement | |
---|---|
static SourceStatement |
SourceUtils.addStatement(SourceBlock block,
SourceStatement stmt,
SourceElement sibling,
boolean before)
Inserts a statement to the block by the specified sibling. |
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |