void (@NotNull PsiElement psiElement, @NotNull @InspectionMessage String descriptionTemplate, @NotNull ProblemHighlightType highlightType, @Nullable TextRange rangeInElement, @NotNull LocalQuickFix @Nullable ... fixes) { registerProblem(myManager.createProblemDescriptor(psiElement, rangeInElement, descriptionTemplate, highlightType, myOnTheFly, fixes)); }