public class LLJavac extends Object
Modifier and Type | Class and Description |
---|---|
static class |
LLJavac.Messager |
Modifier and Type | Field and Description |
---|---|
static int |
majorVersion |
static int |
minorVersion |
protected LLJavac.Messager |
msg |
Modifier | Constructor and Description |
---|---|
protected |
LLJavac(LLJavac.Messager msg) |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
backend(LLJava.Class c) |
protected void |
compile(File source,
File destination) |
protected List<LLJava.Class> |
frontend(File source) |
static void |
main(String[] args) |
static byte[] |
microcompile(LLJava.Class c,
PrintStream err) |
static byte[] |
microcompile(LLJava.Class c,
PrintStream err,
BiPredicate<String,String> subtypeOracle) |
protected void |
midend(LLJava.Class c) |
protected void |
store(String classname,
byte[] bytes,
File destination) |
public static final int majorVersion
public static final int minorVersion
protected final LLJavac.Messager msg
protected LLJavac(LLJavac.Messager msg)
public static void main(String[] args)
protected List<LLJava.Class> frontend(File source)
protected void midend(LLJava.Class c)
protected byte[] backend(LLJava.Class c)
public static byte[] microcompile(LLJava.Class c, PrintStream err)
public static byte[] microcompile(LLJava.Class c, PrintStream err, BiPredicate<String,String> subtypeOracle)
see also the complete user documentation .