Uses of Class
javassist.ClassPool
Packages that use ClassPool
Package
Description
The Javassist Core API.
Bytecode-level API.
Bytecode Analysis API.
Bytecode-level Annotations API.
Runtime Behavioral Reflection.
Sample implementation of remote method invocation.
Simple web server for running sample code.
-
Uses of ClassPool in javassist
Modifier and TypeMethodDescriptionCtClass.getClassPool()Returns aClassPoolfor this class.static ClassPoolClassPool.getDefault()Returns the default class pool.Modifier and TypeMethodDescriptionvoidLoader.addTranslator(ClassPool cp, Translator t) Adds a translator, which is called whenever a class is loaded.voidIs invoked by aLoaderfor notifying that a class is loaded.voidLoader.setClassPool(ClassPool cp) Sets the soruceClassPool.voidIs invoked by aLoaderfor initialization when the object is attached to theLoaderobject. -
Uses of ClassPool in javassist.bytecode
Methods in javassist.bytecode with parameters of type ClassPoolModifier and TypeMethodDescriptionstatic CtClass[]Descriptor.getParameterTypes(String desc, ClassPool cp) Returns theCtClassobjects representing the parameter types specified by the given descriptor.static CtClassDescriptor.getReturnType(String desc, ClassPool cp) Returns theCtClassobject representing the return type specified by the given descriptor.voidMethodInfo.rebuildStackMap(ClassPool pool) Rebuilds a stack map table.voidMethodInfo.rebuildStackMapForME(ClassPool pool) Rebuilds a stack map table for J2ME (CLDC).voidMethodInfo.rebuildStackMapIf6(ClassPool pool, ClassFile cf) Rebuilds a stack map table if the class file is for Java 6 or later.static CtClassReturns aCtClassobject representing the type specified by the given descriptor. -
Uses of ClassPool in javassist.bytecode.analysis
Constructors in javassist.bytecode.analysis with parameters of type ClassPool -
Uses of ClassPool in javassist.bytecode.annotation
Methods in javassist.bytecode.annotation with parameters of type ClassPoolModifier and TypeMethodDescriptionstatic ObjectAnnotationImpl.make(ClassLoader cl, Class<?> clazz, ClassPool cp, Annotation anon) Constructs an annotation object.Annotation.toAnnotationType(ClassLoader cl, ClassPool cp) Constructs an annotation-type object representing this annotation. -
Uses of ClassPool in javassist.tools.reflect
Methods in javassist.tools.reflect with parameters of type ClassPool -
Uses of ClassPool in javassist.tools.rmi
Methods in javassist.tools.rmi with parameters of type ClassPoolModifier and TypeMethodDescriptionvoidDoes nothing.voidInitializes the object.Constructors in javassist.tools.rmi with parameters of type ClassPool -
Uses of ClassPool in javassist.tools.web
Methods in javassist.tools.web with parameters of type ClassPoolModifier and TypeMethodDescriptionvoidWebserver.addTranslator(ClassPool cp, Translator t) Adds a translator, which is called whenever a client requests a class file.voidWebserver.setClassPool(ClassPool loader) Requests the web server to use the specifiedClassPoolobject for obtaining a class file.