Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

javax.ide.model.java.source.tree
Interface LocalVariableT

All Superinterfaces:
HasModifiersT, HasNameT, Tree, VariableT

public interface LocalVariableT
extends VariableT

A local variable, not a parameter.


Field Summary
static LocalVariableT[] EMPTY_ARRAY
           
 
Method Summary
 BlockT getOwningBlock()
          Gets the owning block.
 
Methods inherited from interface javax.ide.model.java.source.tree.VariableT
getInitializer, getOwningDeclaration, getType, setInitializer, setType
 
Methods inherited from interface javax.ide.model.java.source.tree.HasModifiersT
addModifiers, getAnnotations, getModifiers, isAbstract, isFinal, isPrivate, isProtected, isPublic, isStatic, isStrictfp, removeModifiers, setModifiers
 
Methods inherited from interface javax.ide.model.java.source.tree.HasNameT
getName, getNameElement, setName, setNameElement
 
Methods inherited from interface javax.ide.model.java.source.tree.Tree
accept, addSelf, addSelf, addSelfAfter, addSelfBefore, clearProperty, cloneSelf, getChildren, getOwningFile, getParent, getPosition, getProperty, getSiblingAfter, getSiblingBefore, getSiblings, getTreeKind, isSynthetic, removeSelf, replaceSelf, setProperty
 

Field Detail

EMPTY_ARRAY

static final LocalVariableT[] EMPTY_ARRAY
Method Detail

getOwningBlock

BlockT getOwningBlock()
Gets the owning block.

Returns:
The code block that this variable is declared to be used in. Local variables return the owning block. Formal parameters return the owning method's block. Null if the method is abstract. Exception parameters return the owning catch clause's block.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

Copyright © 1997, 2011, Oracle. All rights reserved.