This subinterface of Type represents a parameterized type. getrawType( ) returns the base type that has been parameterized. getActualTypeArguments( ) returns the type parameters as a Type[ ] . Note that these parameters may themselves be ParameterizedType objects. getOwnerType( ) is used with parameterized types that are also nested types: it returns the generic type of the containing type. Figure 10-99. java.lang.reflect.ParameterizedTypepublic interface ParameterizedType extends Type { // Public Instance Methods Type[ ] getActualTypeArguments ( ); Type getOwnerType ( ); Type getRawType ( ); } |