|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object play.classloading.ApplicationClasses.ApplicationClass
public static class ApplicationClasses.ApplicationClass
Represent a application class
Field Summary | |
---|---|
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 Summary | |
---|---|
ApplicationClasses.ApplicationClass()
|
|
ApplicationClasses.ApplicationClass(java.lang.String name)
|
Method Summary | |
---|---|
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()
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public ApplicationClasses.ApplicationClass()
public ApplicationClasses.ApplicationClass(java.lang.String name)
Method Detail |
---|
public void refresh()
public byte[] enhance()
public boolean isDefinable()
public boolean isClass()
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |