public class BytecodeCache extends Object
| Constructor and Description |
|---|
BytecodeCache() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cacheBytecode(byte[] byteCode,
String name,
String source)
Cache the bytecode
|
static void |
deleteBytecode(String name)
Delete the bytecode
|
static byte[] |
getBytecode(String name,
String source)
Retrieve the bytecode if source has not changed
|
public static void deleteBytecode(String name)
name - Cache namepublic static byte[] getBytecode(String name, String source)
name - The cache namesource - The source codeGuillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly