Inspections - pass onTheFly into ProblemDescriptors & use it to create LAZY refs in batch run.

This commit is contained in:
Alexey Gopachenko
2009-11-10 23:35:38 +03:00
parent 16d8aa04f8
commit ab3982079d
68 changed files with 420 additions and 370 deletions
@@ -99,7 +99,7 @@ public class ComparingReferencesInspection extends BaseJavaLocalInspectionTool {
if (problemList[0] == null) problemList[0] = new ArrayList();
problemList[0].add(manager.createProblemDescriptor(expression, DESCRIPTION_TEMPLATE,
myQuickFix,
ProblemHighlightType.GENERIC_ERROR_OR_WARNING));
ProblemHighlightType.GENERIC_ERROR_OR_WARNING, onTheFly));
}
}
}