Package eu.bandm.tools.metajava
Class GeneratedParameterizedType
java.lang.Object
eu.bandm.tools.metajava.AbstractMetaType
eu.bandm.tools.metajava.GeneratedParameterizedType
- All Implemented Interfaces:
Formattable
,MetaParameterizedType
,MetaType
-
Field Summary
Fields inherited from interface eu.bandm.tools.metajava.MetaType
getRawType, refer
-
Constructor Summary
ConstructorDescriptionGeneratedParameterizedType
(MetaClass rawType, MetaType... actualTypeArguments) GeneratedParameterizedType
(MetaType ownerType, MetaClass rawType, MetaType... actualTypeArguments) -
Method Summary
Modifier and TypeMethodDescriptionstatic GeneratedParameterizedType
parametrize
(MetaClass rawType, MetaType... actualTypeArguments) static GeneratedParameterizedType
parametrize
(Class<?> rawType, MetaType... actualTypeArguments) static GeneratedParameterizedType
parametrize
(Class<?> rawType, Class<?>... actualTypeArguments) parametrizeNested
(MetaClass rawType, MetaType... actualTypeArguments) void
setReflectiveParameter
(int i, MetaType param) Patch parameter type to self.Methods inherited from class eu.bandm.tools.metajava.AbstractMetaType
format, refer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface eu.bandm.tools.format.Formattable
format
-
Field Details
-
ownerType
-
rawType
-
actualTypeArguments
-
-
Constructor Details
-
GeneratedParameterizedType
-
GeneratedParameterizedType
-
-
Method Details
-
getOwnerType
- Specified by:
getOwnerType
in interfaceMetaParameterizedType
-
getRawType
- Specified by:
getRawType
in interfaceMetaParameterizedType
- Specified by:
getRawType
in interfaceMetaType
-
setReflectiveParameter
Patch parameter type to self. Must have been some dummy type in constructor call. ml added 20170802. -
getActualTypeArguments
- Specified by:
getActualTypeArguments
in interfaceMetaParameterizedType
-
parametrizeNested
public GeneratedParameterizedType parametrizeNested(MetaClass rawType, MetaType... actualTypeArguments) -
parametrize
public static GeneratedParameterizedType parametrize(MetaClass rawType, MetaType... actualTypeArguments) -
parametrize
public static GeneratedParameterizedType parametrize(Class<?> rawType, MetaType... actualTypeArguments) -
parametrize
public static GeneratedParameterizedType parametrize(Class<?> rawType, Class<?>... actualTypeArguments)
-