* this should be the way to create the problem without the deprecation
* warning, but then our QuickFixProcessor doesn't get called.
*/
//IProblem newProblem = new DefaultProblem(filename, message, DefaultProblemIdentifier.NULL, new String[0], ProblemSeverities.Error, start+1, end+1, lineNo, start);
ProblemSeverity severity = SymfonyCorePreferences.getAnnotationSeverity();
IProblem problem = new DefaultProblem(filename, message, IProblem.ImportRelated,
new String[0], severity, sourcePosition.startOffset + 1, sourcePosition.endOffset + 1, lineNo);
context.getProblemReporter().reportProblem(problem);