类 org.objectweb.asm.ClassReader
的使用

使用 ClassReader 的软件包
org.objectweb.asm Provides a small and fast bytecode manipulation framework. 
org.objectweb.asm.util Provides ASM visitors that can be useful for programming and debugging purposes. 
 

org.objectweb.asmClassReader 的使用
 

参数类型为 ClassReaderorg.objectweb.asm 中的方法
protected  Attribute Attribute.read(ClassReader cr, int off, int len, char[] buf, int codeOff, Label[] labels)
          Reads a type attribute.
 

参数类型为 ClassReaderorg.objectweb.asm 中的构造方法
ClassWriter(ClassReader classReader, int flags)
          Constructs a new ClassWriter object and enables optimizations for "mostly add" bytecode transformations.
 

org.objectweb.asm.utilClassReader 的使用
 

参数类型为 ClassReaderorg.objectweb.asm.util 中的方法
static void CheckClassAdapter.verify(ClassReader cr, boolean dump, PrintWriter pw)
          Checks a given class
 



Copyright © 2013. All Rights Reserved.