Package org.sonar.java.model.declaration
Class AnnotationTreeImpl
- java.lang.Object
-
- org.sonar.java.model.JavaTree
-
- org.sonar.java.model.AbstractTypedTree
-
- org.sonar.java.model.declaration.AnnotationTreeImpl
-
- All Implemented Interfaces:
AnnotationTree
,ExpressionTree
,ModifierTree
,Tree
public class AnnotationTreeImpl extends AbstractTypedTree implements AnnotationTree
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.sonar.java.model.JavaTree
JavaTree.AnnotatedTypeTree, JavaTree.ArrayTypeTreeImpl, JavaTree.CompilationUnitTreeImpl, JavaTree.ImportTreeImpl, JavaTree.NotImplementedTreeImpl, JavaTree.PackageDeclarationTreeImpl, JavaTree.ParameterizedTypeTreeImpl, JavaTree.PrimitiveTypeTreeImpl, JavaTree.UnionTypeTreeImpl, JavaTree.WildcardTreeImpl
-
-
Field Summary
-
Fields inherited from class org.sonar.java.model.JavaTree
grammarRuleKey
-
-
Constructor Summary
Constructors Constructor Description AnnotationTreeImpl(InternalSyntaxToken atToken, TypeTree annotationType, ArgumentListTreeImpl arguments)
-
Method Summary
All Methods Instance Methods Concrete Methods 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()
-
Methods inherited from class org.sonar.java.model.AbstractTypedTree
completeMissingType, isTypeSet, setInferedType, setType, symbolType
-
Methods inherited from class org.sonar.java.model.JavaTree
firstToken, getChildren, getGrammarRuleKey, getLine, is, isLeaf, lastToken, parent, setParent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.sonar.plugins.java.api.tree.ExpressionTree
symbolType
-
Methods inherited from interface org.sonar.plugins.java.api.tree.Tree
firstToken, is, lastToken, parent
-
-
-
-
Constructor Detail
-
AnnotationTreeImpl
public AnnotationTreeImpl(InternalSyntaxToken atToken, TypeTree annotationType, ArgumentListTreeImpl arguments)
-
-
Method Detail
-
annotationType
public TypeTree annotationType()
- Specified by:
annotationType
in interfaceAnnotationTree
-
arguments
public Arguments arguments()
- Specified by:
arguments
in interfaceAnnotationTree
-
accept
public void accept(TreeVisitor visitor)
-
children
public Iterable<Tree> children()
Description copied from class:JavaTree
Creates iterable for children of this node. Note that iterable may containnull
elements.
-
atToken
public SyntaxToken atToken()
- Specified by:
atToken
in interfaceAnnotationTree
-
-