docs: public void setSupportedInputModes(java.util.Collection<String> supportedInputModes) {
          if (supportedInputModes == null) {
              this.supportedInputModes = null;
              return;
          }
  
          this.supportedInputModes = new java.util.ArrayList<String>(supportedInputModes);
      }