void (@NotNull JsonStringLiteral stringLiteral) { if (!allowSingleQuotes() && JsonPsiUtil.getElementTextWithoutHostEscaping(stringLiteral).startsWith("'")) { myHolder.registerProblem(stringLiteral, JsonBundle.message("inspection.compliance.msg.single.quoted.strings"), new AddDoubleQuotesFix()); } // May be illegal property key as well super.visitStringLiteral(stringLiteral); }