问题 I'm currently implementing some code that should, for each method of a class, run a couple of visitors on a .class file, as to instrument its bytecode. At the moment, I've just implemented a MethodRenamerVisitor, but this is already getting quite awkward: ClassReader classReader = null; try { classReader = new ClassReader(monitoringFile.getCannonicalName()); } catch (IOException e1) { e1.printStackTrace(); } ClassWriter classWriter = null; for (BytecodeMethod bytecodeMethod : bytecodeClass