public static class ApplicationClasses.ApplicationClass extends Object
Modifier and Type | Field and Description |
---|---|
byte[] |
enhancedByteCode
The enhanced byteCode
|
byte[] |
javaByteCode
The compiled byteCode
|
Class<?> |
javaClass
The in JVM loaded class
|
VirtualFile |
javaFile
A reference to the java source file
|
Package |
javaPackage
The in JVM loaded package
|
String |
javaSource
The Java source
|
String |
name
The fully qualified class name
|
int |
sigChecksum
Signatures checksum
|
Long |
timestamp
Last time than this class was compiled
|
Constructor and Description |
---|
ApplicationClass() |
ApplicationClass(String name) |
ApplicationClass(String name,
VirtualFile javaFile) |
Modifier and Type | Method and Description |
---|---|
byte[] |
compile()
Compile the class from Java source
|
void |
compiled(byte[] code)
Call back when a class is compiled.
|
byte[] |
enhance()
Enhance this class
|
String |
getPackage() |
boolean |
isClass() |
static boolean |
isClass(String name) |
boolean |
isDefinable()
Is this class already compiled but not defined ?
|
void |
refresh()
Need to refresh this class !
|
String |
toString() |
void |
uncompile()
Unload the class
|
public String name
public VirtualFile javaFile
public String javaSource
public byte[] javaByteCode
public byte[] enhancedByteCode
public Class<?> javaClass
public Package javaPackage
public Long timestamp
public int sigChecksum
public ApplicationClass()
public ApplicationClass(String name)
public ApplicationClass(String name, VirtualFile javaFile)
public final void refresh()
public byte[] enhance()
public boolean isDefinable()
public boolean isClass()
public static boolean isClass(String name)
public String getPackage()
public byte[] compile()
public void uncompile()
public void compiled(byte[] code)
code
- The bytecode.Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly