Class TypeVariables

java.lang.Object
org.hibernate.validator.internal.util.TypeVariables

public class TypeVariables extends Object
Provides some utility methods for TypeVariables.
Author:
Guillaume Smet
  • Method Details

    • getContainerClass

      public static Class<?> getContainerClass(TypeVariable<?> typeParameter)
    • getActualTypeParameter

      public static TypeVariable<?> getActualTypeParameter(TypeVariable<?> typeParameter)
    • isInternal

      public static boolean isInternal(TypeVariable<?> typeParameter)
    • isAnnotatedObject

      public static boolean isAnnotatedObject(TypeVariable<?> typeParameter)
    • isArrayElement

      public static boolean isArrayElement(TypeVariable<?> typeParameter)
    • getTypeParameterName

      public static String getTypeParameterName(Class<?> clazz, int typeParameterIndex)
    • getTypeParameterIndex

      public static Integer getTypeParameterIndex(TypeVariable<?> typeParameter)
    • getContainerElementType

      public static Type getContainerElementType(Type type, TypeVariable<?> typeParameter)