public int getNumArgumentsIncludingObjectInstance ( InvokeInstruction ins , ConstantPoolGen cpg ) throws DataflowAnalysisException { int numConsumed = ins . consumeStack ( cpg ) ; if ( numConsumed == Const . UNPREDICTABLE ) { throw new DataflowAnalysisException ( "Unpredictable stack consumption in " + ins ) ; } return numConsumed ; }
Get the number of arguments passed to given method invocation including the object instance if the call is to an instance method .