Interface WildcardTree

All Superinterfaces:
Tree

public interface WildcardTree extends Tree
A tree node for a wildcard type argument. Use getKind to determine the kind of bound. For example:
  ?

  ? extends bound

  ? super bound
See Java Language Specification:
4.5.1 Type Arguments of Parameterized Types
Since:
1.6
  • 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
    Returns the bound of the wildcard.

    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

    • getBound

      Tree getBound()
      Returns the bound of the wildcard.
      Returns:
      the bound