Class TypeDescription.Generic.OfGenericArray.ForLoadedType

    • Constructor Detail

      • ForLoadedType

        public ForLoadedType​(java.lang.reflect.GenericArrayType genericArrayType)
        Creates a type description of the given generic array type.
        Parameters:
        genericArrayType - The loaded generic array type.
      • ForLoadedType

        protected ForLoadedType​(java.lang.reflect.GenericArrayType genericArrayType,
                                TypeDescription.Generic.AnnotationReader annotationReader)
        Creates a type description of the given generic array type.
        Parameters:
        genericArrayType - The loaded generic array type.
        annotationReader - The annotation reader to query for the generic array type's annotations.
    • Method Detail

      • getDeclaredAnnotations

        public AnnotationList getDeclaredAnnotations()
        Description copied from interface: AnnotationSource
        Returns a list of annotations that are declared by this instance.
        Returns:
        A list of declared annotations.