ErrorManager.getDefault().notify(ErrorManager.INFORMATIONAL, new IllegalStateException("Unknown annotation type '"+type+"'."));
return null;
}
static synchronized OffsetsBag getHighlightsBag(Document doc) {
OffsetsBag bag = (OffsetsBag) doc.getProperty(DebuggerAnnotation.class);
if (bag == null) {
doc.putProperty(DebuggerAnnotation.class, bag = new OffsetsBag(doc, true));
}
return bag;
}