JavaSourceDocument src = getDocument(mySourceLine);
this.myDocument = src;
src.getHighlightInformation().clear();
String primaryKind = mySourceLine.getDescription();
// Display myBug and mySourceLine
for (Iterator<BugAnnotation> i = myBug.annotationIterator(); i.hasNext();) {
BugAnnotation annotation = i.next();
if (annotation instanceof SourceLineAnnotation) {
SourceLineAnnotation sourceAnnotation = (SourceLineAnnotation) annotation;
if (sourceAnnotation == mySourceLine) {
continue;