Package mockit.asm.annotations
Class AnnotationReader
java.lang.Object
mockit.asm.util.BytecodeReader
mockit.asm.annotations.AnnotationReader
-
Field Summary
Fields inherited from class mockit.asm.util.BytecodeReader
code, codeIndex, items
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@org.checkerframework.checker.index.qual.NonNegative int
readNamedAnnotationValues
(@org.checkerframework.checker.index.qual.NonNegative int startingCodeIndex, AnnotationVisitor av) Reads the values of a named annotation and makes the given visitor visit them.Methods inherited from class mockit.asm.util.BytecodeReader
readBoolean, readChar, readClass, readConst, readConstItem, readConstItem, readDouble, readDouble, readFloat, readFloat, readInt, readInt, readItem, readItem, readLong, readLong, readMethodHandle, readMethodHandleItem, readNonnullClass, readNonnullClass, readNonnullUTF8, readNonnullUTF8, readShort, readShort, readSignedByte, readString, readUnsignedByte, readUnsignedByte, readUnsignedShort, readUnsignedShort, readUTF8, readUTF8
-
Constructor Details
-
AnnotationReader
-
-
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 inBytecodeReader.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
-