ExtMethodAnalyzer extMethodAnalyzer
= new ExtMethodAnalyzer(baseClass, extMethod, offset);
extEnhancer.analyze(extMethodAnalyzer);
extEnhancer.update();
CodeAttribute baseCode = baseMethod.getCode();
CodeAttribute extCode = extMethod.getCode();
if (extCode.getMaxStack() < baseCode.getMaxStack())
extCode.setMaxStack(baseCode.getMaxStack());
// XXX: needs tests badly
extCode.removeAttribute("LocalVariableTable");
extCode.removeAttribute("LineNumberTable");
baseCode.removeAttribute("LocalVariableTable");
baseCode.removeAttribute("LineNumberTable");
/*
baseMethod.concatenate(extMethod);