|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VariableT
Common supertype for field variables (and enum constant variables), local variables, and parameters.
Field Summary | |
---|---|
static VariableT[] |
EMPTY_ARRAY |
Method Summary | |
---|---|
ExpressionT |
getInitializer() Gets the initializer, null if none. |
VariableDeclT |
getOwningDeclaration() Gets the owning variable declaration, null if this is a formal parameter. |
TypeReferenceT |
getType() Gets the type reference for this element. |
void |
setInitializer(ExpressionT expr) Unlinks the current initializer, if any, and links the input element. |
void |
setType(TypeReferenceT type) Unlinks the current source type and links the input element. |
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 |
---|
static final VariableT[] EMPTY_ARRAY
Method Detail |
---|
ExpressionT getInitializer()
void setInitializer(ExpressionT expr)
java.lang.IllegalStateException
- if the input element is already linked.VariableDeclT getOwningDeclaration()
Field variables (SRC_FIELD_VARIABLE) return SrcFieldDeclaration's. Formal parameters (SRC_FORMAL_PARAMETER) return null. Local variables (SRC_LOCAL_VARIABLE) return SrcLocalsDeclaration's.
TypeReferenceT getType()
void setType(TypeReferenceT type)
type
- The new type reference.java.lang.IllegalStateException
- if the input type is already linked.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |