Uses of Class
javassist.NotFoundException

Packages that use NotFoundException
javassist The Javassist Core API. 
javassist.bytecode Bytecode-level API. 
javassist.expr This package contains the classes for modifying a method body. 
javassist.reflect Runtime Reflection. 
javassist.rmi Remote Method Invocation. 
 

Uses of NotFoundException in javassist
 

Methods in javassist that throw NotFoundException
 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.
static void SerialVersionUID.setSerialVersionUID(CtClass clazz)
          Adds serialVersionUID if one does not already exist.
static CtMethod CtNewMethod.abstractMethod(CtClass returnType, java.lang.String mname, CtClass[] parameters, CtClass[] exceptions, CtClass declaring)
          Creates a public abstract method.
 CtClass[] CtMethod.getParameterTypes()
          Obtains parameter types of this method.
 CtClass CtMethod.getReturnType()
          Obtains the type of the returned value.
 CtClass[] CtMethod.getExceptionTypes()
          Obtains exceptions that this method may throw.
 void CtMethod.setExceptionTypes(CtClass[] types)
          Sets exceptions that this method may throw.
 CtClass CtField.getType()
          Returns the type of the field.
static CtField.Initializer CtField.Initializer.byNewArray(CtClass type, int size)
          Makes an initializer creating a new array.
 CtClass[] CtConstructor.getParameterTypes()
          Obtains parameter types of this constructor.
 CtClass[] CtConstructor.getExceptionTypes()
          Obtains exceptions that this constructor may throw.
 void CtConstructor.setExceptionTypes(CtClass[] types)
          Sets exceptions that this constructor may throw.
 CtClass CtClass.getComponentType()
          If this object represents an array, this method returns the component type of the array.
 boolean CtClass.subtypeOf(CtClass clazz)
          Returns true if this class extends or implements clazz.
 CtClass CtClass.getSuperclass()
          Obtains the class object representing the superclass of the class.
 CtClass[] CtClass.getInterfaces()
          Obtains the class objects representing the interfaces of the class.
 CtField CtClass.getField(java.lang.String name)
          Returns the field with the specified name.
 CtField CtClass.getDeclaredField(java.lang.String name)
          Retrieves the field with the specified name among the fields declared in the class.
 CtConstructor CtClass.getConstructor(java.lang.String desc)
          Returns the constructor with the given signature, which is represented by a character string called method descriptor.
 CtConstructor CtClass.getDeclaredConstructor(CtClass[] params)
          Returns a constructor receiving the specified parameters.
 CtMethod CtClass.getMethod(java.lang.String name, java.lang.String desc)
          Returns the method with the given name and signature.
 CtMethod CtClass.getDeclaredMethod(java.lang.String name, CtClass[] params)
          Retrieves the method with the specified name and parameter types among the methods declared in the class.
 CtMethod CtClass.getDeclaredMethod(java.lang.String name)
          Retrieves the method with the specified name among the methods declared in the class.
 java.lang.Class CtClass.toClass()
          Converts this class to a java.lang.Class object.
 byte[] CtClass.toBytecode()
          Converts this class to a class file.
 void CtClass.writeFile()
          Writes a class file represented by this CtClass object in the current directory.
 CtClass[] CtBehavior.getParameterTypes()
          Obtains parameter types of this member.
 CtClass[] CtBehavior.getExceptionTypes()
          Obtains exceptions that this member may throw.
 void CtBehavior.setExceptionTypes(CtClass[] types)
          Sets exceptions that this member may throw.
 void ClassPool.debugWriteFile(java.lang.String classname)
          Writes a class file specified with classname in the current directory.
 void ClassPool.debugWriteFile(java.lang.String classname, java.lang.String directoryName)
          Writes a class file specified with classname.
 void ClassPool.writeFile(java.lang.String classname)
          Writes a class file specified with classname in the current directory.
 void ClassPool.writeFile(java.lang.String classname, java.lang.String directoryName)
          Writes a class file specified with classname on a local disk.
 java.lang.Class ClassPool.writeAsClass(java.lang.String classname)
          Returns a java.lang.Class object.
 byte[] ClassPool.write(java.lang.String classname)
          Returns a byte array representing the class file.
 void ClassPool.write(java.lang.String classname, java.io.DataOutputStream out)
          Writes a class file specified by classname to a given output stream.
 CtClass ClassPool.getAndRename(java.lang.String orgName, java.lang.String newName)
          Reads a class file and constructs a CtClass object with a new name.
 CtClass ClassPool.get(java.lang.String classname)
          Reads a class file from the source and returns a reference to the CtClass object representing that class file.
 CtClass[] ClassPool.get(java.lang.String[] classnames)
          Reads class files from the source and returns an array of CtClass objects representing those class files.
 CtMethod ClassPool.getMethod(java.lang.String classname, java.lang.String methodname)
          Reads a class file and obtains a compile-time method.
 ClassPath ClassPool.insertClassPath(java.lang.String pathname)
          Inserts a directory or a jar (or zip) file at the head of the search path.
 ClassPath ClassPool.appendClassPath(java.lang.String pathname)
          Appends a directory or a jar (or zip) file to the end of the search path.
 void ClassPool.appendPathList(java.lang.String pathlist)
          Appends directories and jar files for search.
 java.io.InputStream ClassPath.openClassfile(java.lang.String classname)
          Opens a class file.
 

Constructors in javassist with parameters of type NotFoundException
CannotCompileException(NotFoundException e)
          Constructs a CannotCompileException with a NotFoundException.
 

Uses of NotFoundException in javassist.bytecode
 

Methods in javassist.bytecode that throw NotFoundException
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 NotFoundException in javassist.expr
 

Methods in javassist.expr that throw NotFoundException
 CtConstructor NewExpr.getConstructor()
          Returns the constructor called for creating the object.
 CtMethod MethodCall.getMethod()
          Returns the called method.
 CtClass Instanceof.getType()
          Returns the CtClass object representing the type name on the right hand side of the instanceof operator.
 CtClass Handler.getType()
          Returns the type handled by the catch clause.
 CtField FieldAccess.getField()
          Returns the field accessed by this expression.
 CtClass Cast.getType()
          Returns the CtClass object representing the type specified by the cast.
 

Uses of NotFoundException in javassist.reflect
 

Methods in javassist.reflect that throw NotFoundException
 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.
 boolean Reflection.makeReflective(java.lang.String classname, java.lang.String metaobject, java.lang.String metaclass)
          Produces a reflective class.
 boolean Reflection.makeReflective(java.lang.Class clazz, java.lang.Class metaobject, java.lang.Class metaclass)
          Produces a reflective class.
 boolean Reflection.makeReflective(CtClass clazz, CtClass metaobject, CtClass metaclass)
          Produces a reflective class.
 boolean Loader.makeReflective(java.lang.String clazz, java.lang.String metaobject, java.lang.String metaclass)
          Produces a reflective class.
 

Uses of NotFoundException in javassist.rmi
 

Methods in javassist.rmi that throw NotFoundException
 void StubGenerator.start(ClassPool pool)
          Is a method declared in javassist.Translator.
 boolean StubGenerator.makeProxyClass(java.lang.Class clazz)
          Makes a proxy class.
 

Constructors in javassist.rmi that throw NotFoundException
AppletServer(java.lang.String port)
          Constructs a web server.
AppletServer(int port)
          Constructs a web server.
AppletServer(int port, ClassPool src)
          Constructs a web server.
 



Javassist, a Java-bytecode translator toolkit. Copyright (C) 1999-2003 Shigeru Chiba. All Rights Reserved.