Class AnnotationSource.Explicit

  • All Implemented Interfaces:
    AnnotationSource
    Enclosing interface:
    AnnotationSource

    public static class AnnotationSource.Explicit
    extends java.lang.Object
    implements AnnotationSource
    An annotation source that declares a given list of annotations.
    • Constructor Detail

      • Explicit

        public Explicit​(AnnotationDescription... annotation)
        Creates a new explicit annotation source.
        Parameters:
        annotation - The represented annotations.
      • Explicit

        public Explicit​(java.util.List<? extends AnnotationDescription> annotations)
        Creates a new explicit annotation source.
        Parameters:
        annotations - The represented annotations.