Class AnnotationVisitor

java.lang.Object
mockit.asm.annotations.AnnotationVisitor

public final class AnnotationVisitor extends Object
A visitor to visit a Java annotation, in the following order: (visit | visitEnum | visitAnnotation | visitArray)* visitEnd.
  • Constructor Details

  • Method Details

    • setNext

      public void setNext(@Nullable AnnotationVisitor next)
      Sets the visitor to the next annotation.
    • getSize

      public @org.checkerframework.checker.index.qual.NonNegative int getSize()
      Returns the size of this annotation list.
    • put

      public void put(@NonNull ByteVector out)
      Puts the annotations of this annotation writer list into the given byte vector.
    • put

      public static void put(@NonNull ByteVector out, @NonNull AnnotationVisitor[] anns)
      Puts the given annotation lists into the given byte vector.