类 org.objectweb.asm.tree.InsnList
的使用

使用 InsnList 的软件包
org.objectweb.asm.tree Provides an ASM visitor that constructs a tree representation of the classes it visits. 
 

org.objectweb.asm.treeInsnList 的使用
 

声明为 InsnListorg.objectweb.asm.tree 中的字段
 InsnList MethodNode.instructions
          The instructions of this method.
 

参数类型为 InsnListorg.objectweb.asm.tree 中的方法
 void InsnList.add(InsnList insns)
          Adds the given instructions to the end of this list.
 void InsnList.insert(AbstractInsnNode location, InsnList insns)
          Inserts the given instructions after the specified instruction.
 void InsnList.insert(InsnList insns)
          Inserts the given instructions at the begining of this list.
 void InsnList.insertBefore(AbstractInsnNode location, InsnList insns)
          Inserts the given instructions before the specified instruction.
 



Copyright © 2013. All Rights Reserved.