Uses of Class
org.hotswap.agent.javassist.ClassPool
-
Packages that use ClassPool Package Description org.hotswap.agent.javassist The Javassist Core API.org.hotswap.agent.javassist.bytecode Bytecode-level API.org.hotswap.agent.javassist.bytecode.analysis Bytecode Analysis API.org.hotswap.agent.javassist.bytecode.annotation Bytecode-level Annotations API.org.hotswap.agent.javassist.bytecode.stackmap org.hotswap.agent.javassist.compiler org.hotswap.agent.javassist.scopedpool A custom class pool for several JBoss products.org.hotswap.agent.javassist.tools.reflect Runtime Behavioral Reflection.org.hotswap.agent.javassist.tools.rmi Sample implementation of remote method invocation.org.hotswap.agent.javassist.tools.web Simple web server for running sample code.org.hotswap.agent.plugin.jvm org.hotswap.agent.util.signature -
-
Uses of ClassPool in org.hotswap.agent.javassist
Fields in org.hotswap.agent.javassist declared as ClassPool Modifier and Type Field Description protected ClassPoolClassPool. parentMethods in org.hotswap.agent.javassist that return ClassPool Modifier and Type Method Description ClassPoolCtClass. getClassPool()Returns aClassPoolfor this class.static ClassPoolClassPool. getDefault()Returns the default class pool.Methods in org.hotswap.agent.javassist with parameters of type ClassPool Modifier and Type Method Description voidLoader. addTranslator(ClassPool cp, Translator t)Adds a translator, which is called whenever a class is loaded.voidTranslator. onLoad(ClassPool pool, String classname)Is invoked by aLoaderfor notifying that a class is loaded.voidLoader. setClassPool(ClassPool cp)Sets the soruceClassPool.voidTranslator. start(ClassPool pool)Is invoked by aLoaderfor initialization when the object is attached to theLoaderobject.Constructors in org.hotswap.agent.javassist with parameters of type ClassPool Constructor Description ClassPool(ClassPool parent)Creates a class pool.Loader(ClassLoader parent, ClassPool cp)Creates a new class loader using the specified parent class loader for delegation.Loader(ClassPool cp)Creates a new class loader. -
Uses of ClassPool in org.hotswap.agent.javassist.bytecode
Methods in org.hotswap.agent.javassist.bytecode with parameters of type ClassPool Modifier and Type Method Description static 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 CtClassDescriptor. toCtClass(String desc, ClassPool cp)Returns aCtClassobject representing the type specified by the given descriptor. -
Uses of ClassPool in org.hotswap.agent.javassist.bytecode.analysis
Constructors in org.hotswap.agent.javassist.bytecode.analysis with parameters of type ClassPool Constructor Description Executor(ClassPool classPool, ConstPool constPool) -
Uses of ClassPool in org.hotswap.agent.javassist.bytecode.annotation
Methods in org.hotswap.agent.javassist.bytecode.annotation with parameters of type ClassPool Modifier and Type Method Description static ObjectAnnotationImpl. make(ClassLoader cl, Class<?> clazz, ClassPool cp, Annotation anon)Constructs an annotation object.ObjectAnnotation. toAnnotationType(ClassLoader cl, ClassPool cp)Constructs an annotation-type object representing this annotation. -
Uses of ClassPool in org.hotswap.agent.javassist.bytecode.stackmap
Fields in org.hotswap.agent.javassist.bytecode.stackmap declared as ClassPool Modifier and Type Field Description protected ClassPoolTracer. classPoolMethods in org.hotswap.agent.javassist.bytecode.stackmap with parameters of type ClassPool Modifier and Type Method Description static voidTypeData. aastore(TypeData array, TypeData value, ClassPool cp)intTypeData.ArrayElement. dfs(List<TypeData> order, int index, ClassPool cp)intTypeData.ArrayType. dfs(List<TypeData> order, int index, ClassPool cp)intTypeData. dfs(List<TypeData> order, int index, ClassPool cp)Depth-first search by Tarjan's algorithmintTypeData.TypeVar. dfs(List<TypeData> preOrder, int index, ClassPool cp)static StackMapTableMapMaker. make(ClassPool classes, MethodInfo minfo)Computes the stack map table of the given method and returns it.static StackMapMapMaker. make2(ClassPool classes, MethodInfo minfo)Computes the stack map table for J2ME.voidTypeData.ArrayElement. setType(String s, ClassPool cp)voidTypeData.ArrayType. setType(String s, ClassPool cp)voidTypeData.BasicType. setType(String s, ClassPool cp)voidTypeData.ClassName. setType(String typeName, ClassPool cp)abstract voidTypeData. setType(String s, ClassPool cp)voidTypeData.TypeVar. setType(String typeName, ClassPool cp)voidTypeData.UninitTypeVar. setType(String s, ClassPool cp)Constructors in org.hotswap.agent.javassist.bytecode.stackmap with parameters of type ClassPool Constructor Description MapMaker(ClassPool classes, MethodInfo minfo, CodeAttribute ca)Tracer(ClassPool classes, ConstPool cp, int maxStack, int maxLocals, String retType) -
Uses of ClassPool in org.hotswap.agent.javassist.compiler
Methods in org.hotswap.agent.javassist.compiler that return ClassPool Modifier and Type Method Description ClassPoolMemberResolver. getClassPool()Constructors in org.hotswap.agent.javassist.compiler with parameters of type ClassPool Constructor Description JvstCodeGen(Bytecode b, CtClass cc, ClassPool cp)JvstTypeChecker(CtClass cc, ClassPool cp, JvstCodeGen gen)MemberCodeGen(Bytecode b, CtClass cc, ClassPool cp)MemberResolver(ClassPool cp)TypeChecker(CtClass cc, ClassPool cp) -
Uses of ClassPool in org.hotswap.agent.javassist.scopedpool
Subclasses of ClassPool in org.hotswap.agent.javassist.scopedpool Modifier and Type Class Description classScopedClassPoolA scoped class pool.Fields in org.hotswap.agent.javassist.scopedpool declared as ClassPool Modifier and Type Field Description protected ClassPoolScopedClassPoolRepositoryImpl. classpoolThe default class poolMethods in org.hotswap.agent.javassist.scopedpool that return ClassPool Modifier and Type Method Description ClassPoolScopedClassPoolRepository. findClassPool(ClassLoader cl)Finds a scoped classpool registered under the passed in classloader.ClassPoolScopedClassPoolRepositoryImpl. findClassPool(ClassLoader cl)ClassPoolScopedClassPoolRepository. registerClassLoader(ClassLoader ucl)Register a classloader.ClassPoolScopedClassPoolRepositoryImpl. registerClassLoader(ClassLoader ucl)Register a classloader.Methods in org.hotswap.agent.javassist.scopedpool with parameters of type ClassPool Modifier and Type Method Description ScopedClassPoolScopedClassPoolFactory. create(ClassLoader cl, ClassPool src, ScopedClassPoolRepository repository)Makes an instance.ScopedClassPoolScopedClassPoolFactory. create(ClassPool src, ScopedClassPoolRepository repository)Makes an instance.ScopedClassPoolScopedClassPoolFactoryImpl. create(ClassLoader cl, ClassPool src, ScopedClassPoolRepository repository)Makes an instance.ScopedClassPoolScopedClassPoolFactoryImpl. create(ClassPool src, ScopedClassPoolRepository repository)Makes an instance.ScopedClassPoolScopedClassPoolRepository. createScopedClassPool(ClassLoader cl, ClassPool src)Create a scoped classpool.ScopedClassPoolScopedClassPoolRepositoryImpl. createScopedClassPool(ClassLoader cl, ClassPool src)Create a scoped classpool.Constructors in org.hotswap.agent.javassist.scopedpool with parameters of type ClassPool Constructor Description ScopedClassPool(ClassLoader cl, ClassPool src, ScopedClassPoolRepository repository)Create a new ScopedClassPool.ScopedClassPool(ClassLoader cl, ClassPool src, ScopedClassPoolRepository repository, boolean isTemp)Create a new ScopedClassPool. -
Uses of ClassPool in org.hotswap.agent.javassist.tools.reflect
Fields in org.hotswap.agent.javassist.tools.reflect declared as ClassPool Modifier and Type Field Description protected ClassPoolReflection. classPoolMethods in org.hotswap.agent.javassist.tools.reflect with parameters of type ClassPool Modifier and Type Method Description voidReflection. onLoad(ClassPool pool, String classname)Inserts hooks for intercepting accesses to the fields declared in reflective classes.voidReflection. start(ClassPool pool)Initializes the object. -
Uses of ClassPool in org.hotswap.agent.javassist.tools.rmi
Methods in org.hotswap.agent.javassist.tools.rmi with parameters of type ClassPool Modifier and Type Method Description voidStubGenerator. onLoad(ClassPool pool, String classname)Does nothing.voidStubGenerator. start(ClassPool pool)Initializes the object.Constructors in org.hotswap.agent.javassist.tools.rmi with parameters of type ClassPool Constructor Description AppletServer(int port, ClassPool src)Constructs a web server. -
Uses of ClassPool in org.hotswap.agent.javassist.tools.web
Methods in org.hotswap.agent.javassist.tools.web with parameters of type ClassPool Modifier and Type Method Description voidWebserver. 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. -
Uses of ClassPool in org.hotswap.agent.plugin.jvm
Methods in org.hotswap.agent.plugin.jvm with parameters of type ClassPool Modifier and Type Method Description booleanAnonymousClassInfos. isCurrent(ClassPool classPool)Return true, if last modification timestamp is same as current timestamp of className.static CtClassAnonymousClassPatchPlugin. patchAnonymousClass(ClassLoader classLoader, ClassPool classPool, String className, Class original)Replace an anonymous class with an compatible change (from another class according to state info).static byte[]AnonymousClassPatchPlugin. patchMainClass(String className, ClassPool classPool, CtClass ctClass, ClassLoader classLoader, ProtectionDomain protectionDomain)If class contains anonymous classes, rename class references to compatible transition classes.Constructors in org.hotswap.agent.plugin.jvm with parameters of type ClassPool Constructor Description AnonymousClassInfos(ClassPool classPool, String className)Create info of the new state from the classPool via javassist. -
Uses of ClassPool in org.hotswap.agent.util.signature
Methods in org.hotswap.agent.util.signature with parameters of type ClassPool Modifier and Type Method Description static booleanClassSignatureComparerHelper. isPoolClassDifferent(Class<?> clazz, ClassPool cp, ClassSignatureElement[] signatureElements)
-