Uses of Class org.objectweb.asm.ClassVisitor (ASM 5.0.4 Documentation)
Date: 2015-09-18

## 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 and Description
    --- | ---
    `class` | `ClassWriter` A `ClassVisitor` that generates classes in bytecode form.

    Fields in org.objectweb.asm declared as ClassVisitor
    Modifier and Type | Field and 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 and Description
    --- | ---
    `void` | ClassReader.`accept(ClassVisitor classVisitor, Attribute[] attrs, int flags)` Makes the given visitor visit the Java class of this `ClassReader`.
    `void` | ClassReader.`accept(ClassVisitor classVisitor, int flags)` Makes the given visitor visit the Java class of this `ClassReader` .

    Constructors in org.objectweb.asm with parameters of type ClassVisitor
    Constructor and Description
    `ClassVisitor(int api, ClassVisitor cv)` Constructs a new `ClassVisitor`.

  - ### Uses of ClassVisitor in org.objectweb.asm.commons

    Subclasses of ClassVisitor in org.objectweb.asm.commons
    Modifier and Type | Class and Description
    --- | ---
    `class` | `RemappingClassAdapter` A `ClassVisitor` for type remapping.
    `class` | `SerialVersionUIDAdder` A `ClassVisitor` that adds a serial version unique identifier to a class if missing.
    `class` | `StaticInitMerger` A `ClassVisitor` that merges clinit methods into a single one.

    Constructors in org.objectweb.asm.commons with parameters of type ClassVisitor
    Constructor and Description
    `GeneratorAdapter(int access, Method method, String signature, Type[] exceptions, ClassVisitor cv)` Creates a new `GeneratorAdapter`.
    `RemappingClassAdapter(ClassVisitor cv, Remapper remapper)`
    `RemappingClassAdapter(int api, ClassVisitor cv, Remapper remapper)`
    `SerialVersionUIDAdder(ClassVisitor cv)` Creates a new `SerialVersionUIDAdder`.
    `SerialVersionUIDAdder(int api, ClassVisitor cv)` Creates a new `SerialVersionUIDAdder`.
    `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 and Description
    --- | ---
    `class` | `ClassNode` A node that represents a class.

    Methods in org.objectweb.asm.tree with parameters of type ClassVisitor
    Modifier and Type | Method and Description
    --- | ---
    `void` | InnerClassNode.`accept(ClassVisitor cv)` Makes the given class visitor visit this inner class.
    `void` | FieldNode.`accept(ClassVisitor cv)` Makes the given class visitor visit this field.
    `void` | ClassNode.`accept(ClassVisitor cv)` Makes the given class visitor visit this 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 and Description
    --- | ---
    `class` | `CheckClassAdapter` A `ClassVisitor` that checks that its methods are properly used.
    `class` | `TraceClassVisitor` A `ClassVisitor` that prints the classes it visits with a `Printer`.

    Constructors in org.objectweb.asm.util with parameters of type ClassVisitor
    Constructor and Description
    `CheckClassAdapter(ClassVisitor cv)` Constructs a new `CheckClassAdapter`.
    `CheckClassAdapter(ClassVisitor cv, boolean checkDataFlow)` Constructs a new `CheckClassAdapter`.
    `CheckClassAdapter(int api, ClassVisitor cv, boolean checkDataFlow)` Constructs a new `CheckClassAdapter`.
    `TraceClassVisitor(ClassVisitor cv, Printer p, PrintWriter pw)` Constructs a new `TraceClassVisitor`.
    `TraceClassVisitor(ClassVisitor cv, PrintWriter pw)` Constructs a new `TraceClassVisitor`.

  - ### Uses of ClassVisitor in org.objectweb.asm.xml

    Subclasses of ClassVisitor in org.objectweb.asm.xml
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SAXClassAdapter` A `ClassVisitor` that generates SAX 2.0 events from the visited class.

    Fields in org.objectweb.asm.xml declared as ClassVisitor
    Modifier and Type | Field and Description
    --- | ---
    `protected ClassVisitor` | ASMContentHandler.`cv` Current instance of the `ClassVisitor` used to visit classfile bytecode.

    Constructors in org.objectweb.asm.xml with parameters of type ClassVisitor
    Constructor and Description
    `ASMContentHandler(ClassVisitor cv)` Constructs a new `ASMContentHandler` object.