public class AnnotationTreeImpl extends AbstractTypedTree implements AnnotationTree
JavaTree.ArrayTypeTreeImpl, JavaTree.CompilationUnitTreeImpl, JavaTree.ImportTreeImpl, JavaTree.NotImplementedTreeImpl, JavaTree.ParameterizedTypeTreeImpl, JavaTree.PrimitiveTypeTreeImpl, JavaTree.UnionTypeTreeImpl, JavaTree.WildcardTreeImpl| Constructor and Description |
|---|
AnnotationTreeImpl(com.sonar.sslr.api.AstNode astNode,
Tree annotationType,
List<ExpressionTree> arguments) |
AnnotationTreeImpl(InternalSyntaxToken atToken,
Tree annotationType,
ArgumentListTreeImpl arguments) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(TreeVisitor visitor) |
Tree |
annotationType() |
List<ExpressionTree> |
arguments() |
Iterator<Tree> |
childrenIterator()
Creates iterator for children of this node.
|
Tree.Kind |
getKind() |
getSymbolType, setTypeaddChild, getAstNode, getLine, is, isLeaf, isLegacy, prependChildren, prependChildrenfindChildren, findDirectChildren, findFirstChild, findFirstDirectChild, findFirstParent, getChild, getChildren, getChildren, getDescendants, getFirstAncestor, getFirstAncestor, getFirstChild, getFirstChild, getFirstDescendant, getFromIndex, getLastChild, getLastChild, getLastToken, getName, getNextAstNode, getNextSibling, getNumberOfChildren, getParent, getPreviousAstNode, getPreviousSibling, getToIndex, getToken, getTokenLine, getTokenOriginalValue, getTokens, getTokenValue, getType, hasAncestor, hasAncestor, hasChildren, hasChildren, hasDescendant, hasDirectChildren, hasParent, hasParents, hasToBeSkippedFromAst, hasToken, is, isCopyBookOrGeneratedNode, isNot, nextAstNode, nextSibling, previousAstNode, previousSibling, select, setFromIndex, setToIndex, toStringpublic AnnotationTreeImpl(InternalSyntaxToken atToken, Tree annotationType, @Nullable ArgumentListTreeImpl arguments)
public AnnotationTreeImpl(com.sonar.sslr.api.AstNode astNode,
Tree annotationType,
List<ExpressionTree> arguments)
public Tree annotationType()
annotationType in interface AnnotationTreepublic List<ExpressionTree> arguments()
arguments in interface AnnotationTreepublic void accept(TreeVisitor visitor)
public Iterator<Tree> childrenIterator()
JavaTreenull elements.childrenIterator in class JavaTreeCopyright © 2012–2015 SonarSource. All rights reserved.