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

- Packages that use ClassTree
  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 ClassTree in com.sun.source.tree

    Methods in com.sun.source.tree that return ClassTree
    Modifier and Type | Method and Description
    --- | ---
    `ClassTree` | NewClassTree.`getClassBody()`

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

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

    Methods in com.sun.source.util that return ClassTree
    Modifier and Type | Method and Description
    --- | ---
    `abstract ClassTree` | Trees.`getTree(TypeElement element)` Gets the ClassTree node for a given TypeElement.

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

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