public static class AsmClassWriter.ForClassFileApi extends Object implements AsmClassWriter
Modifier and Type | Class and Description |
---|---|
protected static interface |
AsmClassWriter.ForClassFileApi.JdkClassWriter
An API to interact with
codes.rafael.asmjdkbridge.JdkClassWriter . |
AsmClassWriter.Factory, AsmClassWriter.ForAsm, AsmClassWriter.ForClassFileApi, AsmClassWriter.FrameComputingClassWriter, AsmClassWriter.SuperClassResolvingJdkClassWriter
Constructor and Description |
---|
ForClassFileApi(ClassVisitor classWriter)
Creates a new class file API-based class writer.
|
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 ForClassFileApi(ClassVisitor classWriter)
classWriter
- The represented class writer.public ClassVisitor getVisitor()
ClassVisitor
to use for writing the class file.getVisitor
in interface AsmClassWriter
public byte[] getBinaryRepresentation()
getBinaryRepresentation
in interface AsmClassWriter
Copyright © 2014–2025. All rights reserved.