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.
A custom class pool for several JBoss products.
Runtime Behavioral Reflection.
Sample implementation of remote method invocation.
Simple web server for running sample code.
-
Uses of ClassPool in javassist
Modifier and TypeFieldDescription(package private) ClassPool
CtClassType.classPool
private static ClassPool
ClassPool.defaultPool
protected ClassPool
ClassPool.parent
protected ClassPool
CtArray.pool
private ClassPool
Loader.source
Modifier and TypeMethodDescriptionCtArray.getClassPool()
CtClass.getClassPool()
Returns aClassPool
for this class.CtClassType.getClassPool()
static ClassPool
ClassPool.getDefault()
Returns the default class pool.Modifier and TypeMethodDescriptionvoid
Loader.addTranslator
(ClassPool cp, Translator t) Adds a translator, which is called whenever a class is loaded.(package private) static Object
CtClassType.getAnnotationType
(Class<?> clz, ClassPool cp, AnnotationsAttribute a1, AnnotationsAttribute a2) (package private) static boolean
CtClassType.hasAnnotationType
(Class<?> clz, ClassPool cp, AnnotationsAttribute a1, AnnotationsAttribute a2) Deprecated.(package private) static boolean
CtClassType.hasAnnotationType
(String annotationTypeName, ClassPool cp, AnnotationsAttribute a1, AnnotationsAttribute a2) private void
void
Is invoked by aLoader
for notifying that a class is loaded.(package private) void
CtClassType.setClassPool
(ClassPool cp) void
Loader.setClassPool
(ClassPool cp) Sets the soruceClassPool
.void
Is invoked by aLoader
for initialization when the object is attached to theLoader
object.(package private) static Object[]
CtClassType.toAnnotationType
(boolean ignoreNotFound, ClassPool cp, AnnotationsAttribute a1, AnnotationsAttribute a2) (package private) static Object[][]
CtClassType.toAnnotationType
(boolean ignoreNotFound, ClassPool cp, ParameterAnnotationsAttribute a1, ParameterAnnotationsAttribute a2, MethodInfo minfo) private static Object
CtClassType.toAnnoType
(Annotation anno, ClassPool cp) ModifierConstructorDescriptionCreates a class pool.(package private)
(package private)
CtClassType
(InputStream ins, ClassPool cp) (package private)
CtClassType
(String name, ClassPool cp) (package private)
CtClassType
(ClassFile cf, ClassPool cp) (package private)
CtNewClass
(String name, ClassPool cp, boolean isInterface, CtClass superclass) Loader
(ClassLoader parent, ClassPool cp) Creates a new class loader using the specified parent class loader for delegation.Creates a new class loader. -
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 theCtClass
objects representing the parameter types specified by the given descriptor.static CtClass
Descriptor.getReturnType
(String desc, ClassPool cp) Returns theCtClass
object representing the return type specified by the given descriptor.void
MethodInfo.rebuildStackMap
(ClassPool pool) Rebuilds a stack map table.void
MethodInfo.rebuildStackMapForME
(ClassPool pool) Rebuilds a stack map table for J2ME (CLDC).void
MethodInfo.rebuildStackMapIf6
(ClassPool pool, ClassFile cf) Rebuilds a stack map table if the class file is for Java 6 or later.static CtClass
Returns aCtClass
object representing the type specified by the given descriptor.private static int
-
Uses of ClassPool in javassist.bytecode.analysis
Fields in javassist.bytecode.analysis declared as ClassPoolMethods in javassist.bytecode.analysis that return ClassPoolConstructors in javassist.bytecode.analysis with parameters of type ClassPool -
Uses of ClassPool in javassist.bytecode.annotation
Fields in javassist.bytecode.annotation declared as ClassPoolMethods in javassist.bytecode.annotation with parameters of type ClassPoolModifier and TypeMethodDescription(package private) Object
AnnotationMemberValue.getValue
(ClassLoader cl, ClassPool cp, Method m) (package private) Object
ArrayMemberValue.getValue
(ClassLoader cl, ClassPool cp, Method method) (package private) Object
BooleanMemberValue.getValue
(ClassLoader cl, ClassPool cp, Method m) (package private) Object
ByteMemberValue.getValue
(ClassLoader cl, ClassPool cp, Method m) (package private) Object
CharMemberValue.getValue
(ClassLoader cl, ClassPool cp, Method m) (package private) Object
ClassMemberValue.getValue
(ClassLoader cl, ClassPool cp, Method m) (package private) Object
DoubleMemberValue.getValue
(ClassLoader cl, ClassPool cp, Method m) (package private) Object
EnumMemberValue.getValue
(ClassLoader cl, ClassPool cp, Method m) (package private) Object
FloatMemberValue.getValue
(ClassLoader cl, ClassPool cp, Method m) (package private) Object
IntegerMemberValue.getValue
(ClassLoader cl, ClassPool cp, Method m) (package private) Object
LongMemberValue.getValue
(ClassLoader cl, ClassPool cp, Method m) (package private) abstract Object
MemberValue.getValue
(ClassLoader cl, ClassPool cp, Method m) Returns the value.(package private) Object
ShortMemberValue.getValue
(ClassLoader cl, ClassPool cp, Method m) (package private) Object
StringMemberValue.getValue
(ClassLoader cl, ClassPool cp, Method m) static Object
AnnotationImpl.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.Constructors in javassist.bytecode.annotation with parameters of type ClassPoolModifierConstructorDescriptionprivate
AnnotationImpl
(Annotation a, ClassPool cp, ClassLoader loader) -
Uses of ClassPool in javassist.bytecode.stackmap
Fields in javassist.bytecode.stackmap declared as ClassPoolMethods in javassist.bytecode.stackmap with parameters of type ClassPoolModifier and TypeMethodDescriptionstatic void
int
int
int
Depth-first search by Tarjan's algorithmint
private CtClass
TypeData.TypeVar.fixByUppers
(List<TypeData> users, ClassPool cp, Set<TypeData> visited, CtClass type) private void
private String
static StackMapTable
MapMaker.make
(ClassPool classes, MethodInfo minfo) Computes the stack map table of the given method and returns it.static StackMap
MapMaker.make2
(ClassPool classes, MethodInfo minfo) Computes the stack map table for J2ME.void
void
void
void
abstract void
private static void
Sets the type name of this object type.void
void
Constructors in javassist.bytecode.stackmap with parameters of type ClassPool -
Uses of ClassPool in javassist.compiler
Fields in javassist.compiler declared as ClassPoolFields in javassist.compiler with type parameters of type ClassPoolMethods in javassist.compiler that return ClassPoolConstructors in javassist.compiler with parameters of type ClassPoolModifierConstructorDescriptionJvstCodeGen
(Bytecode b, CtClass cc, ClassPool cp) JvstTypeChecker
(CtClass cc, ClassPool cp, JvstCodeGen gen) MemberCodeGen
(Bytecode b, CtClass cc, ClassPool cp) TypeChecker
(CtClass cc, ClassPool cp) -
Uses of ClassPool in javassist.convert
Methods in javassist.convert with parameters of type ClassPool -
Uses of ClassPool in javassist.scopedpool
Subclasses of ClassPool in javassist.scopedpoolFields in javassist.scopedpool declared as ClassPoolModifier and TypeFieldDescriptionprotected ClassPool
ScopedClassPoolRepositoryImpl.classpool
The default class poolMethods in javassist.scopedpool that return ClassPoolModifier and TypeMethodDescriptionScopedClassPoolRepository.findClassPool
(ClassLoader cl) Finds a scoped classpool registered under the passed in classloader.ScopedClassPoolRepositoryImpl.findClassPool
(ClassLoader cl) ScopedClassPoolRepository.registerClassLoader
(ClassLoader ucl) Register a classloader.ScopedClassPoolRepositoryImpl.registerClassLoader
(ClassLoader ucl) Register a classloader.Methods in javassist.scopedpool with parameters of type ClassPoolModifier and TypeMethodDescriptionScopedClassPoolFactory.create
(ClassLoader cl, ClassPool src, ScopedClassPoolRepository repository) Makes an instance.ScopedClassPoolFactory.create
(ClassPool src, ScopedClassPoolRepository repository) Makes an instance.ScopedClassPoolFactoryImpl.create
(ClassLoader cl, ClassPool src, ScopedClassPoolRepository repository) Makes an instance.ScopedClassPoolFactoryImpl.create
(ClassPool src, ScopedClassPoolRepository repository) Makes an instance.ScopedClassPoolRepository.createScopedClassPool
(ClassLoader cl, ClassPool src) Create a scoped classpool.ScopedClassPoolRepositoryImpl.createScopedClassPool
(ClassLoader cl, ClassPool src) Create a scoped classpool.Constructors in javassist.scopedpool with parameters of type ClassPoolModifierConstructorDescriptionprotected
ScopedClassPool
(ClassLoader cl, ClassPool src, ScopedClassPoolRepository repository) Create a new ScopedClassPool.protected
ScopedClassPool
(ClassLoader cl, ClassPool src, ScopedClassPoolRepository repository, boolean isTemp) Create a new ScopedClassPool. -
Uses of ClassPool in javassist.tools.reflect
Fields in javassist.tools.reflect declared as ClassPoolMethods in javassist.tools.reflect with parameters of type ClassPool -
Uses of ClassPool in javassist.tools.rmi
Fields in javassist.tools.rmi declared as ClassPoolMethods in javassist.tools.rmi with parameters of type ClassPoolModifier and TypeMethodDescriptionvoid
Does nothing.void
Initializes the object.Constructors in javassist.tools.rmi with parameters of type ClassPoolModifierConstructorDescriptionAppletServer
(int port, ClassPool src) Constructs a web server.private
AppletServer
(ClassPool loader, StubGenerator gen, int port) -
Uses of ClassPool in javassist.tools.web
Fields in javassist.tools.web declared as ClassPoolMethods in javassist.tools.web with parameters of type ClassPoolModifier and TypeMethodDescriptionvoid
Webserver.addTranslator
(ClassPool cp, Translator t) Adds a translator, which is called whenever a client requests a class file.void
Webserver.setClassPool
(ClassPool loader) Requests the web server to use the specifiedClassPool
object for obtaining a class file.