public class JaninoCompiler extends java.lang.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() |
java.lang.ClassLoader |
getClassLoader() |
int |
getTotalByteCodeSize() |
public JaninoCompiler.JaninoCompilerArgs args
private JaninoCompiler.AccountingClassLoader classLoader
public void compile()
compile
in interface JavaCompiler
public JavaCompilerArgs getArgs()
getArgs
in interface JavaCompiler
public java.lang.ClassLoader getClassLoader()
getClassLoader
in interface JavaCompiler
public int getTotalByteCodeSize()
getTotalByteCodeSize
in interface JavaCompiler
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.