void (boolean insertComma, boolean hasValue, Set<String> forbiddenNames, JsonPropertyAdapter adapter, Map<String, JsonSchemaObject> schemaProperties, Set<String> knownNames, @Nullable SchemaPath completionPath) { schemaProperties.keySet().stream() .filter(name -> !forbiddenNames.contains(name) && !knownNames.contains(name) || adapter != null && name.equals(adapter.getName())) .forEach(name -> { knownNames.add(name); addPropertyVariant(name, schemaProperties.get(name), hasValue, insertComma, completionPath); }); }