public class ParameterizedTypeImpl extends Object implements ParameterizedType
ParameterizedTypeImpl is a basic implementation of the ParameterizedType interface. It is used by the dynamic CDI producers that produce generic types.
Constructor and Description |
---|
ParameterizedTypeImpl(Class<?> rawType,
Type[] actualTypeArguments)
Constructs an instance of ParameterizedType without an owner type
|
ParameterizedTypeImpl(Type ownerType,
Class<?> rawType,
Type[] actualTypeArguments)
Constructs an instance of ParameterizedType
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
Equals method.
|
boolean |
equals(ParameterizedType other)
Tests if an other instance of ParameterizedType is "equal to" this
instance.
|
Type[] |
getActualTypeArguments()
Get the actual type arguments.
|
Type |
getOwnerType()
Get the owner type.
|
Type |
getRawType()
Get the raw type.
|
int |
hashCode()
Hash code.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getTypeName
public ParameterizedTypeImpl(Class<?> rawType, Type[] actualTypeArguments)
rawType
- Type representing the class or interface that declares
this type.actualTypeArguments
- Array of Types representing the actual type
arguments for this typepublic ParameterizedTypeImpl(Type ownerType, Class<?> rawType, Type[] actualTypeArguments)
ownerType
- the Type representing the type that this type is
embedded in, if any. It can be null.rawType
- the Type representing the class or interface that declares
this type.actualTypeArguments
- Array of Types representing the actual type
arguments for this typepublic Type getOwnerType()
getOwnerType
in interface ParameterizedType
public Type getRawType()
getRawType
in interface ParameterizedType
public Type[] getActualTypeArguments()
getActualTypeArguments
in interface ParameterizedType
public boolean equals(Object other)
public boolean equals(ParameterizedType other)
other
- the other instance of ParameterizedTypeComments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.