public interface ClassOutput
| Modifier and Type | Method and Description |
|---|---|
static io.quarkus.gizmo.ClassOutput |
gizmoAdaptor(ClassOutput out,
boolean applicationClass) |
void |
writeClass(boolean applicationClass,
String className,
byte[] data)
Writes some generate bytecode to an output target
|
void |
writeResource(String name,
byte[] data) |
void writeClass(boolean applicationClass,
String className,
byte[] data)
throws IOException
className - The class namedata - The bytecode bytesIOException - If the class cannot be writtenvoid writeResource(String name, byte[] data) throws IOException
IOExceptionstatic io.quarkus.gizmo.ClassOutput gizmoAdaptor(ClassOutput out, boolean applicationClass)
Copyright © 2019 JBoss by Red Hat. All rights reserved.