attrs.put(AnalysisRunner.PYDEV_ANALYSIS_TYPE, type);
attrs.put(IMarker.CHAR_START, start);
attrs.put(IMarker.CHAR_END, end);
MarkerStub marker = new MarkerStub(attrs);
return new MarkerAnnotationAndPosition(
new MarkerAnnotation("org.eclipse.core.resources.problemmarker", marker), new Position(start, end
- start));
}