Interface UnionTypeTree

All Superinterfaces:
Tree

public interface UnionTypeTree extends Tree
A tree node for a union type expression in a multicatch variable declaration.
Since:
1.7
  • Nested Class Summary

    Nested classes/interfaces declared in interface Tree

    Tree.Kind
    Modifier and Type
    Interface
    Description
    static enum 
    Enumerates all kinds of trees.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<? extends Tree>
    Returns the alternative type expressions.

    Methods declared in interface Tree

    accept, getKind
    Modifier and Type
    Method
    Description
    <R,D> R
    accept(TreeVisitor<R,D> visitor, D data)
    Accept method used to implement the visitor pattern.
    Returns the kind of this tree.
  • Method Details

    • getTypeAlternatives

      List<? extends Tree> getTypeAlternatives()
      Returns the alternative type expressions.
      Returns:
      the alternative type expressions