public class JaninoCompiler extends Object implements JavaCompiler
| Modifier and Type | Class and Description |
|---|---|
private static class |
JaninoCompiler.AccountingClassLoader
Refinement of JavaSourceClassLoader which keeps track of the total
bytecode length of the classes it has compiled.
|
static class |
JaninoCompiler.JaninoCompilerArgs
Arguments to an invocation of the Janino compiler.
|
| Modifier and Type | Field and Description |
|---|---|
JaninoCompiler.JaninoCompilerArgs |
args |
private JaninoCompiler.AccountingClassLoader |
classLoader |
| Constructor and Description |
|---|
JaninoCompiler() |
| Modifier and Type | Method and Description |
|---|---|
void |
compile() |
JavaCompilerArgs |
getArgs() |
ClassLoader |
getClassLoader() |
int |
getTotalByteCodeSize() |
public JaninoCompiler.JaninoCompilerArgs args
private JaninoCompiler.AccountingClassLoader classLoader
public void compile()
compile in interface JavaCompilerpublic JavaCompilerArgs getArgs()
getArgs in interface JavaCompilerpublic ClassLoader getClassLoader()
getClassLoader in interface JavaCompilerpublic int getTotalByteCodeSize()
getTotalByteCodeSize in interface JavaCompilerCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.