code: protected static void initEndpointInfo(List<EndpointInfo> endpoints) {
          for (int i = 0; i < endpoints.size(); i++) {
              initEndpointInfo(endpoints.get(i));
          }
      }
docs: This method initialises the list of endpoint information.
  
  @param endpoints The endpoint information