Interface AsmClassWriter

All Known Implementing Classes:
AsmClassWriter.Default

public interface AsmClassWriter
A facade for creating a ClassVisitor that writes a class file.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    A default implementation for ASM's ClassWriter.
    static interface 
    A factory for creating an AsmClassWriter.
    static class 
    A class writer that piggy-backs on Byte Buddy's TypePool to avoid class loading or look-up errors when redefining a class.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    Returns the binary representation of the created class file.
    org.objectweb.asm.ClassVisitor
    Returns the ClassVisitor to use for writing the class file.
  • Method Details

    • getVisitor

      org.objectweb.asm.ClassVisitor getVisitor()
      Returns the ClassVisitor to use for writing the class file.
      Returns:
      An appropriate class visitor.
    • getBinaryRepresentation

      byte[] getBinaryRepresentation()
      Returns the binary representation of the created class file.
      Returns:
      The binary representation of the created class file.