Uses of Class
org.hotswap.agent.javassist.NotFoundException
-
Packages that use NotFoundException Package Description org.hotswap.agent.javassist The Javassist Core API.org.hotswap.agent.javassist.bytecode Bytecode-level 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.convert org.hotswap.agent.javassist.expr This package contains the classes for modifying a method body.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.javassist.util Utility classes.org.hotswap.agent.plugin.jvm -
-
Uses of NotFoundException in org.hotswap.agent.javassist
Methods in org.hotswap.agent.javassist that throw NotFoundException Modifier and Type Method Description static CtMethodCtNewMethod. abstractMethod(CtClass returnType, String mname, CtClass[] parameters, CtClass[] exceptions, CtClass declaring)Creates a public abstract method.voidLoader. addTranslator(ClassPool cp, Translator t)Adds a translator, which is called whenever a class is loaded.ClassPathClassPool. appendClassPath(String pathname)Appends a directory or a jar (or zip) file to the end of the search path.voidClassPool. appendPathList(String pathlist)Appends directories and jar files for search.static CtField.InitializerCtField.Initializer. byNewArray(CtClass type, int size)Makes an initializer creating a new array.CtClassClassPool. get(String classname)Reads a class file from the source and returns a reference to theCtClassobject representing that class file.CtClass[]ClassPool. get(String[] classnames)Reads class files from the source and returns an array ofCtClassobjects representing those class files.protected CtClassClassPool. get0(String classname, boolean useCache)CtClassClassPool. getAndRename(String orgName, String newName)Reads a class file and constructs aCtClassobject with a new name.CtClassCtClass. getComponentType()If this object represents an array, this method returns the component type of the array.CtConstructorCtClass. getConstructor(String desc)Returns the constructor with the given signature, which is represented by a character string called method descriptor.CtClassClassPool. getCtClass(String classname)Returns aCtClassobject with the given name.CtClass[]CtClass. getDeclaredClasses()Returns an array of nested classes declared in the class.CtConstructorCtClass. getDeclaredConstructor(CtClass[] params)Returns a constructor receiving the specified parameters.CtFieldCtClass. getDeclaredField(String name)Retrieves the field with the specified name among the fields declared in the class.CtFieldCtClass. getDeclaredField(String name, String desc)Retrieves the field with the specified name and type among the fields declared in the class.CtMethodCtClass. getDeclaredMethod(String name)Retrieves the method with the specified name among the methods declared in the class.CtMethodCtClass. getDeclaredMethod(String name, CtClass[] params)Retrieves the method with the specified name and parameter types among the methods declared in the class.CtMethod[]CtClass. getDeclaredMethods(String name)Retrieves methods with the specified name among the methods declared in the class.CtClassCtClass. getDeclaringClass()If this class is a member class or interface of another class, then the class enclosing this class is returned.CtBehaviorCtClass. getEnclosingBehavior()Returns the immediately enclosing method of this class.CtMethodCtClass. getEnclosingMethod()Deprecated.The enclosing method might be a constructor.CtClass[]CtBehavior. getExceptionTypes()Obtains exceptions that this method/constructor may throw.CtFieldCtClass. getField(String name)Returns the field with the specified name.CtFieldCtClass. getField(String name, String desc)Returns the field with the specified name and type.CtClass[]CtClass. getInterfaces()Obtains the class objects representing the interfaces implemented by the class or, if this object represents an interface, the interfaces extended by that interface.CtMethodClassPool. getMethod(String classname, String methodname)Reads a class file and obtains a compile-time method.CtMethodCtClass. getMethod(String name, String desc)Returns the method with the given name and signature.CtClass[]CtClass. getNestedClasses()Returns an array of nested classes declared in the class.CtClass[]CtBehavior. getParameterTypes()Obtains parameter types of this method/constructor.CtClassCtMethod. getReturnType()Obtains the type of the returned value.CtClassCtClass. getSuperclass()Obtains the class object representing the superclass of the class.StringCtClass. getSuperclassName()CtClassCtField. getType()Returns the type of the field.URLCtClass. getURL()Returns the uniform resource locator (URL) of the class file.ClassPathClassPool. insertClassPath(String pathname)Inserts a directory or a jar (or zip) file at the head of the search path.booleanCtClass. isInnerClass()Checks if ctClass is inner class.voidTranslator. onLoad(ClassPool pool, String classname)Is invoked by aLoaderfor notifying that a class is loaded.InputStreamClassClassPath. openClassfile(String classname)Obtains a class file bygetResourceAsStream().InputStreamClassPath. openClassfile(String classname)Opens a class file.InputStreamLoaderClassPath. openClassfile(String classname)Obtains a class file from the class loader.voidCtClass. removeConstructor(CtConstructor c)Removes a constructor declared in this class.voidCtClass. removeField(CtField f)Removes a field declared in this class.voidCtClass. removeMethod(CtMethod m)Removes a method declared in this class.voidCodeConverter. replaceArrayAccess(CtClass calledClass, CodeConverter.ArrayAccessReplacementMethodNames names)Modify a method body, so that ALL accesses to an array are replaced with calls to static methods within another class.voidCtBehavior. setExceptionTypes(CtClass[] types)Sets exceptions that this method/constructor may throw.static voidSerialVersionUID. setSerialVersionUID(CtClass clazz)Adds serialVersionUID if one does not already exist.voidTranslator. start(ClassPool pool)Is invoked by aLoaderfor initialization when the object is attached to theLoaderobject.booleanCtClass. subtypeOf(CtClass clazz)Returnstrueif this class extends or implementsclazz.voidCtClass. writeFile()Writes a class file represented by thisCtClassobject in the current directory.Constructors in org.hotswap.agent.javassist with parameters of type NotFoundException Constructor Description CannotCompileException(NotFoundException e)Constructs a CannotCompileException with aNotFoundException. -
Uses of NotFoundException in org.hotswap.agent.javassist.bytecode
Methods in org.hotswap.agent.javassist.bytecode that throw NotFoundException 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.static CtClassDescriptor. toCtClass(String desc, ClassPool cp)Returns aCtClassobject representing the type specified by the given descriptor. -
Uses of NotFoundException in org.hotswap.agent.javassist.bytecode.annotation
Methods in org.hotswap.agent.javassist.bytecode.annotation that throw NotFoundException Modifier and Type Method Description static MemberValueAnnotation. createMemberValue(ConstPool cp, CtClass type)Makes an instance ofMemberValue.Constructors in org.hotswap.agent.javassist.bytecode.annotation that throw NotFoundException Constructor Description Annotation(ConstPool cp, CtClass clazz)Constructs an annotation that can be accessed through the interface represented byclazz. -
Uses of NotFoundException in org.hotswap.agent.javassist.bytecode.stackmap
Methods in org.hotswap.agent.javassist.bytecode.stackmap that throw NotFoundException Modifier and Type Method Description static CtClassTypeData. commonSuperClass(CtClass one, CtClass two)Finds the most specific common super class of the given classes.static CtClassTypeData. commonSuperClassEx(CtClass one, CtClass two)Finds the most specific common super class of the given classes by considering array types.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)TypeDataTypeData.ArrayElement. getArrayType(int dim)TypeDataTypeData.ArrayType. getArrayType(int dim)TypeDataTypeData.BasicType. getArrayType(int dim)TypeDataTypeData.ClassName. getArrayType(int dim)abstract TypeDataTypeData. getArrayType(int dim)TypeDataTypeData.TypeVar. getArrayType(int dim)TypeDataTypeData.UninitTypeVar. getArrayType(int dim) -
Uses of NotFoundException in org.hotswap.agent.javassist.compiler
Constructors in org.hotswap.agent.javassist.compiler with parameters of type NotFoundException Constructor Description CompileError(NotFoundException e) -
Uses of NotFoundException in org.hotswap.agent.javassist.convert
Constructors in org.hotswap.agent.javassist.convert that throw NotFoundException Constructor Description TransformAccessArrayField(Transformer next, String methodClassname, CodeConverter.ArrayAccessReplacementMethodNames names)TransformAfter(Transformer next, CtMethod origMethod, CtMethod afterMethod)TransformBefore(Transformer next, CtMethod origMethod, CtMethod beforeMethod) -
Uses of NotFoundException in org.hotswap.agent.javassist.expr
Methods in org.hotswap.agent.javassist.expr that throw NotFoundException Modifier and Type Method Description CtClassNewArray. getComponentType()Returns the type of array components.CtConstructorConstructorCall. getConstructor()Returns the called constructor.CtConstructorNewExpr. getConstructor()Returns the constructor called for creating the object.protected CtClassMethodCall. getCtClass()Returns the class of the target object, which the method is called on.CtFieldFieldAccess. getField()Returns the field accessed by this expression.CtMethodConstructorCall. getMethod()Always throws aNotFoundException.CtMethodMethodCall. getMethod()Returns the called method.CtClassCast. getType()Returns theCtClassobject representing the type specified by the cast.CtClassHandler. getType()Returns the type handled by the catch clause.CtClassInstanceof. getType()Returns theCtClassobject representing the type name on the right hand side of the instanceof operator. -
Uses of NotFoundException in org.hotswap.agent.javassist.scopedpool
Methods in org.hotswap.agent.javassist.scopedpool that throw NotFoundException Modifier and Type Method Description CtClassScopedClassPool. getLocally(String classname)Get any local copy of the class -
Uses of NotFoundException in org.hotswap.agent.javassist.tools.reflect
Methods in org.hotswap.agent.javassist.tools.reflect that throw NotFoundException Modifier and Type Method Description booleanLoader. makeReflective(String clazz, String metaobject, String metaclass)Produces a reflective class.booleanReflection. makeReflective(Class<?> clazz, Class<?> metaobject, Class<?> metaclass)Produces a reflective class.booleanReflection. makeReflective(String classname, String metaobject, String metaclass)Produces a reflective class.booleanReflection. makeReflective(CtClass clazz, CtClass metaobject, CtClass metaclass)Produces a reflective class.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.Constructors in org.hotswap.agent.javassist.tools.reflect that throw NotFoundException Constructor Description Loader()Constructs a new class loader. -
Uses of NotFoundException in org.hotswap.agent.javassist.tools.rmi
Methods in org.hotswap.agent.javassist.tools.rmi that throw NotFoundException Modifier and Type Method Description booleanStubGenerator. makeProxyClass(Class<?> clazz)Makes a proxy class.voidStubGenerator. start(ClassPool pool)Initializes the object.Constructors in org.hotswap.agent.javassist.tools.rmi that throw NotFoundException Constructor Description AppletServer(int port)Constructs a web server.AppletServer(int port, ClassPool src)Constructs a web server.AppletServer(String port)Constructs a web server. -
Uses of NotFoundException in org.hotswap.agent.javassist.tools.web
Methods in org.hotswap.agent.javassist.tools.web that throw NotFoundException Modifier and Type Method Description voidWebserver. addTranslator(ClassPool cp, Translator t)Adds a translator, which is called whenever a client requests a class file. -
Uses of NotFoundException in org.hotswap.agent.javassist.util
Methods in org.hotswap.agent.javassist.util that throw NotFoundException Modifier and Type Method Description static FileHotSwapAgent. createAgentJarFile(String fileName)Creates an agent file for usingHotSwapAgent.static voidHotSwapAgent. redefine(Class<?>[] oldClasses, CtClass[] newClasses)Redefines classes.static voidHotSwapAgent. redefine(Class<?> oldClass, CtClass newClass)Redefines a class. -
Uses of NotFoundException in org.hotswap.agent.plugin.jvm
Methods in org.hotswap.agent.plugin.jvm that throw NotFoundException Modifier and Type Method Description static voidClassInitPlugin. patch(CtClass ctClass, ClassLoader classLoader, Class<?> originalClass)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.
-