void ( @NotNull PsiElement psiElement, @NotNull @InspectionMessage String descriptionTemplate, @NotNull ProblemHighlightType highlightType, @Nullable HintAction hintAction, @Nullable TextRange rangeInElement, @NotNull LocalQuickFix @NotNull... fixes) { if (myHolder != null && !(psiElement instanceof PsiErrorElement)) { myHolder.registerProblem(new ProblemDescriptorImpl(psiElement, psiElement, descriptionTemplate, fixes, highlightType, false, rangeInElement, hintAction, myHolder.isOnTheFly())); } }