Class TypeList.Generic.ForLoadedTypes.OfTypeVariables

    • Field Detail

      • typeVariables

        private final java.util.List<java.lang.reflect.TypeVariable<?>> typeVariables
        The type variables this list represents.
    • Constructor Detail

      • OfTypeVariables

        protected OfTypeVariables​(java.lang.reflect.TypeVariable<?>... typeVariable)
        Creates a new type list for loaded type variables.
        Parameters:
        typeVariable - The type variables this list represents.
      • OfTypeVariables

        protected OfTypeVariables​(java.util.List<java.lang.reflect.TypeVariable<?>> typeVariables)
        Creates a new type list for loaded type variables.
        Parameters:
        typeVariables - The type variables this list represents.
    • Method Detail

      • of

        public static TypeList.Generic of​(java.lang.reflect.GenericDeclaration genericDeclaration)
        Creates a list of the type variables of the supplied generic declaration.
        Parameters:
        genericDeclaration - The generic declaration to represent.
        Returns:
        A generic type list for the returned generic declaration.