code: public static final WingsEndpoint getEndpoint(Class<? extends WingsEndpoint> endpointClazz) throws IllegalStateException {
          if (!sIsInitialized) {
              throw new IllegalStateException("Wings must be initialized. See Wings#init().");
          }
          WingsEndpoint selectedEndpoint = null;
          for (WingsEndpoint endpoint : sEndpoints) {
              if (endpointClazz.isInstance(endpoint)) {
                  selectedEndpoint = endpoint;
                  break;
              }
          }
  
          return selectedEndpoint;
      }
docs: Gets the instance of a specific endpoint that Wings can share to.
  
  @param endpointClazz the endpoint {@link java.lang.Class}.
  @return the endpoint instance; or {@code null} if unavailable.
  @throws IllegalStateException Wings must be initialized. See {@link Wings#init(IWingsModule, Class[])}.