code: public static void updateBegin(final Annotation annotation, final int begin)
      {
          annotation.removeFromIndexes();
          annotation.setBegin(begin);
          annotation.addToIndexes();
      }
docs: Sets the begin value of the annotation, updating indexes appropriately
  
  @param annotation the annotation
  @param begin      the new begin value