code: public TransactionInput addSignedInput(TransactionOutPoint prevOut, Script scriptPubKey, ECKey sigKey) throws ScriptException {
          return addSignedInput(prevOut, scriptPubKey, sigKey, SigHash.ALL, false);
      }
docs: Same as {@link #addSignedInput(TransactionOutPoint, Script, ECKey, Transaction.SigHash, boolean)}
  but defaults to {@link SigHash#ALL} and "false" for the anyoneCanPay flag. This is normally what you want.