public void accept(String t, Annotation u) {
if (u instanceof TextAnnotation) {
textAnnotations.add((TextAnnotation) u);
textAnnotationsNames.add(t);
} else if (u instanceof ParagraphValueAnnotation) {
<BUG>paragraphAnnotations.add(u);
}</BUG>
}
});
}

public void accept(String t, Annotation u) {
if (u instanceof TextAnnotation) {
textAnnotations.add((TextAnnotation) u);
textAnnotationsNames.add(t);
} else if (u instanceof ParagraphValueAnnotation) {
paragraphAnnotations.add((ParagraphAnnotation) u);
}
}
});
}
