}
}
if (match) {
desc.setParamList(newParams);
Undoable u = new ModifyNameAndTypeInfoAction(ic.getCf().getPool(), nati, desc);
if (this.batchMode) {
u.execute();
} else {
SystemFacade.getInstance().performAction(u, ic.getFilename());
}
}
} if(cpi.getType() == ConstantPoolInfo.FIELD_REF) {
RefInfo ri = (RefInfo)cpi;
String className = ri.getClassName();
String newFieldName = this.advisor.newFieldNameFor(className, ri.getTargetName(), ri.getDescriptor());
if (newFieldName != null) {
NameAndTypeInfo nati = ri.getNameAndTypeInfo();
Undoable u = new ModifyNameAndTypeInfoAction(ic.getCf().getPool(), nati, newFieldName);
if (this.batchMode) {
u.execute();
} else {
SystemFacade.getInstance().performAction(u, ic.getFilename());
}
}
} else if(cpi.getType() == ConstantPoolInfo.METHOD_REF || cpi.getType() == ConstantPoolInfo.INTERFACE_METHOD_REF) {
RefInfo ri = (RefInfo)cpi;
String className = ri.getClassName();
String newMethodName = this.advisor.newMethodNameFor(className, ri.getTargetName(), ri.getDescriptor());
if (newMethodName != null) {
NameAndTypeInfo nati = ri.getNameAndTypeInfo();
Undoable u = new ModifyNameAndTypeInfoAction(ic.getCf().getPool(), nati, newMethodName);
if (this.batchMode) {
u.execute();
} else {
SystemFacade.getInstance().performAction(u, ic.getFilename());
}
}
}