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 | 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> |
ModuleTree.getAnnotations() |
Returns the annotations associated with this module declaration.
|
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 | Description |
---|---|---|
R |
TreeVisitor.visitAnnotation(AnnotationTree node,
P p) |
Visits an AnnotatedTree node.
|
Modifier and Type | Method | Description |
---|---|---|
R |
SimpleTreeVisitor.visitAnnotation(AnnotationTree node,
P p) |
Visits an AnnotatedTree node.
|
R |
TreeScanner.visitAnnotation(AnnotationTree node,
P p) |
Visits an AnnotatedTree node.
|
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2005, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b158-1