Uses of Interface com.sun.source.tree.CatchTree (Compiler Tree API )
Date: 2016-10-23

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

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

    Methods in com.sun.source.tree that return types with arguments of type CatchTree
    Modifier and Type | Method and Description
    --- | ---
    `List<? extends CatchTree>` | TryTree.`getCatches()`

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

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

    Methods in com.sun.source.util with parameters of type CatchTree
    Modifier and Type | Method and Description
    --- | ---
    `abstract TypeMirror` | Trees.`getLub(CatchTree tree)` Gets the lub of an exception parameter declared in a catch clause.
    `R` | TreeScanner.`visitCatch(CatchTree node, P p)`
    `R` | SimpleTreeVisitor.`visitCatch(CatchTree node, P p)`

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