/** Rebuilds the priorities and files after deserialization. */
 protected void rebuildMappings() {
   initialize();
   for (FileAnnotation annotation : getAnnotations()) {
     updateMappings(annotation);
   }
 }
 /**
  * Creates a new instance of <code>AnnotationContainer</code>.
  *
  * @param name the name of this container
  * @param hierarchy the hierarchy of this container
  */
 protected AnnotationContainer(final String name, final Hierarchy hierarchy) {
   initialize();
   this.name = name;
   this.hierarchy = hierarchy;
 }