|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClassDef
This interface abstracts access to a object capable of providing the byte codes for a java class definition. An example of such an object is a java source file, another example is a java class file.
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 |
Method Detail |
---|
String getClassName()
boolean isModified()
void reload() throws ClassNotFoundException
ClassNotFoundException
byte[] getByteCode()
ClassDef[] getBundledClassDefs()
String[] getReferencedClasses()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |