AnnotationTree
, ExpressionTree
, ModifierTree
, Tree
public class AnnotationTreeImpl extends AbstractTypedTree implements AnnotationTree
JavaTree.AnnotatedTypeTree, JavaTree.ArrayTypeTreeImpl, JavaTree.CompilationUnitTreeImpl, JavaTree.ImportTreeImpl, JavaTree.NotImplementedTreeImpl, JavaTree.PackageDeclarationTreeImpl, JavaTree.ParameterizedTypeTreeImpl, JavaTree.PrimitiveTypeTreeImpl, JavaTree.UnionTypeTreeImpl, JavaTree.WildcardTreeImpl
grammarRuleKey
Constructor | Description |
---|---|
AnnotationTreeImpl(InternalSyntaxToken atToken,
TypeTree annotationType,
ArgumentListTreeImpl arguments) |
Modifier and Type | Method | Description |
---|---|---|
void |
accept(TreeVisitor visitor) |
|
TypeTree |
annotationType() |
|
Arguments |
arguments() |
|
SyntaxToken |
atToken() |
|
Iterable<Tree> |
children() |
Creates iterable for children of this node.
|
Tree.Kind |
kind() |
completeMissingType, isTypeSet, setInferedType, setType, symbolType
symbolType
firstToken, getChildren, getGrammarRuleKey, getLine, is, isLeaf, lastToken, parent, setParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
firstToken, is, lastToken, parent
public AnnotationTreeImpl(InternalSyntaxToken atToken, TypeTree annotationType, ArgumentListTreeImpl arguments)
public TypeTree annotationType()
annotationType
in interface AnnotationTree
public Arguments arguments()
arguments
in interface AnnotationTree
public void accept(TreeVisitor visitor)
public Iterable<Tree> children()
JavaTree
null
elements.public SyntaxToken atToken()
atToken
in interface AnnotationTree
Copyright © 2012–2018 SonarSource. All rights reserved.