docs: public void setProgram(Program program) {
          if (program == null) {
              throw new IllegalStateException("Program cannot be null");
          }
          program.checkCreated();
          this.program = program;
      }