public class GeneratedParameterizedType extends Object implements MetaParameterizedType
Modifier and Type | Field and Description |
---|---|
protected List<MetaType> |
actualTypeArguments |
protected MetaType |
ownerType |
protected MetaClass |
rawType |
getRawType, refer
format
Constructor and Description |
---|
GeneratedParameterizedType(MetaClass rawType,
MetaType... actualTypeArguments) |
GeneratedParameterizedType(MetaType ownerType,
MetaClass rawType,
MetaType... actualTypeArguments) |
Modifier and Type | Method and Description |
---|---|
Format |
format() |
List<MetaType> |
getActualTypeArguments() |
MetaType |
getOwnerType() |
MetaClass |
getRawType() |
static GeneratedParameterizedType |
parametrize(Class<?> rawType,
Class<?>... actualTypeArguments) |
static GeneratedParameterizedType |
parametrize(Class<?> rawType,
MetaType... actualTypeArguments) |
static GeneratedParameterizedType |
parametrize(MetaClass rawType,
MetaType... actualTypeArguments) |
GeneratedParameterizedType |
parametrizeNested(MetaClass rawType,
MetaType... actualTypeArguments) |
Format |
refer() |
void |
setReflectiveParameter(int i,
MetaType param)
Patch parameter type to self.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
format
public GeneratedParameterizedType(MetaClass rawType, MetaType... actualTypeArguments)
public MetaType getOwnerType()
getOwnerType
in interface MetaParameterizedType
public MetaClass getRawType()
getRawType
in interface MetaParameterizedType
getRawType
in interface MetaType
public void setReflectiveParameter(int i, MetaType param)
public List<MetaType> getActualTypeArguments()
getActualTypeArguments
in interface MetaParameterizedType
public GeneratedParameterizedType parametrizeNested(MetaClass rawType, MetaType... actualTypeArguments)
public static GeneratedParameterizedType parametrize(MetaClass rawType, MetaType... actualTypeArguments)
public static GeneratedParameterizedType parametrize(Class<?> rawType, MetaType... actualTypeArguments)
public static GeneratedParameterizedType parametrize(Class<?> rawType, Class<?>... actualTypeArguments)
public final Format format()
format
in interface Formattable
see also the complete user documentation .