Class TypeDescription.Generic.OfTypeVariable.ForLoadedType

    • Constructor Detail

      • ForLoadedType

        public ForLoadedType​(TypeVariable<?> typeVariable)
        Creates a description of a loaded type variable.
        Parameters:
        typeVariable - The represented type variable.
      • ForLoadedType

        protected ForLoadedType​(TypeVariable<?> typeVariable,
                                TypeDescription.Generic.AnnotationReader annotationReader)
        Creates a description of a loaded type variable with an annotation.
        Parameters:
        typeVariable - The represented type variable.
        annotationReader - The annotation reader to query for the variable's annotations.