mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-41847 - IAE: InspectionManagerEx.createProblemDescriptor
This commit is contained in:
+1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user