类 org.objectweb.asm.ClassWriter
的使用

使用 ClassWriter 的软件包
org.objectweb.asm Provides a small and fast bytecode manipulation framework. 
org.objectweb.asm.xml Provides SAX 2.0 adapters for ASM visitors to convert classes to and from XML. 
 

org.objectweb.asm 中 ClassWriter 的使用
 

参数类型为 ClassWriter 的 org.objectweb.asm 中的方法
protected  ByteVector Attribute.write(ClassWriter cw, byte[] code, int len, int maxStack, int maxLocals)
          Returns the byte array form of this attribute.
 

org.objectweb.asm.xml 中 ClassWriter 的使用
 

声明为 ClassWriter 的 org.objectweb.asm.xml 中的字段
protected  ClassWriter ASMContentHandler.cw
          Current instance of the ClassWriter used to write class bytecode.
 



Copyright © 2013. All Rights Reserved.