ProblemDescriptor (@NotNull PsiElement psiElement, @Nullable TextRange rangeInElement, @NotNull @InspectionMessage String descriptionTemplate, @NotNull ProblemHighlightType highlightType, boolean onTheFly, @NotNull LocalQuickFix @Nullable ... fixes) { boolean tooltip = highlightType != ProblemHighlightType.INFORMATION; return new ProblemDescriptorBase(psiElement, psiElement, descriptionTemplate, fixes, highlightType, false, rangeInElement, tooltip, onTheFly); }