|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ClassPool | |
javassist | The Javassist Core API. |
javassist.bytecode | Bytecode-level API. |
javassist.preproc | A sample preprocessor. |
javassist.reflect | Runtime Behavioral Reflection. |
javassist.rmi | Sample implementation of remote method invocation. |
javassist.web | Simple web server. |
Uses of ClassPool in javassist |
Methods in javassist that return ClassPool | |
ClassPool |
CtClass.getClassPool()
Returns a ClassPool for this class. |
static ClassPool |
ClassPool.getDefault()
Returns the default class pool. |
Methods in javassist with parameters of type ClassPool | |
void |
Translator.start(ClassPool pool)
Is invoked by a Loader for initialization
when the object is attached to the Loader object. |
void |
Translator.onLoad(ClassPool pool,
java.lang.String classname)
Is invoked by a Loader for notifying that
a class is loaded. |
void |
Loader.setClassPool(ClassPool cp)
Sets the soruce ClassPool . |
void |
Loader.addTranslator(ClassPool cp,
Translator t)
Adds a translator, which is called whenever a class is loaded. |
Constructors in javassist with parameters of type ClassPool | |
Loader(ClassPool cp)
Creates a new class loader. |
|
Loader(java.lang.ClassLoader parent,
ClassPool cp)
Creates a new class loader using the specified parent class loader for delegation. |
|
ClassPool(ClassPool parent)
Creates a class pool. |
Uses of ClassPool in javassist.bytecode |
Methods in javassist.bytecode with parameters of type ClassPool | |
static CtClass[] |
Descriptor.getParameterTypes(java.lang.String desc,
ClassPool cp)
Returns the CtClass objects representing the parameter
types specified by the given descriptor. |
static CtClass |
Descriptor.getReturnType(java.lang.String desc,
ClassPool cp)
Returns the CtClass object representing the return
type specified by the given descriptor. |
static CtClass |
Descriptor.toCtClass(java.lang.String desc,
ClassPool cp)
Returns a CtClass object representing the type
specified by the given descriptor. |
Uses of ClassPool in javassist.preproc |
Methods in javassist.preproc with parameters of type ClassPool | |
CtClass[] |
Assistant.assist(ClassPool cp,
java.lang.String importname,
java.lang.String[] args)
Is called when the Javassist preprocessor encounters an import declaration annotated with the "by" keyword. |
Uses of ClassPool in javassist.reflect |
Methods in javassist.reflect with parameters of type ClassPool | |
void |
Reflection.start(ClassPool pool)
Initializes the object. |
void |
Reflection.onLoad(ClassPool pool,
java.lang.String classname)
Inserts hooks for intercepting accesses to the fields declared in reflective classes. |
Uses of ClassPool in javassist.rmi |
Methods in javassist.rmi with parameters of type ClassPool | |
void |
StubGenerator.start(ClassPool pool)
Initializes the object. |
void |
StubGenerator.onLoad(ClassPool pool,
java.lang.String classname)
Does nothing. |
Constructors in javassist.rmi with parameters of type ClassPool | |
AppletServer(int port,
ClassPool src)
Constructs a web server. |
Uses of ClassPool in javassist.web |
Methods in javassist.web with parameters of type ClassPool | |
void |
Webserver.setClassPool(ClassPool loader)
Requests the web server to use the specified ClassPool object for obtaining a class file. |
void |
Webserver.addTranslator(ClassPool cp,
Translator t)
Adds a translator, which is called whenever a client requests a class file. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |