1 *java.lang.reflect.ParameterizedType* *ParameterizedType* ParameterizedType repr
3 public interface interface ParameterizedType
5 implements |java.lang.reflect.Type|
7 |java.lang.reflect.ParameterizedType_Description|
8 |java.lang.reflect.ParameterizedType_Fields|
9 |java.lang.reflect.ParameterizedType_Constructors|
10 |java.lang.reflect.ParameterizedType_Methods|
12 ================================================================================
14 *java.lang.reflect.ParameterizedType_Methods*
15 |java.lang.reflect.ParameterizedType.getActualTypeArguments()|Returns an array
16 |java.lang.reflect.ParameterizedType.getOwnerType()|Returns a Type object repre
17 |java.lang.reflect.ParameterizedType.getRawType()|Returns the Type object repre
19 *java.lang.reflect.ParameterizedType_Description*
21 ParameterizedType represents a parameterized type such as Collection<String>.
23 A parameterized type is created the first time it is needed by a reflective
24 method, as specified in this package. When a parameterized type p is created,
25 the generic type declaration that p instantiates is resolved, and all type
26 arguments of p are created recursively. See
27 TypeVariable(|java.lang.reflect.TypeVariable|) for details on the creation
28 process for type variables. Repeated creation of a parameterized type has no
31 Instances of classes that implement this interface must implement an equals()
32 method that equates any two instances that share the same generic type
33 declaration and have equal type parameters.
36 *java.lang.reflect.ParameterizedType.getActualTypeArguments()*
38 public |java.lang.reflect.Type| getActualTypeArguments()
40 Returns an array of Type objects representing the actual type arguments to this
43 Note that in some cases, the returned array be empty. This can occur if this
44 type represents a non-parameterized type nested within a parameterized type.
47 Returns: an array of Type objects representing the actual type arguments to this type
48 *java.lang.reflect.ParameterizedType.getOwnerType()*
50 public |java.lang.reflect.Type| getOwnerType()
52 Returns a Type object representing the type that this type is a member of. For
53 example, if this type isO.I, return a representation ofO.
55 If this type is a top-level type, null is returned.
58 Returns: a Type object representing the type that this type is a member of. If this type
59 is a top-level type, null is returned
60 *java.lang.reflect.ParameterizedType.getRawType()*
62 public |java.lang.reflect.Type| getRawType()
64 Returns the Type object representing the class or interface that declared this
68 Returns: the Type object representing the class or interface that declared this type