public interface ParameterizedType extends Type
List<E>, possible invocations
 include:
 
       List<String>
       List<T extends Number>
       List<?>
 
 A generic inner class Outer<T>.Inner<S> might be invoked as:
 
       Outer<Number>.Inner<String>
 | Modifier and Type | Method and Description | 
|---|---|
| ClassDoc | asClassDoc()Return the generic class or interface that declared this type. | 
| Type | containingType()Return the type that contains this type as a member. | 
| Type[] | interfaceTypes()Return the interface types directly implemented by or extended by this
 parameterized type. | 
| Type | superclassType()Return the class type that is a direct supertype of this one. | 
| Type[] | typeArguments()Return the actual type arguments of this type. | 
asAnnotatedType, asAnnotationTypeDoc, asParameterizedType, asTypeVariable, asWildcardType, dimension, getElementType, isPrimitive, qualifiedTypeName, simpleTypeName, toString, typeNameClassDoc asClassDoc()
asClassDoc in interface TypeType[] typeArguments()
Outer<T>.Inner<S>),
 only the type arguments of the innermost type are included.Type superclassType()
 For example, if this parameterized type is
 java.util.ArrayList<String>, the result will be
 java.util.AbstractList<String>.
Type[] interfaceTypes()
 For example, the interface extended by
 java.util.Set<String> is java.util.Collection<String>.
Type containingType()
 For example, the containing type of
 AnInterface.Nested<Number> is the ClassDoc
 representing AnInterface, and the containing type of
 Outer<String>.Inner<Number> is the
 ParameterizedType representing Outer<String>.
 Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
 Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.