Class AnnotationReader

java.lang.Object
mockit.asm.util.BytecodeReader
mockit.asm.annotations.AnnotationReader

public final class AnnotationReader extends BytecodeReader
  • Constructor Details

    • AnnotationReader

      public AnnotationReader(@NonNull BytecodeReader br)
  • Method Details

    • readNamedAnnotationValues

      public @org.checkerframework.checker.index.qual.NonNegative int readNamedAnnotationValues(@org.checkerframework.checker.index.qual.NonNegative int startingCodeIndex, @Nullable AnnotationVisitor av)
      Reads the values of a named annotation and makes the given visitor visit them.
      Parameters:
      startingCodeIndex - the start offset in BytecodeReader.code of the values to be read (including the unsigned short that gives the number of values)
      av - the visitor that must visit the values
      Returns:
      the end offset of the annotation values