void (String name, PsiFile file, JsonValue value) { if (value instanceof JsonStringLiteral) { addInfo(getInfo(file, value, name, JsonSyntaxHighlighterFactory.JSON_STRING)); } else if (value instanceof JsonNumberLiteral) { addInfo(getInfo(file, value, name, JsonSyntaxHighlighterFactory.JSON_NUMBER)); } else if (value instanceof JsonLiteral) { addInfo(getInfo(file, value, name, JsonSyntaxHighlighterFactory.JSON_KEYWORD)); } }