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