jodd-proxetta/src/main/java/jodd/asm7/ClassReader.java
private int getTypeAnnotationBytecodeOffset(
      final int[] typeAnnotationOffsets, final int typeAnnotationIndex) {
    if (typeAnnotationOffsets == null
        || typeAnnotationIndex >= typeAnnotationOffsets.length
        || readByte(typeAnnotationOffsets[typeAnnotationIndex]) < TypeReference.INSTANCEOF) {
      return -1;
    }
    return readUnsignedShort(typeAnnotationOffsets[typeAnnotationIndex] + 1);
  }
private int getTypeAnnotationBytecodeOffset(
      final int[] typeAnnotationOffsets, final int typeAnnotationIndex) {
    if (typeAnnotationOffsets == null
        || typeAnnotationIndex >= typeAnnotationOffsets.length
        || readByte(typeAnnotationOffsets[typeAnnotationIndex]) < TypeReference.INSTANCEOF) {
      return -1;
    }
    return readUnsignedShort(typeAnnotationOffsets[typeAnnotationIndex] + 1);
  }
Returns the bytecode offset corresponding to the specified JVMS 'type_annotation' structure, or
-1 if there is no such type_annotation of if it does not have a bytecode offset.

@param typeAnnotationOffsets the offset of each 'type_annotation' entry in a
Runtime[In]VisibleTypeAnnotations attribute, or null.
@param typeAnnotationIndex the index a 'type_annotation' entry in typeAnnotationOffsets.
@return bytecode offset corresponding to the specified JVMS 'type_annotation' structure, or -1
if there is no such type_annotation of if it does not have a bytecode offset.