void () { final Collection<JsonStringLiteral> strings = PsiTreeUtil.findChildrenOfType(myFixture.getFile(), JsonStringLiteral.class); final List<JsonStringLiteral> list = ContainerUtil.filter(strings, expression -> expression.getText().contains("#/definitions")); Assert.assertEquals(3, list.size()); list.forEach(literal -> checkNavigationTo(""" { "type": "object", "properties": { "id": { "type": "string" }, "range": { "type": "string" } } }""", "cycle.schema", literal.getTextRange().getEndOffset() - 1, JsonSchemaObject.DEFINITIONS, true)); }