public class IdentifierTreeImpl extends AbstractTypedTree implements IdentifierTree
JavaTree.ArrayTypeTreeImpl, JavaTree.CompilationUnitTreeImpl, JavaTree.ImportTreeImpl, JavaTree.NotImplementedTreeImpl, JavaTree.PackageDeclarationTreeImpl, JavaTree.ParameterizedTypeTreeImpl, JavaTree.PrimitiveTypeTreeImpl, JavaTree.UnionTypeTreeImpl, JavaTree.WildcardTreeImpl
grammarRuleKey
Constructor and Description |
---|
IdentifierTreeImpl(InternalSyntaxToken nameToken) |
Modifier and Type | Method and Description |
---|---|
void |
accept(TreeVisitor visitor) |
List<AnnotationTree> |
annotations() |
Iterable<Tree> |
children()
Creates iterable for children of this node.
|
IdentifierTreeImpl |
complete(List<AnnotationTree> annotations) |
SyntaxToken |
identifierToken() |
Tree.Kind |
kind() |
String |
name() |
void |
setSymbol(Symbol symbol) |
Symbol |
symbol() |
String |
toString() |
isTypeSet, setInferedType, setType, symbolType
getChildren, getGrammarRuleKey, getLine, is, isLeaf, parent, setParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
symbolType
symbolType
public IdentifierTreeImpl(InternalSyntaxToken nameToken)
public IdentifierTreeImpl complete(List<AnnotationTree> annotations)
public SyntaxToken identifierToken()
identifierToken
in interface IdentifierTree
public String name()
name
in interface IdentifierTree
public void setSymbol(Symbol symbol)
public Symbol symbol()
symbol
in interface IdentifierTree
public void accept(TreeVisitor visitor)
public Iterable<Tree> children()
JavaTree
null
elements.public List<AnnotationTree> annotations()
annotations
in interface TypeTree
Copyright © 2012–2016 SonarSource. All rights reserved.