this.isStatic = (access & Opcodes.ACC_STATIC) != 0;
// The AnalyzerAdapter delegates the call to the DuplicateMethod, while the DuplicateMethod uses
// the analyzer for stack state in the original method.
duplicateMethod = new DuplicateMethod( copyMethod, isStatic, newMethod, fieldsHolder, className);
AnalyzerAdapter analyzerAdapter = new AnalyzerAdapter( className, access, methodName, descriptor, duplicateMethod);
duplicateMethod.setAnalyzer( analyzerAdapter);
this.copyMethod = analyzerAdapter;
this.className = className;
this.methodName = methodName;