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

public Interface WildcardTree

extends Tree
Known Direct Implementers
com.sun.tools.javac.tree.JCTree.JCWildcard

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

  ? extends bound

  ? super bound
Authors
Peter von der Ahé, Jonathan Gibbons
Since
1.6
Java Language Specification
4.5.1 Type Arguments of Parameterized Types

Method Summary

Modifier and TypeMethod and Description
public Tree

Returns:

the bound
getBound
()

Returns the bound of the wildcard.

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

Method Detail

getBoundback to summary
public Tree getBound()

Returns the bound of the wildcard.

Returns:Tree

the bound