Package | Description |
---|---|
com.sun.source.tree |
Provides interfaces to represent source code as abstract syntax
trees (AST).
|
com.sun.source.util |
Provides utilities for operations on abstract syntax trees (AST).
|
Modifier and Type | Method and Description |
---|---|
List<? extends AnnotationTree> |
AnnotatedTypeTree.getAnnotations()
Returns the annotations associated with this type expression.
|
List<? extends AnnotationTree> |
ModifiersTree.getAnnotations()
Returns the annotations in this modifiers tree.
|
List<? extends AnnotationTree> |
NewArrayTree.getAnnotations()
Returns the annotations on the base type.
|
List<? extends AnnotationTree> |
PackageTree.getAnnotations()
Returns the annotations associated with this package declaration.
|
List<? extends AnnotationTree> |
TypeParameterTree.getAnnotations()
Returns annotations on the type parameter declaration.
|
List<? extends List<? extends AnnotationTree>> |
NewArrayTree.getDimAnnotations()
Returns the annotations on each of the dimension
expressions.
|
List<? extends AnnotationTree> |
CompilationUnitTree.getPackageAnnotations()
Returns the annotations listed on any package declaration
at the head of this compilation unit, or
null if there
is no package declaration. |
Modifier and Type | Method and Description |
---|---|
R |
TreeVisitor.visitAnnotation(AnnotationTree node,
P p)
Visits an AnnotatedTree node.
|
Modifier and Type | Method and Description |
---|---|
R |
SimpleTreeVisitor.visitAnnotation(AnnotationTree node,
P p)
Visits an AnnotatedTree node.
|
R |
TreeScanner.visitAnnotation(AnnotationTree node,
P p)
Visits an AnnotatedTree node.
|
Copyright © 2005, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-04-13-183229.buildd.src