public final class CodeGenerationResult extends java.lang.Object
Compiling a single Golo source file may result in several JVM classes to be produced.
A CodeGenerationResult represents one such output.
| Constructor and Description |
|---|
CodeGenerationResult(byte[] bytecode,
PackageAndClass packageAndClass)
Constructor for a code generation result.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytecode() |
PackageAndClass |
getPackageAndClass() |
public CodeGenerationResult(byte[] bytecode, PackageAndClass packageAndClass)
bytecode - the JVM bytecode as an array.packageAndClass - the package and class descriptor for the bytecode.public byte[] getBytecode()
public PackageAndClass getPackageAndClass()