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 voidaccept(TreeVisitor visitor)TypeTreeannotationType()Argumentsarguments()SyntaxTokenatToken()Iterable<Tree>children()Creates iterable for children of this node.Tree.Kindkind()-
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:
annotationTypein interfaceAnnotationTree
-
arguments
public Arguments arguments()
- Specified by:
argumentsin interfaceAnnotationTree
-
accept
public void accept(TreeVisitor visitor)
-
children
public Iterable<Tree> children()
Description copied from class:JavaTreeCreates iterable for children of this node. Note that iterable may containnullelements.
-
atToken
public SyntaxToken atToken()
- Specified by:
atTokenin interfaceAnnotationTree
-
-