protected HighlighterMessage createHighlighterMessage(SNode node, String message, IErrorReporter errorReporter) {
if (errorReporter == null) {
errorReporter = new SimpleErrorReporter(node, message, null, null, MessageStatus.ERROR, new NodeErrorTarget());
}
final MessageStatus status = errorReporter.getMessageStatus();
<BUG>HighlighterMessage error = new HighlighterMessage(node, status, errorReporter.getErrorTarget(), getMessageColor(status), message, getOwner(node.getContainingRoot()));
error.setErrorReporter(errorReporter);</BUG>
return error;
}
protected HighlighterMessage createHighlighterMessage(SNode node, String message) {

protected HighlighterMessage createHighlighterMessage(SNode node, String message, IErrorReporter errorReporter) {
if (errorReporter == null) {
errorReporter = new SimpleErrorReporter(node, message, null, null, MessageStatus.ERROR, new NodeErrorTarget());
}
final MessageStatus status = errorReporter.getMessageStatus();
HighlighterMessage error = new HighlighterMessage(node, status,
errorReporter.getErrorTarget().toEditorMessageTarget(), getMessageColor(status), message, getOwner(node.getContainingRoot()));
error.setErrorReporter(errorReporter);
return error;
}
protected HighlighterMessage createHighlighterMessage(SNode node, String message) {
