void (@NotNull String name, @NotNull JsonValueAdapter value, @NotNull JsonSchemaObject schema, String pointer) { String nextPointer = getNewPointer(name, pointer); final JsonSchemaObject defined = enqueue(myQueue, new JsonSchemaObject(myFile, nextPointer), value); Map<String, JsonSchemaObject> definitions = schema.getDefinitionsMap(); if (definitions == null) schema.setDefinitionsMap(definitions = new HashMap<>()); definitions.put(name, defined); }