|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.acciente.commons.loader.JavaCompiledClassDef
public class JavaCompiledClassDef
An implementation of a ClassDef backed by compiled Java class files.
ClassDef
Method Summary | |
---|---|
ClassDef[] |
getBundledClassDefs()
Returns the definitions of any non-public package, private, or inner classes that came the this class |
byte[] |
getByteCode()
This method loads and returns the the byte code for class from the underlying source. |
String |
getClassName()
Returns a fully qualified class name of the that this object manages |
String[] |
getReferencedClasses()
Returns the names of the classes that the byte code has references |
boolean |
isModified()
Returns true if the underlying source of the class data has changed since the last call to getByteCode() |
void |
reload()
Reloads the class byte code from the underlying class definition |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public String getClassName()
ClassDef
getClassName
in interface ClassDef
public boolean isModified()
ClassDef
isModified
in interface ClassDef
public void reload() throws ClassNotFoundException
ClassDef
reload
in interface ClassDef
ClassNotFoundException
public byte[] getByteCode()
ClassDef
getByteCode
in interface ClassDef
public ClassDef[] getBundledClassDefs()
ClassDef
getBundledClassDefs
in interface ClassDef
public String[] getReferencedClasses()
ClassDef
getReferencedClasses
in interface ClassDef
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |