Class TypeVariableBindings


  • public class TypeVariableBindings
    extends Object
    Author:
    Gunnar Morling
    • Method Detail

      • getTypeVariableBindings

        public static Map<Class<?>,​Map<TypeVariable<?>,​TypeVariable<?>>> getTypeVariableBindings​(Class<?> type)
        Returns the bindings for all the type variables from the given type's hierarchy. The returned map will contain an entry for each type in the given type's class hierarchy (including interfaces). Each entry is a map from the given type's type variables to the corresponding type variables of the type represented by that entry.