public static MultiMap<SchemaTypeInfo, SchemaTypeInfo> parse(@NotNull Reader reader) {
    try (reader) {
      final XsdComplexTypeInfoBuilder builder = new XsdComplexTypeInfoBuilder();
      final NameSpaceHelper helper = new NameSpaceHelper();
      builder.setNameSpaceHelper(helper);
      NanoXmlUtil.parse(reader, builder, helper);
      return builder.getMap();
    }
    catch (IOException e) {
      // can never happen
      throw new UncheckedIOException(e);
    }
  }
public static MultiMap<SchemaTypeInfo, SchemaTypeInfo> parse(@NotNull Reader reader)