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 ; }
Get set of arguments passed to a method invocation which match given predicate .