ParameterizedTypeImpl is a basic implementation of the ParameterizedType interface. It is used by the dynamic CDI producers that produce generic types.
| Modifier and Type | Field and Description |
|---|---|
| private final Type[] | actualTypeArguments
Stores the actual type arguments. |
| private final Type | ownerType
Stores the owner type. |
| private final Class | rawType
Stores the raw type. |
| Access | Constructor and Description |
|---|---|
| public | ParameterizedTypeImpl(Class<?>
Type representing the class or interface that declares
this type. rawType, Type[] Array of Types representing the actual type
arguments for this type actualTypeArguments)Constructs an instance of ParameterizedType without an owner type |
| public | ParameterizedTypeImpl(Type
the Type representing the type that this type is
embedded in, if any. It can be null. ownerType, Class<?> the Type representing the class or interface that declares
this type. rawType, Type[] Array of Types representing the actual type
arguments for this type actualTypeArguments)Constructs an instance of ParameterizedType |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if it is equals, false otherwise.the object to compare against. other)Overrides java. |
| public boolean | Returns: true if instances equal, false otherwise.the other instance of ParameterizedType other)Tests if an other instance of ParameterizedType is "equal to" this instance. |
| public Type[] | Returns: the actual type arguments.Implements java. |
| public Type | Returns: the owner type.Implements java. |
| public Type | Returns: the raw type.Implements java. |
| public int |
| actualTypeArguments | back to summary |
|---|---|
| private final Type[] actualTypeArguments Stores the actual type arguments. | |
| ownerType | back to summary |
|---|---|
| private final Type ownerType Stores the owner type. | |
| rawType | back to summary |
|---|---|
| private final Class<?> rawType Stores the raw type. | |
| ParameterizedTypeImpl | back to summary |
|---|---|
| public ParameterizedTypeImpl(Class<?> rawType, Type[] actualTypeArguments) Constructs an instance of ParameterizedType without an owner type | |
| ParameterizedTypeImpl | back to summary |
|---|---|
| public ParameterizedTypeImpl(Type ownerType, Class<?> rawType, Type[] actualTypeArguments) Constructs an instance of ParameterizedType | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Equals method. | |
| equals | back to summary |
|---|---|
| public boolean equals(ParameterizedType other) Tests if an other instance of ParameterizedType is "equal to" this instance.
| |
| getActualTypeArguments | back to summary |
|---|---|
| public Type[] getActualTypeArguments() Implements java. Get the actual type arguments. | |
| getOwnerType | back to summary |
|---|---|
| public Type getOwnerType() Implements java. Get the owner type. | |
| getRawType | back to summary |
|---|---|
| public Type getRawType() Implements java. Get the raw type. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Hash code.
| |