Collection<JsonSchemaObject> () { final MatchResult result = detailedResolve(); final List<JsonSchemaObject> list = new LinkedList<>(); list.addAll(result.mySchemas); for (Collection<? extends JsonSchemaObject> myExcludingSchema : result.myExcludingSchemas) { list.addAll(myExcludingSchema); } return list; }