Class AnnotationList.Explicit

    • Field Detail

      • annotationDescriptions

        private final java.util.List<? extends AnnotationDescription> annotationDescriptions
        The list of represented annotation descriptions.
    • Constructor Detail

      • Explicit

        public Explicit​(AnnotationDescription... annotationDescription)
        Creates a new list of annotation descriptions.
        Parameters:
        annotationDescription - The list of represented annotation descriptions.
      • Explicit

        public Explicit​(java.util.List<? extends AnnotationDescription> annotationDescriptions)
        Creates a new list of annotation descriptions.
        Parameters:
        annotationDescriptions - The list of represented annotation descriptions.
    • Method Detail

      • asList

        public static java.util.List<AnnotationList> asList​(java.util.List<? extends java.util.List<? extends AnnotationDescription>> annotations)
        Creates a list of annotation lists for a given multidimensional list of annotation descriptions.
        Parameters:
        annotations - The list of annotations to represent as a list of annotation lists.
        Returns:
        The list of annotation lists.