public static class AsmClassWriter.ForAsm extends Object implements AsmClassWriter
ClassWriter.AsmClassWriter.Factory, AsmClassWriter.ForAsm, AsmClassWriter.ForClassFileApi, AsmClassWriter.FrameComputingClassWriter, AsmClassWriter.SuperClassResolvingJdkClassWriter| Constructor and Description |
|---|
ForAsm(ClassWriter classWriter)
Creates a new class writer based upon ASM's own implementation.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBinaryRepresentation()
Returns the binary representation of the created class file.
|
ClassVisitor |
getVisitor()
Returns the
ClassVisitor to use for writing the class file. |
public ForAsm(ClassWriter classWriter)
classWriter - The represented class writer.public ClassVisitor getVisitor()
ClassVisitor to use for writing the class file.getVisitor in interface AsmClassWriterpublic byte[] getBinaryRepresentation()
getBinaryRepresentation in interface AsmClassWriterCopyright © 2014–2025. All rights reserved.