Module jdk.compiler

Interface ParameterizedTypeTree

  • All Superinterfaces:
    Tree


    public interface ParameterizedTypeTree
    extends Tree
    A tree node for a type expression involving type parameters. For example:
       type < typeArguments >
     
    Since:
    1.6
    See The Java™ Language Specification:
    section 4.5.1
    • Method Detail

      • getType

        Tree getType​()
        Returns the base type.
        Returns:
        the base type
      • getTypeArguments

        List<? extends Tree> getTypeArguments​()
        Returns the type arguments.
        Returns:
        the type arguments