Class ProbingClassReader.ClassWriterContainer<T extends org.objectweb.asm.ClassVisitor>

java.lang.Object
codes.rafael.asmjdkbridge.ProbingClassReader.ClassWriterContainer<T>
Type Parameters:
T - The type of the class visitor that represents the class writer.
Direct Known Subclasses:
ProbingClassReader.ClassWriterContainer.OfAsm, ProbingClassReader.ClassWriterContainer.OfJdk
Enclosing class:
ProbingClassReader

public abstract static class ProbingClassReader.ClassWriterContainer<T extends org.objectweb.asm.ClassVisitor> extends Object
A container for a class writer.
  • Field Details

    • delegate

      final T extends org.objectweb.asm.ClassVisitor delegate
  • Constructor Details

    • ClassWriterContainer

      ClassWriterContainer(T delegate)
  • Method Details

    • getClassVisitor

      public org.objectweb.asm.ClassVisitor getClassVisitor()
      Returns the underlying ASM class visitor.
      Returns:
      The underlying ASM class visitor.
    • toByteArray

      public abstract byte[] toByteArray()
      Returns the byte array that is created by this class writer.
      Returns:
      A byte array that represents the generated class file.