Class AnnotationSource.Explicit

java.lang.Object
net.bytebuddy.description.annotation.AnnotationSource.Explicit
All Implemented Interfaces:
AnnotationSource
Enclosing interface:
AnnotationSource

@Enhance public static class AnnotationSource.Explicit extends Object implements AnnotationSource
An annotation source that declares a given list of annotations.
  • Field Details

  • Constructor Details

    • Explicit

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

      public Explicit(List<? extends AnnotationDescription> annotations)
      Creates a new explicit annotation source.
      Parameters:
      annotations - The represented annotations.
  • Method Details