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 HasNameT  view HasNameT download HasNameT.java

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.


Field Summary
 
Fields inherited from interface javax.ide.model.java.source.tree.Tree
EMPTY_ARRAY
 
Method Summary
 java.lang.String getName()
          Gets the name string from the name element.
 NameT getNameElement()
          Gets the name symbol.
 void setName(java.lang.String name)
          Sets the name string on the name element to be the input name.
 void setNameElement(NameT name)
          Unlinks the current name 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

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.