docs: public static XLinkConnector[] getLocalToolFromRegistrations(List<XLinkConnectorRegistration> registrations) {
          List<XLinkConnector> tools = new ArrayList<XLinkConnector>();
          for (XLinkConnectorRegistration registration : registrations) {
              XLinkConnector newLocalTools 
                  = new XLinkConnector(
                          registration.getConnectorId(), 
                          registration.getToolName(), 
                          getViewsOfRegistration(registration));
              tools.add(newLocalTools);
          }
          return tools.toArray(new XLinkConnector[0]);
      }