Package net.bytebuddy.utility
Interface AsmClassWriter
-
- All Known Implementing Classes:
AsmClassWriter.Default
public interface AsmClassWriter
A facade for creating aClassVisitor
that writes a class file.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
AsmClassWriter.Default
A default implementation for ASM'sClassWriter
.static interface
AsmClassWriter.Factory
A factory for creating anAsmClassWriter
.static class
AsmClassWriter.FrameComputingClassWriter
A class writer that piggy-backs on Byte Buddy'sTypePool
to avoid class loading or look-up errors when redefining a class.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
getBinaryRepresentation()
Returns the binary representation of the created class file.org.objectweb.asm.ClassVisitor
getVisitor()
Returns theClassVisitor
to use for writing the class file.
-
-
-
Method Detail
-
getVisitor
org.objectweb.asm.ClassVisitor getVisitor()
Returns theClassVisitor
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.
-
-