FieldChooser chooser = (FieldChooser) choosers.get(i);
Object obj = chooser.getValue();
if(obj instanceof Integer) {
group.add(new ParamModifyAction(instruction, i, chooser.getValue()));
} else {
FieldLocator fl = (FieldLocator)obj;
String className = fl.getClassLocator().getFullName();
String fieldName = fl.getField().getName();
String typeName = fl.getField().getDescriptor().getRawDesc();
int index = this.cf.getPool().indexOfFieldRef(className, fieldName, typeName);
// TODO: verify that this makes sense.
// The logic could be in the action?
if (index != -1) {
group.add(new ParamModifyAction(instruction, i, Integer.valueOf(index)));