docs: private void revisitGateways(Definitions def) {
          List<RootElement> rootElements = def.getRootElements();
          for (RootElement root : rootElements) {
              if (root instanceof Process) {
                  setGatewayInfo((Process) root);
              }
          }
      }