ASM中是否有任何utils类允许我从操作码中推断指令是某种存储,加载还是其他类型? 例如,考虑下面的代码(从ASM) /**
* Visits a zero operand instruction.
*
* @param opcode the opcode of the instruction to be visited. This opcode is
* either NOP, AC
我正在寻找一种方法来生成一个现有的类文件,同时允许我用另一种类型替换字段的类型。 考虑这个例子片断,其中我想的int bar每次使用... class Foo {
private final int bar;
public Foo(int bar) {
this.bar = bar;
}
public int getBar() {
r