code: public BitSet getArgumentSet(InvokeInstruction invokeInstruction, ConstantPoolGen cpg, DataflowValueChooser<ValueType> chooser)
              throws DataflowAnalysisException {
          BitSet chosenArgSet = new BitSet();
          SignatureParser sigParser = new SignatureParser(invokeInstruction.getSignature(cpg));
  
          for (int i = 0; i < sigParser.getNumParameters(); ++i) {
              ValueType value = getArgument(invokeInstruction, cpg, i, sigParser);
              if (chooser.choose(value)) {
                  chosenArgSet.set(i);
              }
          }
  
          return chosenArgSet;
      }
docs: Get set of arguments passed to a method invocation which match given
  predicate.
  
  @param invokeInstruction
  the InvokeInstruction
  @param cpg
  the ConstantPoolGen
  @param chooser
  predicate to choose which argument values should be in the
  returned set
  @return BitSet specifying which arguments match the predicate, indexed by
  argument number (starting from 0)
  @throws DataflowAnalysisException