Class Generics


  • public final class Generics
    extends Object
    • Constructor Detail

      • Generics

        private Generics()
    • Method Detail

      • toResolvedTypes

        public static Map<Type,​Type> toResolvedTypes​(Type clazz)
      • resolveWildcardType

        private static Type resolveWildcardType​(Type value)
      • resolveParameterizedType

        private static Type resolveParameterizedType​(Type value,
                                                     Type rootClass,
                                                     Map<Type,​Type> resolved)
      • resolveTypeVariable

        private static Type resolveTypeVariable​(Type value,
                                                Type rootClass,
                                                Map<Type,​Type> resolved)