Modifier and Type | Class and Description |
---|---|
static class |
ReflectionUtil.FullTypeInfo
Container for the full type information of a type.
|
Modifier and Type | Method and Description |
---|---|
static ReflectionUtil.FullTypeInfo |
getFullTemplateType(Type type)
Extract the full type information from the given type.
|
static ReflectionUtil.FullTypeInfo |
getFullTemplateType(Type type,
int templatePosition)
Extract the full template type information from the given type's template parameter at the
given position.
|
static Class<?>[] |
getSuperTemplateTypes(Class<?> clazz) |
static Class<?>[] |
getSuperTemplateTypes(Class<?> clazz,
Class<?> searchedSuperClass) |
static <T> Class<T> |
getTemplateType(Class<?> clazz,
Class<?> classWithParameter,
int num) |
static <T> Class<T> |
getTemplateType(Class<?> clazz,
int num) |
static <T> Class<T> |
getTemplateType1(Class<?> clazz) |
static <T> Class<T> |
getTemplateType1(Type type) |
static <T> Class<T> |
getTemplateType2(Class<?> clazz) |
static <T> Class<T> |
getTemplateType3(Class<?> clazz) |
static <T> Class<T> |
getTemplateType4(Class<?> clazz) |
static <T> Class<T> |
getTemplateType5(Class<?> clazz) |
static <T> Class<T> |
getTemplateType6(Class<?> clazz) |
static <T> Class<T> |
getTemplateType7(Class<?> clazz) |
static <T> Class<T> |
getTemplateType8(Class<?> clazz) |
static Class<?>[] |
getTemplateTypes(Class<?> clazz) |
static Class<?>[] |
getTemplateTypes(ParameterizedType paramterizedType) |
static <T> T |
newInstance(Class<T> clazz) |
public static <T> T newInstance(Class<T> clazz)
public static <T> Class<T> getTemplateType(Class<?> clazz, Class<?> classWithParameter, int num)
public static Class<?>[] getSuperTemplateTypes(Class<?> clazz, Class<?> searchedSuperClass)
public static Class<?>[] getTemplateTypes(ParameterizedType paramterizedType)
public static ReflectionUtil.FullTypeInfo getFullTemplateType(Type type, int templatePosition)
type
- type to extract the full template parameter information fromtemplatePosition
- describing at which position the template type parameter ispublic static ReflectionUtil.FullTypeInfo getFullTemplateType(Type type)
type
- to be analyzedCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.