class AdaptClient {

  private static final Logger logger = LoggerFactory.getLogger(AdaptClient.class);

  public static void main(String[] args) {<FILL_FUNCTION_BODY>}
}

    try (KubernetesClient client = new KubernetesClientBuilder().build()) {
      if (Boolean.FALSE.equals(client.supports(Project.class))) {
        logger.warn("Target cluster is not OpenShift compatible");
        return;
      }
      OpenShiftClient oClient = client.adapt(OpenShiftClient.class);
      logger.info("Client adapted to OpenShiftClient: {}", oClient.getClass().getCanonicalName());
      logger.info("URL: {}", oClient.getOpenshiftUrl());
    }
  
<no_super_class>