code: public List<String> getInPorts() {
      List<String> ports = new ArrayList<>();
      JsonObject jsonPorts = config.getObject("ports");
      if (jsonPorts == null) {
        return ports;
      }
      JsonArray jsonInPorts = jsonPorts.getArray("in");
      if (jsonInPorts == null) {
        return ports;
      }
      for (Object jsonInPort : jsonInPorts) {
        ports.add((String) jsonInPort);
      }
      return ports;
    }
docs: Returns a list of input ports defined by the module.
  
  @return A list of input ports defined by the module.