void (@NotNull PsiElement psiElement, @NotNull TextRange range, @NotNull JsonValidationError validationError) { if (checkIfAlreadyProcessed(psiElement)) return; String value = validationError.getMessage(); if (myMessagePrefix != null) value = myMessagePrefix + value; LocalQuickFix[] fix = validationError.createFixes(myWalker.getSyntaxAdapter(myHolder.getProject())); PsiElement element = range.isEmpty() ? psiElement.getContainingFile() : psiElement; if (fix.length == 0) { myHolder.registerProblem(element, range, value); } else { myHolder.registerProblem(element, range, value, fix); } }