APIdia Launch Partner
Top Description Methods
com.sun.source.tree

public Interface UnionTypeTree

extends Tree
Known Direct Implementers
com.sun.tools.javac.tree.JCTree.JCTypeUnion
Imports
java.util.List

A tree node for a union type expression in a multicatch variable declaration.
Author
Maurizio Cimadamore
Since
1.7

Method Summary

Modifier and TypeMethod and Description
public List<? extends Tree>

Returns:

the alternative type expressions
getTypeAlternatives
()

Returns the alternative type expressions.

Inherited from com.sun.source.tree.Tree:
acceptgetKind

Method Detail

getTypeAlternativesback to summary
public List<? extends Tree> getTypeAlternatives()

Returns the alternative type expressions.

Returns:List<? extends Tree>

the alternative type expressions