postImageChange(xtextEditor, defaultImage);
}
}
@SuppressWarnings("unchecked")
protected Severity getSeverity(XtextEditor xtextEditor) {
<BUG>IAnnotationModel model = xtextEditor.getInternalSourceViewer().getAnnotationModel();
Iterator<Annotation> iterator = model.getAnnotationIterator();</BUG>
boolean hasWarnings = false;
while (iterator.hasNext()) {
Issue issue = issueUtil.getIssueFromAnnotation(iterator.next());

postImageChange(xtextEditor, defaultImage);
}
}
@SuppressWarnings("unchecked")
protected Severity getSeverity(XtextEditor xtextEditor) {
IAnnotationModel model = xtextEditor.getInternalSourceViewer().getAnnotationModel();
if (model != null) {
Iterator<Annotation> iterator = model.getAnnotationIterator();
boolean hasWarnings = false;
while (iterator.hasNext()) {
Issue issue = issueUtil.getIssueFromAnnotation(iterator.next());
