docs: public void setButtons(java.util.Collection<Button> buttons) {
          if (buttons == null) {
              this.buttons = null;
              return;
          }
  
          this.buttons = new java.util.ArrayList<Button>(buttons);
      }