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

    try (TektonClient tektonClient = new DefaultTektonClient()) {
      String namespace = "default";

      Task task = new TaskBuilder()
          .withNewMetadata().withName("hello-world-" + generateId()).endMetadata()
          .withNewSpec()
          .withSteps(
              new StepBuilder()
                  .withName("hello")
                  .withImage("alpine")
                  .withCommand("#!/bin/sh\necho Hello world!")
                  .build())
          .endSpec()
          .build();

      TaskRun taskRun = new TaskRunBuilder()
          .withNewMetadata().withGenerateName("run-hello-world-").endMetadata()
          .withNewSpec().withNewTaskRef().withName(task.getMetadata().getName()).endTaskRef().endSpec()
          .build();

      // Create Task
      task = tektonClient.v1().tasks().inNamespace(namespace).resource(task).create();
      System.out.println("Created: " + task.getMetadata().getName());

      // Create TaskRun
      taskRun = tektonClient.v1().taskRuns().inNamespace(namespace).resource(taskRun).create();
      System.out.println("Created: " + taskRun.getMetadata().getName());

      // List TaskRun
      TaskRunList taskRunList = tektonClient.v1().taskRuns().inNamespace(namespace).list();
      System.out.println("There are " + taskRunList.getItems().size() + " TaskRun objects in " + namespace);
    }
  
<no_super_class>