Class TypeDescription.Generic.AnnotationReader.ForTypeVariableBoundType.OfFormalTypeVariable

    • Field Detail

      • GET_ANNOTATED_BOUNDS

        private static final java.lang.reflect.Method GET_ANNOTATED_BOUNDS
        The java.lang.reflect.TypeVariable#getAnnotatedBounds method.
      • typeVariable

        private final java.lang.reflect.TypeVariable<?> typeVariable
        The represented type variable.
      • index

        private final int index
        The type variable's index.
    • 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()
        Resolves the underlying AnnotatedElement.
        Returns:
        The underlying annotated element.