| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SourceBlock
The SourceCodeBlock represents code blocks for methods and statements. Each block is comprised of code elements: local variable declarations, local class declarations, statements, and switch labels.
| Field Summary | 
|---|
| Fields inherited from interface oracle.javatools.parser.java.v2.model.SourceElement | 
|---|
| CHILDREN_ALL, CHILDREN_BLANKLINES, CHILDREN_COMMENTS, CHILDREN_default, CHILDREN_none, CHILDREN_REGULAR, EMPTY_ARRAY, PRINT_ALL, REFORMAT_ALL, REFORMAT_INDENT | 
| Method Summary | |
|---|---|
|  java.util.List | getCodeElements()Gets the list of code elements. | 
|  java.util.List | getLocalClasses()Gets the collection of local classes. | 
|  java.util.Collection | getLocalVariables()Gets the collection of local variables. | 
| Methods inherited from interface oracle.javatools.parser.java.v2.model.SourceElement | 
|---|
| addSelf, addSelf, addSelfAfter, addSelfBefore, clearBinding, cloneSelf, compile, getBinding, getChildren, getChildren, getCompiledObject, getContainedElements, getEndOffset, getOwningFile, getOwningSourceFile, getParent, getSiblingAfter, getSiblingBefore, getSiblings, getSiblings, getStartOffset, getSymbolKind, getText, print, print, reformatSelf, removeSelf, replaceSelf, resolve, setBinding, setContext, visitSelf | 
| Method Detail | 
|---|
java.util.List getCodeElements()
There are three possible code elements: SourceClass, SourceField, and SourceStatement. This will return the array in order.
java.util.List getLocalClasses()
java.util.Collection getLocalVariables()
| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||