Class AnnotationList.ForLoadedAnnotations

    • Field Detail

      • annotations

        private final java.util.List<? extends java.lang.annotation.Annotation> annotations
        The represented annotations.
    • Constructor Detail

      • ForLoadedAnnotations

        public ForLoadedAnnotations​(java.lang.annotation.Annotation... annotation)
        Creates a new list of loaded annotations.
        Parameters:
        annotation - The represented annotations.
      • ForLoadedAnnotations

        public ForLoadedAnnotations​(java.util.List<? extends java.lang.annotation.Annotation> annotations)
        Creates a new list of loaded annotations.
        Parameters:
        annotations - The represented annotations.
    • Method Detail

      • asList

        public static java.util.List<AnnotationList> asList​(java.lang.annotation.Annotation[][] annotations)
        Creates a list of annotation lists representing the given loaded annotations.
        Parameters:
        annotations - The annotations to represent where each dimension is converted into a list.
        Returns:
        A list of annotation lists representing the given annotations.