// Get the Code object, which contains the local variable table.
Code code = bmeth.getCode();
if (code == null)
return null;
LocalVariableTableAttribute attr =
(LocalVariableTableAttribute)code.getAttribute(Constants.ATTR_LOCALS);
if (attr == null)
return null;
// OK, found it. Now scan through the local variables and record
// the names in the right indices.
LocalVariable [] vars = attr.getLocalVariables();
String [] argNames = new String[numParams + 1];
argNames[0] = null; // don't know return name
// NOTE: we scan through all the variables here, because I have been