docs: public Script createEmptyInputScript(@Nullable ECKey key, @Nullable Script redeemScript) {
          if (ScriptPattern.isP2PKH(this)) {
              checkArgument(key != null, "Key required to create P2PKH input script");
              return ScriptBuilder.createInputScript(null, key);
          } else if (ScriptPattern.isP2WPKH(this)) {
              return ScriptBuilder.createEmpty();
          } else if (ScriptPattern.isP2PK(this)) {
              return ScriptBuilder.createInputScript(null);
          } else if (ScriptPattern.isP2SH(this)) {
              checkArgument(redeemScript != null, "Redeem script required to create P2SH input script");
              return ScriptBuilder.createP2SHMultiSigInputScript(null, redeemScript);
          } else {
              throw new ScriptException(ScriptError.SCRIPT_ERR_UNKNOWN_ERROR, "Do not understand script type: " + this);
          }
      }