Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.model.java.source.tree
Interface VariableDeclT  view VariableDeclT download VariableDeclT.java

All Superinterfaces:
Tree
All Known Subinterfaces:
FieldDeclT, LocalVariableDeclT

public interface VariableDeclT
extends Tree

Common supertype for field declarations and local variable declarations.


Field Summary
 
Fields inherited from interface javax.ide.model.java.source.tree.Tree
EMPTY_ARRAY
 
Method Summary
 TypeReferenceT getType()
          Gets the type reference for this element.
 java.util.List getVariables()
          Gets the list of declared variables.
 void setType(TypeReferenceT type)
          Unlinks the current source type and links the input element.
 
Methods inherited from interface javax.ide.model.java.source.tree.Tree
accept, accept, addSelf, addSelf, addSelfAfter, addSelfBefore, clearProperty, cloneSelf, getChildren, getOwningFile, getParent, getPosition, getProperty, getSiblingAfter, getSiblingBefore, getSiblings, getTreeKind, isSynthetic, removeSelf, replaceSelf, setProperty
 

Method Detail

getVariables

public java.util.List getVariables()
Gets the list of declared variables. If this is an enum constant, there can never be more than one variable.


getType

public TypeReferenceT getType()
Gets the type reference for this element.


setType

public void setType(TypeReferenceT type)
Unlinks the current source type and links the input element.