| 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> | TypeParameterTree. getAnnotations()Return annotations on the type parameter declaration. | 
| List<? extends AnnotationTree> | ModifiersTree. getAnnotations() | 
| List<? extends AnnotationTree> | NewArrayTree. getAnnotations() | 
| List<? extends AnnotationTree> | AnnotatedTypeTree. getAnnotations() | 
| List<? extends List<? extends AnnotationTree>> | NewArrayTree. getDimAnnotations() | 
| List<? extends AnnotationTree> | CompilationUnitTree. getPackageAnnotations() | 
| Modifier and Type | Method and Description | 
|---|---|
| R | TreeVisitor. visitAnnotation(AnnotationTree node,
               P p) | 
| Modifier and Type | Method and Description | 
|---|---|
| R | SimpleTreeVisitor. visitAnnotation(AnnotationTree node,
               P p) | 
| R | TreeScanner. visitAnnotation(AnnotationTree node,
               P p) | 
 Copyright © 2005, 2017, Oracle and/or its affiliates.  All rights reserved.