}
public void insertMethod(ClassFile cf, String methodName, Descriptor desc,
AccessFlags accessFlags, int maxStackSize, int maxLocals,
List<String> exceptions) {
InsertMethodAction ima = new InsertMethodAction(cf, methodName, desc,
accessFlags, maxStackSize, maxLocals, exceptions);
SystemFacade.getInstance().performAction(ima, this.openFile);
this.dispatcher.notifyObservers(new Event(EventType.CLASS_UPDATE));
}