EA-41847 - IAE: InspectionManagerEx.createProblemDescriptor

This commit is contained in:
anna
2012-12-06 17:54:16 +01:00
parent 2628a8a027
commit 55d264c176
@@ -125,6 +125,7 @@ public class OfflineProblemDescriptorNode extends ProblemDescriptionNode {
final List<String> hints = offlineProblemDescriptor.getHints();
if (element instanceof RefElement) {
final PsiElement psiElement = ((RefElement)element).getElement();
if (psiElement == null) return null;
ProblemDescriptor descriptor = inspectionManager.createProblemDescriptor(psiElement, offlineProblemDescriptor.getDescription(),
(LocalQuickFix)null,
ProblemHighlightType.GENERIC_ERROR_OR_WARNING, false);