IntersectionTypeTree (Compiler Tree API )
Keywords: com.sun.source.tree.IntersectionTypeTree interface
Date: 2026-04-17

com.sun.source.tree

## Interface IntersectionTypeTree

- All Superinterfaces:
    Tree

      @Exported
      public interface IntersectionTypeTree
      extends Tree

  A tree node for an intersection type in a cast expression.
  Since:
    1.8

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface com.sun.source.tree.Tree

      `Tree.Kind`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<? extends Tree>` | `getBounds()`

    - ### Methods inherited from interface com.sun.source.tree.Tree

      `accept, getKind`

- - ### Method Detail

    - #### getBounds

          List<? extends Tree> getBounds()

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