- All Superinterfaces:
- Tree
- All Known Subinterfaces:
- AnnotationT, ClassT, DocCommentT, DocElementT, DocTagT, DotExpressionT, FieldVariableT, FormalParameterT, IdentifierExpressionT, ImportT, LocalVariableT, MethodCallExpressionT, MethodT, PackageT, StatementLabelT, TypeParameterT, TypeReferenceT, VariableT
- public interface HasNameT
- extends Tree
Common supertype for elements have have a NameT.
| 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 |
getNameElement
public NameT getNameElement()
- Gets the name symbol.
setNameElement
public void setNameElement(NameT name)
- Unlinks the current name and links the input element.
getName
public java.lang.String getName()
- Gets the name string from the name element. Convenience.
setName
public void setName(java.lang.String name)
- Sets the name string on the name element to be the input
name. Convenience.