|
||||||||||
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 Reflection. |
javassist.rmi | Remote Method Invocation. |
javassist.web | 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(Translator t)
Returns the default class pool. |
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 ClassPool for initialization
when the object is attached to a ClassPool object. |
void |
Translator.onWrite(ClassPool pool,
java.lang.String classname)
Is invoked by a ClassPool for notifying that
a class is written out to an output stream. |
void |
Loader.setClassPool(ClassPool cp)
Sets the soruce ClassPool . |
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 src)
Creates a class pool. |
|
ClassPool(ClassPool src,
Translator trans)
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. |
void |
Reflection.onWrite(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)
Is a method declared in javassist.Translator. |
void |
StubGenerator.onWrite(ClassPool pool,
java.lang.String classname)
|
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |