- All Superinterfaces:
- Tree
- All Known Subinterfaces:
- FieldDeclT, LocalVariableDeclT
- public interface VariableDeclT
- extends Tree
Common supertype for field declarations and local variable
declarations.
| Fields inherited from interface javax.ide.model.java.source.tree.Tree |
EMPTY_ARRAY |
| 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 |
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.