|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CtClassSource
Used when generating new classes on the fly.
ClassFactory
Method Summary | |
---|---|
Class |
createClass(javassist.CtClass ctClass)
Used after constructing the CtClass fully, to convert it into a Class ready to be instantiated. |
int |
getCreatedClassCount()
Returns the number of classes created. |
javassist.CtClass |
newClass(String name,
Class superClass)
Createa a new CtClass instance. |
javassist.CtClass |
toCtClass(Class searchClass)
Converts an existing class to a CtClass instance. |
javassist.CtClass |
toCtClass(String name)
Converts a class name to a CtClass instance. |
Method Detail |
---|
int getCreatedClassCount()
javassist.CtClass toCtClass(Class searchClass)
javassist.CtClass toCtClass(String name)
javassist.CtClass newClass(String name, Class superClass)
Class createClass(javassist.CtClass ctClass)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |