Uses of Class
org.objectweb.asm.ClassVisitor
-
Packages that use ClassVisitor Package Description org.objectweb.asm Provides a small and fast bytecode manipulation framework.org.objectweb.asm.commons Provides some useful class and method adapters.org.objectweb.asm.tree Provides an ASM visitor that constructs a tree representation of the classes it visits.org.objectweb.asm.util Provides ASM visitors that can be useful for programming and debugging purposes.org.objectweb.asm.xml Provides SAX 2.0 adapters for ASM visitors to convert classes to and from XML. -
-
Uses of ClassVisitor in org.objectweb.asm
Subclasses of ClassVisitor in org.objectweb.asm Modifier and Type Class Description class
ClassWriter
AClassVisitor
that generates classes in bytecode form.Fields in org.objectweb.asm declared as ClassVisitor Modifier and Type Field Description protected ClassVisitor
ClassVisitor. cv
The class visitor to which this visitor must delegate method calls.Methods in org.objectweb.asm with parameters of type ClassVisitor Modifier and Type Method Description void
ClassReader. accept(ClassVisitor classVisitor, int flags)
Makes the given visitor visit the Java class of thisClassReader
.void
ClassReader. accept(ClassVisitor classVisitor, Attribute[] attrs, int flags)
Makes the given visitor visit the Java class of thisClassReader
.Constructors in org.objectweb.asm with parameters of type ClassVisitor Constructor Description ClassVisitor(int api, ClassVisitor cv)
Constructs a newClassVisitor
. -
Uses of ClassVisitor in org.objectweb.asm.commons
Subclasses of ClassVisitor in org.objectweb.asm.commons Modifier and Type Class Description class
RemappingClassAdapter
AClassVisitor
for type remapping.class
SerialVersionUIDAdder
AClassVisitor
that adds a serial version unique identifier to a class if missing.class
StaticInitMerger
AClassVisitor
that merges clinit methods into a single one.Constructors in org.objectweb.asm.commons with parameters of type ClassVisitor Constructor Description GeneratorAdapter(int access, Method method, String signature, Type[] exceptions, ClassVisitor cv)
Creates a newGeneratorAdapter
.RemappingClassAdapter(int api, ClassVisitor cv, Remapper remapper)
RemappingClassAdapter(ClassVisitor cv, Remapper remapper)
SerialVersionUIDAdder(int api, ClassVisitor cv)
Creates a newSerialVersionUIDAdder
.SerialVersionUIDAdder(ClassVisitor cv)
Creates a newSerialVersionUIDAdder
.StaticInitMerger(int api, String prefix, ClassVisitor cv)
StaticInitMerger(String prefix, ClassVisitor cv)
-
Uses of ClassVisitor in org.objectweb.asm.tree
Subclasses of ClassVisitor in org.objectweb.asm.tree Modifier and Type Class Description class
ClassNode
A node that represents a class.Methods in org.objectweb.asm.tree with parameters of type ClassVisitor Modifier and Type Method Description void
ClassNode. accept(ClassVisitor cv)
Makes the given class visitor visit this class.void
FieldNode. accept(ClassVisitor cv)
Makes the given class visitor visit this field.void
InnerClassNode. accept(ClassVisitor cv)
Makes the given class visitor visit this inner class.void
MethodNode. accept(ClassVisitor cv)
Makes the given class visitor visit this method. -
Uses of ClassVisitor in org.objectweb.asm.util
Subclasses of ClassVisitor in org.objectweb.asm.util Modifier and Type Class Description class
CheckClassAdapter
AClassVisitor
that checks that its methods are properly used.class
TraceClassVisitor
AClassVisitor
that prints the classes it visits with aPrinter
.Constructors in org.objectweb.asm.util with parameters of type ClassVisitor Constructor Description CheckClassAdapter(int api, ClassVisitor cv, boolean checkDataFlow)
Constructs a newCheckClassAdapter
.CheckClassAdapter(ClassVisitor cv)
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
. -
Uses of ClassVisitor in org.objectweb.asm.xml
Subclasses of ClassVisitor in org.objectweb.asm.xml Modifier and Type Class Description class
SAXClassAdapter
AClassVisitor
that generates SAX 2.0 events from the visited class.Fields in org.objectweb.asm.xml declared as ClassVisitor Modifier and Type Field Description protected ClassVisitor
ASMContentHandler. cv
Current instance of theClassVisitor
used to visit classfile bytecode.Constructors in org.objectweb.asm.xml with parameters of type ClassVisitor Constructor Description ASMContentHandler(ClassVisitor cv)
Constructs a newASMContentHandler
object.
-