public interface VariableDeclT extends Tree, HasModifiersT
EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
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.
|
addModifiers, getAnnotations, getModifiers, isAbstract, isFinal, isPrivate, isProtected, isPublic, isStatic, isStrictfp, removeModifiers, setModifiers
accept, addSelf, addSelf, addSelfAfter, addSelfBefore, clearProperty, cloneSelf, getChildren, getOwningFile, getParent, getPosition, getProperty, getSiblingAfter, getSiblingBefore, getSiblings, getTreeKind, isSynthetic, removeSelf, replaceSelf, setProperty
java.util.List getVariables()
TypeReferenceT getType()
void setType(TypeReferenceT type)
type
- The new type reference.java.lang.IllegalStateException
- if the input type is already linked.