docs: public void updateIndex(final int index) {
          int newTypeRef = 0x42000000 | (index << 8);
          if (visibleTypeAnnotations != null) {
              for (TypeAnnotationNode tan : visibleTypeAnnotations) {
                  tan.typeRef = newTypeRef;
              }
          }
          if (invisibleTypeAnnotations != null) {
              for (TypeAnnotationNode tan : invisibleTypeAnnotations) {
                  tan.typeRef = newTypeRef;
              }
          }
      }