|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| 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 |
SourceAssertStatementAn assert statement. |
interface |
SourceBlockStatementA BlockStatement is a final statement representing a statement that is (and only is) a block. |
interface |
SourceBreakStatementA break statement. |
interface |
SourceCatchClauseA catch clause of a try statement. |
interface |
SourceCompoundStatementA CompoundStatement is a common base statement representing statements that have children statements. |
interface |
SourceConditionalStatementA ConditionalStatement is a common base statement representing compound statements having (requiring) a single expression of boolean type. |
interface |
SourceContinueStatementA continue statement. |
interface |
SourceDoStatementA do statement. |
interface |
SourceElseClauseAn else clause. |
interface |
SourceEmptyStatementAn empty statement. |
interface |
SourceExpressionStatementAn expression statement. |
interface |
SourceFinallyClauseA finally clause. |
interface |
SourceForStatementA for statement. |
interface |
SourceIfStatementAn if statement. |
interface |
SourceReturnStatementA return statement. |
interface |
SourceSimpleStatementA SimpleStatement is a common base statement representing a statement that has no child statement and may optionally have expressions. |
interface |
SourceSwitchStatementA switch statement. |
interface |
SourceSynchStatementA synchronized statement. |
interface |
SourceThrowStatementA throw statement. |
interface |
SourceTryStatementA try statement. |
interface |
SourceWhileStatementA 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.9.0) E52944-01 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||