public class ASMUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ASMUtil.LineNumberTable |
static class |
ASMUtil.RequiredEmitterType |
static class |
ASMUtil.VariablesInMethod |
| Constructor and Description |
|---|
ASMUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
bcName(Type type) |
static byte[] |
generate(ClassLoader cl,
ClassGeneratorImpl cg,
ImportList imports,
Properties options,
PrintStream debugOutput)
Given a completed ClassGeneratorImpl, use ASM to construct
the byte array representing the compiled class.
|
static void |
generateSourceCode(PrintStream ps,
ClassGeneratorImpl cg,
ImportList imports,
Properties options) |
static void |
generateSourceCode(String sourceGenDir,
ClassGeneratorImpl cg,
ImportList imports,
Properties options) |
static File |
getFile(String genDir,
String className,
String suffix) |
public static void generateSourceCode(PrintStream ps, ClassGeneratorImpl cg, ImportList imports, Properties options) throws IOException
IOExceptionpublic static void generateSourceCode(String sourceGenDir, ClassGeneratorImpl cg, ImportList imports, Properties options) throws IOException
IOExceptionpublic static byte[] generate(ClassLoader cl, ClassGeneratorImpl cg, ImportList imports, Properties options, PrintStream debugOutput)
Copyright © 2017 Oracle. All rights reserved.