code: 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;
              }
          }
      }
docs: Updates the index of this try catch block in the method's list of try
  catch block nodes. This index maybe stored in the 'target' field of the
  type annotations of this block.
  
  @param index
  the new index of this try catch block in the method's list of
  try catch block nodes.