类的使用
org.beetl.ow2.asm.ClassVisitor
使用ClassVisitor的程序包
程序包
说明
OSGL MVC Server's repackaging of
org.osgl.mvc.server.asm 5.0
(for internal use only).
Provides some useful class and method adapters.
Provides an ASM visitor that constructs a tree representation of the
classes it visits.
Provides ASM visitors that can be useful for programming and
debugging purposes.
Provides SAX 2.0 adapters for ASM
visitors to convert classes to and from XML.
-
org.beetl.ow2.asm中ClassVisitor的使用
声明为ClassVisitor的org.beetl.ow2.asm中的字段修饰符和类型字段说明protected ClassVisitorClassVisitor.cvThe class visitor to which this visitor must delegate method calls.参数类型为ClassVisitor的org.beetl.ow2.asm中的方法修饰符和类型方法说明voidClassReader.accept(ClassVisitor classVisitor, int flags) Makes the given visitor visit the Java class of thisClassReader.voidClassReader.accept(ClassVisitor classVisitor, Attribute[] attrs, int flags) Makes the given visitor visit the Java class of thisClassReader.参数类型为ClassVisitor的org.beetl.ow2.asm中的构造器 -
org.beetl.ow2.asm.commons中ClassVisitor的使用
修饰符和类型类说明classAClassVisitorfor type remapping.classAClassVisitorthat adds a serial version unique identifier to a class if missing.classAClassVisitorthat merges clinit methods into a single one.参数类型为ClassVisitor的org.beetl.ow2.asm.commons中的构造器限定符构造器说明GeneratorAdapter(int access, Method method, String signature, Type[] exceptions, ClassVisitor cv) Creates a newGeneratorAdapter.protectedRemappingClassAdapter(int api, ClassVisitor cv, Remapper remapper) RemappingClassAdapter(ClassVisitor cv, Remapper remapper) protectedSerialVersionUIDAdder(int api, ClassVisitor cv) Creates a newSerialVersionUIDAdder.Creates a newSerialVersionUIDAdder.protectedStaticInitMerger(int api, String prefix, ClassVisitor cv) StaticInitMerger(String prefix, ClassVisitor cv) -
org.beetl.ow2.asm.optimizer中ClassVisitor的使用
修饰符和类型类说明classAClassVisitorthat collects theConstants of the classes it visits.classAClassVisitorthat renames fields and methods, and removes debug info.参数类型为ClassVisitor的org.beetl.ow2.asm.optimizer中的构造器 -
org.beetl.ow2.asm.tree中ClassVisitor的使用
参数类型为ClassVisitor的org.beetl.ow2.asm.tree中的方法修饰符和类型方法说明voidClassNode.accept(ClassVisitor cv) Makes the given class visitor visit this class.voidFieldNode.accept(ClassVisitor cv) Makes the given class visitor visit this field.voidInnerClassNode.accept(ClassVisitor cv) Makes the given class visitor visit this inner class.voidMethodNode.accept(ClassVisitor cv) Makes the given class visitor visit this method. -
org.beetl.ow2.asm.util中ClassVisitor的使用
修饰符和类型类说明classAClassVisitorthat checks that its methods are properly used.final classAClassVisitorthat prints the classes it visits with aPrinter.参数类型为ClassVisitor的org.beetl.ow2.asm.util中的构造器限定符构造器说明protectedCheckClassAdapter(int api, ClassVisitor cv, boolean checkDataFlow) Constructs a newCheckClassAdapter.Constructs a newCheckClassAdapter.CheckClassAdapter(ClassVisitor cv, boolean checkDataFlow) Constructs a newCheckClassAdapter.TraceClassVisitor(ClassVisitor cv, PrintWriter pw) Constructs a newTraceClassVisitor.TraceClassVisitor(ClassVisitor cv, Printer p, PrintWriter pw) Constructs a newTraceClassVisitor. -
org.beetl.ow2.asm.xml中ClassVisitor的使用
修饰符和类型字段说明protected ClassVisitorASMContentHandler.cvCurrent instance of theClassVisitorused to visit classfile bytecode.参数类型为ClassVisitor的org.beetl.ow2.asm.xml中的构造器