Package org.xwiki.component.util
Class DefaultParameterizedType
- java.lang.Object
-
- org.xwiki.component.util.DefaultParameterizedType
-
- All Implemented Interfaces:
ParameterizedType
,Type
public class DefaultParameterizedType extends Object implements ParameterizedType
Basic implementation ofParameterizedType
.- Version:
- $Id: 38f0b37fde7dcb604c23ff82fa0ac20160f4870b $
-
-
Constructor Summary
Constructors Constructor Description DefaultParameterizedType(ParameterizedType type)
DefaultParameterizedType(Type ownerType, Class<?> rawType, Type... actualTypeArguments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Type[]
getActualTypeArguments()
Type
getOwnerType()
Type
getRawType()
int
hashCode()
String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.reflect.Type
getTypeName
-
-
-
-
Constructor Detail
-
DefaultParameterizedType
public DefaultParameterizedType(Type ownerType, Class<?> rawType, Type... actualTypeArguments)
- Parameters:
ownerType
- the owner typerawType
- the raw typeactualTypeArguments
- the generic arguments
-
DefaultParameterizedType
public DefaultParameterizedType(ParameterizedType type)
- Parameters:
type
- the type to duplicate
-
-
Method Detail
-
getActualTypeArguments
public Type[] getActualTypeArguments()
- Specified by:
getActualTypeArguments
in interfaceParameterizedType
-
getOwnerType
public Type getOwnerType()
- Specified by:
getOwnerType
in interfaceParameterizedType
-
getRawType
public Type getRawType()
- Specified by:
getRawType
in interfaceParameterizedType
-
-