/**
  * Adds the specified annotation to this container.
  *
  * @param annotation the annotation to add
  */
 public final void addAnnotation(final FileAnnotation annotation) {
   annotations.put(annotation.getKey(), annotation);
   updateMappings(annotation);
 }
 /** Rebuilds the priorities and files after deserialization. */
 protected void rebuildMappings() {
   initialize();
   for (FileAnnotation annotation : getAnnotations()) {
     updateMappings(annotation);
   }
 }