Class TypeDescription.Generic.AnnotationReader.ForTypeVariableBoundType.OfFormalTypeVariable

    • Constructor Detail

      • OfFormalTypeVariable

        protected OfFormalTypeVariable​(java.lang.reflect.TypeVariable<?> typeVariable,
                                       int index)
        Creates a chained annotation reader for reading a formal type variable's bound type.
        Parameters:
        typeVariable - The represented type variable.
        index - The type variable's index.
    • Method Detail

      • resolve

        public java.lang.reflect.AnnotatedElement resolve()
        Description copied from interface: TypeDescription.Generic.AnnotationReader
        Resolves the underlying AnnotatedElement.
        Returns:
        The underlying annotated element.