- All Superinterfaces:
- Tree
- public interface NameT
- extends Tree
A name, simple or qualified.
In certain cases, it may contain non-identifier characters. For
example, in an import declaration, the name will include the
trailing ".*".
| 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 |
EMPTY_ARRAY
public static final NameT[] EMPTY_ARRAY
setText
public void setText(java.lang.String text)
- Replaces the current text with the input raw text.
getValue
public java.lang.String getValue()
- Gets the String value of this name. The name "getValue" is
inherited from the previous parser version. The "value" is not
always the same as the "text". For example, if the text is an
identifier including unicode characters, the value will have a
translated text whereas the text is the raw text.
setValue
public void setValue(java.lang.String value)
- Replaces the current value with the input value.