public class TypeVariables extends Object
Modifier and Type | Method and Description |
---|---|
static TypeVariable<?> |
getActualTypeParameter(TypeVariable<?> typeParameter) |
static Class<?> |
getContainerClass(TypeVariable<?> typeParameter) |
static Type |
getContainerElementType(Type type,
TypeVariable<?> typeParameter) |
static Integer |
getTypeParameterIndex(TypeVariable<?> typeParameter) |
static String |
getTypeParameterName(Class<?> clazz,
int typeParameterIndex) |
static boolean |
isAnnotatedObject(TypeVariable<?> typeParameter) |
static boolean |
isArrayElement(TypeVariable<?> typeParameter) |
static boolean |
isInternal(TypeVariable<?> typeParameter) |
public static Class<?> getContainerClass(TypeVariable<?> typeParameter)
public static TypeVariable<?> getActualTypeParameter(TypeVariable<?> typeParameter)
public static boolean isInternal(TypeVariable<?> typeParameter)
public static boolean isAnnotatedObject(TypeVariable<?> typeParameter)
public static boolean isArrayElement(TypeVariable<?> typeParameter)
public static String getTypeParameterName(Class<?> clazz, int typeParameterIndex)
public static Integer getTypeParameterIndex(TypeVariable<?> typeParameter)
public static Type getContainerElementType(Type type, TypeVariable<?> typeParameter)
Copyright © 2021 JBoss by Red Hat. All rights reserved.