## Uses of Interface
com.sun.source.tree.AnnotationTree

- Packages that use AnnotationTree
  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).

- - ### Uses of AnnotationTree in com.sun.source.tree

    Methods in com.sun.source.tree that return types with arguments of type AnnotationTree
    Modifier and Type | Method and Description
    --- | ---
    `List<? extends AnnotationTree>` | AnnotatedTypeTree.`getAnnotations()`
    `List<? extends AnnotationTree>` | TypeParameterTree.`getAnnotations()` Return annotations on the type parameter declaration.
    `List<? extends AnnotationTree>` | ModifiersTree.`getAnnotations()`
    `List<? extends AnnotationTree>` | NewArrayTree.`getAnnotations()`
    `List<? extends List<? extends AnnotationTree>>` | NewArrayTree.`getDimAnnotations()`
    `List<? extends AnnotationTree>` | CompilationUnitTree.`getPackageAnnotations()`

    Methods in com.sun.source.tree with parameters of type AnnotationTree
    Modifier and Type | Method and Description
    --- | ---
    `R` | TreeVisitor.`visitAnnotation(AnnotationTree node, P p)`

  - ### Uses of AnnotationTree in com.sun.source.util

    Methods in com.sun.source.util with parameters of type AnnotationTree
    Modifier and Type | Method and Description
    --- | ---
    `R` | TreeScanner.`visitAnnotation(AnnotationTree node, P p)`
    `R` | SimpleTreeVisitor.`visitAnnotation(AnnotationTree node, P p)`

Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved.