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

public Interface ParameterizedTypeTree

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

A tree node for a type expression involving type parameters. For example:
  type < typeArguments >
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 base type
getType
()

Returns the base type.

public List<? extends Tree>

Returns:

the type arguments
getTypeArguments
()

Returns the type arguments.

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

Method Detail

getTypeback to summary
public Tree getType()

Returns the base type.

Returns:Tree

the base type

getTypeArgumentsback to summary
public List<? extends Tree> getTypeArguments()

Returns the type arguments.

Returns:List<? extends Tree>

the type arguments