Class TypeDescription.Generic.OfGenericArray.Latent

    • Field Detail

      • annotationSource

        private final AnnotationSource annotationSource
        The annotation source to query for the declared annotations.
    • Constructor Detail

      • Latent

        public Latent​(TypeDescription.Generic componentType,
                      AnnotationSource annotationSource)
        Creates a latent representation of a generic array type.
        Parameters:
        componentType - The component type.
        annotationSource - The annotation source to query for the declared annotations.
    • Method Detail

      • getDeclaredAnnotations

        public AnnotationList getDeclaredAnnotations()
        Returns a list of annotations that are declared by this instance.
        Returns:
        A list of declared annotations.