A B C D E F G H I J L M N O P R S T U V W _

A

addConstructor(CtNewConstructor) - Method in class javassist.CtClass
Adds a new constructor.
addField(CtNewField) - Method in class javassist.CtClass
Adds a new field.
addInterface(CtClass) - Method in class javassist.CtClass
Adds an interface.
addMethod(CtNewMethod) - Method in class javassist.CtClass
Adds a new method.
addPath(String) - Method in class javassist.ClassPath
Appends a directory or a jar (or zip) file for search.
addPath(String, int, String, String) - Method in class javassist.ClassPath
 
addPath(UserClassPath) - Method in class javassist.ClassPath
 
addPathList(String) - Method in class javassist.ClassPath
Appends directories and jar files for search.
addUserWebserver(UserWebserver) - Method in class javassist.web.Webserver
Adds a user web server.
AppletServer - class javassist.rmi.AppletServer.
An AppletServer object is a web server that an ObjectImporter communicates with.
AppletServer(int) - Constructor for class javassist.rmi.AppletServer
Constructs a web server.
AppletServer(String) - Constructor for class javassist.rmi.AppletServer
Constructs a web server.
assist(String, String[]) - Method in interface javassist.tool.Assistant
Is called when the Javassist preprocessor encounters an import declaration annotated with the "by" keyword.
Assistant - interface javassist.tool.Assistant.
This is an interface for objects invoked by the Javassist preprocessor when the preprocessor encounters an annotated import declaration.

B

beAbstract() - Method in class javassist.CtClass
Makes this class abstract.
beAbstract() - Method in class javassist.CtNewClass
Makes this class abstract.
bePackage() - Method in class javassist.CtMethod
Deprecated.  
bePrivate() - Method in class javassist.CtMethod
Deprecated.  
beProtected() - Method in class javassist.CtMethod
Deprecated.  
bePublic() - Method in class javassist.CtClass
Makes this class public.
bePublic() - Method in class javassist.CtMethod
Makes this method public.
bePublic() - Method in class javassist.CtField
Makes this field public.
bePublic() - Method in class javassist.CtNewField
Makes the field public.
beStatic() - Method in class javassist.CtNewMethod
Makes the field static.
beStatic() - Method in class javassist.CtNewField
Makes the field static.
booleanType - Static variable in class javassist.CtClass
The CtClass object representing the boolean type.
byCall(CtClass, String) - Static method in class javassist.FieldInitializer
Makes an initializer calling a static method.
byCall(CtClass, String, String[]) - Static method in class javassist.FieldInitializer
Makes an initializer calling a static method.
byCallWithParams(CtClass, String) - Static method in class javassist.FieldInitializer
Makes an initializer calling a static method.
byCallWithParams(CtClass, String, String[]) - Static method in class javassist.FieldInitializer
Makes an initializer calling a static method.
byNew(CtClass) - Static method in class javassist.FieldInitializer
Makes an initializer creating a new object.
byNew(CtClass, String[]) - Static method in class javassist.FieldInitializer
Makes an initializer creating a new object.
byNewArray(CtClass, int) - Static method in class javassist.FieldInitializer
Makes an initializer creating a new array.
byNewArray(CtClass, int[]) - Static method in class javassist.FieldInitializer
Makes an initializer creating a new multi-dimensional array.
byNewWithParams(CtClass) - Static method in class javassist.FieldInitializer
Makes an initializer creating a new object.
byNewWithParams(CtClass, String[]) - Static method in class javassist.FieldInitializer
Makes an initializer creating a new object.
byParameter(int) - Static method in class javassist.FieldInitializer
Makes an initializer using a constructor parameter.
byteType - Static variable in class javassist.CtClass
The CtClass object representing the byte type.

C

call(int, int, Object[]) - Method in class javassist.rmi.ObjectImporter
Calls a method on a remote object.
CannotCompileException - exception javassist.CannotCompileException.
Thrown when compilation has failed.
CannotCompileException(ClassFormatError, String) - Constructor for class javassist.CannotCompileException
Constructs a CannotCompileException with a ClassFormatError.
CannotCompileException(ClassNotFoundException, String) - Constructor for class javassist.CannotCompileException
Constructs a CannotCompileException with a ClassNotFoundException.
CannotCompileException(Exception) - Constructor for class javassist.CannotCompileException
Constructs a CannotCompileException with an Exception.
CannotCompileException(String) - Constructor for class javassist.CannotCompileException
Constructs a CannotCompileException with a message.
CannotCreateException - exception javassist.reflect.CannotCreateException.
Signals that ClassMetaobject.newInstance() fails.
CannotCreateException(Exception) - Constructor for class javassist.reflect.CannotCreateException
 
CannotCreateException(String) - Constructor for class javassist.reflect.CannotCreateException
 
CannotInvokeException - exception javassist.reflect.CannotInvokeException.
Thrown when method invocation using the reflection API has thrown an exception.
CannotInvokeException(ClassNotFoundException) - Constructor for class javassist.reflect.CannotInvokeException
Constructs a CannotInvokeException with an ClassNotFoundException.
CannotInvokeException(IllegalAccessException) - Constructor for class javassist.reflect.CannotInvokeException
Constructs a CannotInvokeException with an IllegalAccessException.
CannotInvokeException(InvocationTargetException) - Constructor for class javassist.reflect.CannotInvokeException
Constructs a CannotInvokeException with an InvocationTargetException.
charType - Static variable in class javassist.CtClass
The CtClass object representing the char type.
ClassMap - class javassist.ClassMap.
A hashtable associating class names with different names.
ClassMap() - Constructor for class javassist.ClassMap
 
ClassMetaobject - class javassist.reflect.ClassMetaobject.
A runtime class metaobject.
ClassMetaobject(String[]) - Constructor for class javassist.reflect.ClassMetaobject
Constructs a ClassMetaobject.
classname - Variable in class javassist.rmi.RemoteRef
 
ClassPath - class javassist.ClassPath.
A ClassPath object represents class search paths.
ClassPath() - Constructor for class javassist.ClassPath
Constructs a ClassPath object.
CodeConverter - class javassist.CodeConverter.
Instances of this class specifies how to instrument of the bytecodes representing a method body.
CodeConverter() - Constructor for class javassist.CodeConverter
 
compile() - Method in class javassist.CtClass
Compiles this class.
compile(DataOutputStream) - Method in class javassist.CtClass
Compiles this class.
compile(String) - Method in class javassist.CtClass
Compiles this class.
Compiler - class javassist.tool.Compiler.
This is a preprocessor for Java source programs using annotated import declarations.
Compiler - class javassist.reflect.Compiler.
A bytecode translator for reflection.
Compiler() - Constructor for class javassist.reflect.Compiler
 
Compiler(String) - Constructor for class javassist.tool.Compiler
Constructs a Compiler with a source file.
constant(double) - Static method in class javassist.FieldInitializer
Makes an initializer that assigns a constant double value.
constant(int) - Static method in class javassist.FieldInitializer
Makes an initializer that assigns a constant integer value.
constant(String) - Static method in class javassist.FieldInitializer
Makes an initializer that assigns a constant string value.
ConstParameter - class javassist.ConstParameter.
Instances of this class represent a constant parameter.
copy(CtConstructor, ClassMap) - Static method in class javassist.CtNewConstructor
Creats a copy of a constructor.
copy(CtMethod, ClassMap) - Static method in class javassist.CtNewMethod
Creates a copy of a method.
copy(CtMethod, String, ClassMap) - Static method in class javassist.CtNewMethod
Creates a copy of a method.
CtClass - class javassist.CtClass.
A compile-time (Ct) class object representing the class file of a class.
CtClass(byte[]) - Constructor for class javassist.CtClass
Reads a class file and constructs a compile-time class object.
CtClass(InputStream) - Constructor for class javassist.CtClass
Reads a class file and constructs a compile-time class object.
CtClass(String) - Constructor for class javassist.CtClass
Constructs a compile-time class object.
CtConstructor - class javassist.CtConstructor.
An instance of CtConstructor represents a constructor.
CtField - class javassist.CtField.
An instance of CtField represents a field.
CtMethod - class javassist.CtMethod.
An instance of CtMethod represents a method.
CtNewClass - class javassist.CtNewClass.
CtNewClass is used for defining a new class from scratch.
CtNewClass() - Constructor for class javassist.CtNewClass
Creates a compile-time class object containing no fields or methods.
CtNewConstructor - class javassist.CtNewConstructor.
CtNewConstructor represents a new constructor added to a class by CtClass.addConstructor().
CtNewConstructor() - Constructor for class javassist.CtNewConstructor
 
CtNewField - class javassist.CtNewField.
CtNewField represents a new field added to a class by CtClass.addField().
CtNewField(CtClass, String) - Constructor for class javassist.CtNewField
Creates a new field.
CtNewField(int, CtClass, String) - Constructor for class javassist.CtNewField
Creates a new field.
CtNewInterface - class javassist.CtNewInterface.
CtNewInterface is used for defining a new interface from scratch.
CtNewInterface() - Constructor for class javassist.CtNewInterface
Creates a compile-time class object representing an interface with no methods.
CtNewMethod - class javassist.CtNewMethod.
CtNewMethod represents a new method added to a class by CtClass.addMethod().
CtNewMethod() - Constructor for class javassist.CtNewMethod
 

D

defaultPackagename - Static variable in class javassist.CtClass
The default packagename for instances of CtNewClass.
doDelegation - Variable in class javassist.Loader
Specifies the algorithm of class loading.
doubleType - Static variable in class javassist.CtClass
The CtClass object representing the double type.
Dump - class javassist.tool.Dump.
Dump is a tool for viewing the class definition in the given class file.
Dump() - Constructor for class javassist.tool.Dump
 

E

end() - Method in class javassist.web.Webserver
Closes the socket.
equals(Object) - Method in class javassist.CtMethod
Indicates whether obj has the same name and the same signature as this method.
exportObject(String, Object) - Method in class javassist.rmi.AppletServer
Exports an object.

F

fetchClass(String, int, String, String) - Static method in class javassist.ClassPath
Reads a class file on an http server.
FieldInitializer - class javassist.FieldInitializer.
Instances of this class specifies how to initialize a field represented by CtNewField.
FieldInitializer() - Constructor for class javassist.FieldInitializer
 
filterClassfile(String, InputStream) - Method in interface javassist.UserClassPath
Gives a chance for modifying a class file.
filterClassfile(String, InputStream) - Method in class javassist.reflect.ReflectLoader
Instruments bytecode.
fix(CtClass) - Method in class javassist.ClassMap
Prevents a mapping from the specified class name to another name.
fix(String) - Method in class javassist.ClassMap
Prevents a mapping from the specified class name to another name.
floatType - Static variable in class javassist.CtClass
The CtClass object representing the float type.
forClass(Class) - Static method in class javassist.CtClass
Returns a compile-time class object corresponding to the given Class object.
forClass(Class[]) - Static method in class javassist.CtClass
Makes an array of CtClass.
forName(String) - Static method in class javassist.CtClass
Returns a compile-time class object specified by name.
forName(String[]) - Static method in class javassist.CtClass
Makes an array of CtClass.
forward(Object[], int) - Method in class javassist.rmi.Sample
 
forwardStatic(Object[], int) - Static method in class javassist.rmi.Sample
 

G

get(Object) - Method in class javassist.ClassMap
Returns the class name to wihch the given jvmClassName is mapped.
get(String, String) - Static method in class javassist.CtMethod
Reads a class file and obtains a compile-time method.
getAttribute(String) - Method in class javassist.CtClass
Obtains an attribute with the given name.
getClassfile(String) - Method in class javassist.reflect.ReflectServer
Is a method defined in UserWebserver.
getClassfile(String) - Method in class javassist.rmi.AppletServer
Is a method of UserWebserver.
getClassfile(String) - Method in class javassist.rmi.StubGenerator
Returns a class file.
getClassfile(String) - Method in interface javassist.web.UserWebserver
Returns the class file specified by classname.
getClassInitializer() - Method in class javassist.CtClass
Gets the class initializer included in the original class file.
getClassMetaobject() - Method in class javassist.reflect.Metaobject
Obtains the class metaobject associated with this metaobject.
getClassPath() - Static method in class javassist.CtClass
Returns the search paths for class files.
getClassPath() - Method in class javassist.Loader
Returns the class search path of this class loader.
getComponentType() - Method in class javassist.CtClass
If this object represents an array, this method returns the component type of the array.
getConstructors() - Method in class javassist.CtClass
Returns an array containing CtConstructor objects representing all the public constructors of the class.
getDeclaredConstructors() - Method in class javassist.CtClass
Gets all constructors included in the original class file.
getDeclaredField(String) - Method in class javassist.CtClass
Retrieves the field with the specified name from the original class file.
getDeclaredFields() - Method in class javassist.CtClass
Gets all the fields included in the original class file.
getDeclaredMethod(String) - Method in class javassist.CtClass
Retrieves the method with the specified name from the original class file.
getDeclaredMethods() - Method in class javassist.CtClass
Gets all methods included in the original class file.
getDeclaringClass() - Method in class javassist.CtMethod
Returns the class that declares this method.
getDeclaringClass() - Method in class javassist.CtField
Returns the class declaring the field.
getDeclaringClass() - Method in class javassist.CtNewField
Returns null.
getDefault() - Static method in class javassist.ClassPath
Creates a ClassPath object including the default class path.
getExceptionTypes() - Method in class javassist.CtMethod
Obtains exceptions that this method may throw.
getFields() - Method in class javassist.CtClass
Returns an array containing CtField objects representing all the public fields of the class.
getInputStream() - Method in class javassist.CtClass
Compiles this class and returns an input stream for reading the compiled bytecodes.
getInterfaces() - Method in class javassist.CtClass
Obtains the class objects representing the interfaces of the class.
getJavaClass() - Method in class javassist.reflect.ClassMetaobject
Obtains the java.lang.Class representing this class.
getMethodName(int) - Method in class javassist.reflect.Metaobject
Returns the name of the method specified by identifier.
getMethods() - Method in class javassist.CtClass
Returns an array containing CtMethod objects representing all the public methods of the class.
getModifiers() - Method in class javassist.CtClass
Returns the modifiers for this class, encoded in an integer.
getModifiers() - Method in class javassist.CtMethod
Obtains the modifiers of the method.
getModifiers() - Method in class javassist.CtNewInterface
 
getModifiers() - Method in class javassist.CtField
Returns the modifiers of the field.
getModifiers() - Method in class javassist.CtNewField
Returns the modifiers of the field.
getModifiers() - Method in class javassist.CtNewClass
 
getName() - Method in class javassist.CtClass
Obtains the fully-qualified name of the class.
getName() - Method in class javassist.CtMethod
Obtains the name of this method.
getName() - Method in class javassist.CtConstructor
Obtains the name of this constructor.
getName() - Method in class javassist.CtField
Returns the name of the field.
getName() - Method in class javassist.CtNewField
Returns the field name.
getName() - Method in class javassist.reflect.ClassMetaobject
Obtains the name of this class.
getObject() - Method in class javassist.reflect.Metaobject
Obtains the object controlled by this metaobject.
getObject(String) - Method in class javassist.rmi.ObjectImporter
Finds the object exported by a server with the specified name.
getPackagename() - Method in class javassist.CtClass
Obtains the package name.
getParameterTypes() - Method in class javassist.CtMethod
Obtains parameter types of this method.
getParameterTypes(int) - Method in class javassist.reflect.Metaobject
Returns an array of Class objects representing the formal parameter types of the method specified by identifier.
getPort() - Method in class javassist.rmi.RmiLoader
Returns the port number.
getReason() - Method in class javassist.CannotCompileException
 
getRefClasses() - Method in class javassist.CtClass
Returns a collection of the names of all the classes referenced by this class.
getReflectiveMethods() - Method in class javassist.reflect.ClassMetaobject
Returns an array of the methods defined on the given reflective object.
getReturnType() - Method in class javassist.CtMethod
Obtains the type of the returned value.
getReturnType(int) - Method in class javassist.reflect.Metaobject
Returns a Class objects representing the return type of the method specified by identifier.
getServer() - Method in class javassist.rmi.RmiLoader
Returns the server name.
getSimpleName() - Method in class javassist.CtClass
Obtains the not-qualified class name.
getSuperclass() - Method in class javassist.CtClass
Obtains the class object representing the superclass of the class.
getType() - Method in class javassist.CtField
Returns the type of the field.
getType() - Method in class javassist.CtNewField
Returns the field type.

H

hashCode() - Method in class javassist.CtMethod
Returns a hash code value for the method.
htmlfileBase - Variable in class javassist.web.Webserver
The top directory of html (and .gif, .class, ...) files.

I

Implement - class javassist.reflect.Implement.
The class implementing the reflection mechanism.
Implement() - Constructor for class javassist.reflect.Implement
Constructs a new Implement object.
inheritAllConstructors() - Method in class javassist.CtNewClass
Adds constructors inhrited from the super class.
insertHooks(CtClass) - Method in class javassist.reflect.Implement
Inserts hooks for intercepting accesses to the fields declared in the classes registered by registerReflectiveClass().
instrument(CodeConverter) - Method in class javassist.CtClass
Applies the given converter to all methods and constructors declared in the class.
instrument(CodeConverter) - Method in class javassist.CtMethod
Instruments the bytecode of the method.
instrument(CodeConverter) - Method in class javassist.CtNewMethod
This method is not available.
integer(int) - Static method in class javassist.ConstParameter
Makes an integer constant.
intType - Static variable in class javassist.CtClass
The CtClass object representing the int type.
isArray() - Method in class javassist.CtClass
Returns true if this object represents an array type.
isClassInitializer() - Method in class javassist.CtConstructor
Returns true if this object represents a static constructor (class initializer).
isConstructor() - Method in class javassist.CtConstructor
Returns true if this object represents a constructor.
isInstance(Object) - Method in class javassist.reflect.ClassMetaobject
Returns true if obj is an instance of this class.
isInterface() - Method in class javassist.CtClass
Determines whether this object represents a class or an interface.
isMethod() - Method in class javassist.CtMethod
Returns true if this object represents neither a constructor or a static constructor (class initializer).
isPrimitive() - Method in class javassist.CtClass
Returns true if this object represents a primitive Java type: boolean, byte, char, short, int, long, float, double, or void.
isProxyClass(String) - Method in class javassist.rmi.StubGenerator
Returns true if the specified class is a proxy class recorded by makeProxyClass().
isReflective(String) - Method in class javassist.reflect.ReflectLoader
Returns true if the class specified by the given name is of reflective objects.

J

javaLangObjectType - Static variable in class javassist.CtClass
The CtClass object representing the java.lang.Object type.
javassist - package javassist
The Javassist Core API.
javassist.reflect - package javassist.reflect
Runtime Reflection.
javassist.rmi - package javassist.rmi
Remote Method Invocation.
javassist.tool - package javassist.tool
A sample preprocessor and a class file viewer.
javassist.web - package javassist.web
Web server.

L

load() - Method in class javassist.CtClass
Compiles and loads this class.
Loader - class javassist.Loader.
The class loader for Javassist (JDK 1.2 or later only).
Loader() - Constructor for class javassist.Loader
Creates a new class loader.
logging(String) - Method in class javassist.web.Webserver
Prints a log message.
logging(String, String) - Method in class javassist.web.Webserver
Prints a log message.
logging(String, String, String) - Method in class javassist.web.Webserver
Prints a log message.
logging2(String) - Method in class javassist.web.Webserver
Prints a log message with indentation.
longType - Static variable in class javassist.CtClass
The CtClass object representing the long type.
lookupObject(String) - Method in class javassist.rmi.ObjectImporter
Finds the object exported by the server with the specified name.

M

main(String[]) - Static method in class javassist.RunMain
Starts an application program.
main(String[]) - Static method in class javassist.Run
Runs an application.
main(String[]) - Static method in class javassist.Loader
Loads a class by an instance of Loader and calls main() of that class.
main(String[]) - Static method in class javassist.tool.Compiler
 
main(String[]) - Static method in class javassist.tool.Dump
 
main(String[]) - Static method in class javassist.reflect.Compiler
 
main(String[]) - Static method in class javassist.rmi.RmiLoader
Starts a program.
main(String[]) - Static method in class javassist.web.Webserver
Starts a web server.
make(CtClass[], CtClass[], boolean, CtMethod, ConstParameter) - Static method in class javassist.CtNewConstructor
Creates a constructor.
make(CtClass[], CtClass[], CtMethod, ConstParameter) - Static method in class javassist.CtNewConstructor
Creates a constructor.
make(CtClass[], CtClass[], int, CtMethod, ConstParameter) - Static method in class javassist.CtNewConstructor
Creates a constructor.
makeAbstract(CtClass, String, CtClass[], CtClass[]) - Static method in class javassist.CtNewMethod
Creates an abstract method.
makeClass(String, byte[]) - Method in class javassist.Loader
Converts an array of bytes into a class.
makeDefault() - Static method in class javassist.CtNewConstructor
Creates the default constructor.
makeDelegator(CtMethod) - Static method in class javassist.CtNewMethod
Creates a method forwarding to a delegate in the same class or a superclass.
makeGetter(String, CtClass, String) - Static method in class javassist.CtNewMethod
Creates a getter method.
makeProxyClass(Class) - Method in class javassist.rmi.StubGenerator
Makes a proxy class.
makeReflective(String, Class, Class) - Method in class javassist.reflect.ReflectLoader
Record a class for reflective objects.
makeReflective(String, Class, Class) - Method in class javassist.reflect.ReflectServer
Record a class for reflective objects.
makeSetter(String, CtClass, String) - Static method in class javassist.CtNewMethod
Creates a setter method.
makeWrapped(CtClass, String, CtClass[], CtClass[], CtMethod, ConstParameter) - Static method in class javassist.CtNewMethod
Creates a wrapped method.
Metalevel - interface javassist.reflect.Metalevel.
An interface to access a metaobject and a class metaobject.
Metaobject - class javassist.reflect.Metaobject.
A runtime metaobject.
Metaobject(Object, Object[]) - Constructor for class javassist.reflect.Metaobject
Constructs a Metaobject.
modifyClassfile(CtClass, CtClass, CtClass) - Static method in class javassist.reflect.Implement
Produces a reflective class.

N

newInstance(Object[]) - Method in class javassist.reflect.ClassMetaobject
Creates a new instance of the class.
notFinal() - Method in class javassist.CtClass
Remove the final modifier from this class.
NotFoundException - exception javassist.NotFoundException.
Signals that something could not be found.
NotFoundException(String) - Constructor for class javassist.NotFoundException
 
NotFoundException(String, Exception) - Constructor for class javassist.NotFoundException
 

O

ObjectImporter - class javassist.rmi.ObjectImporter.
The object importer enables applets to call a method on a remote object running on the Webserver.
ObjectImporter(Applet) - Constructor for class javassist.rmi.ObjectImporter
Constructs an object importer.
ObjectImporter(String, int) - Constructor for class javassist.rmi.ObjectImporter
Constructs an object importer.
ObjectNotFoundException - exception javassist.rmi.ObjectNotFoundException.
 
ObjectNotFoundException(String) - Constructor for class javassist.rmi.ObjectNotFoundException
 
ObjectNotFoundException(String, Exception) - Constructor for class javassist.rmi.ObjectNotFoundException
 
oid - Variable in class javassist.rmi.RemoteRef
 
openClassfile(String) - Method in class javassist.ClassPath
Opens the class file for the class specified by classname.
openClassfile(String) - Method in interface javassist.UserClassPath
Opens the class file for the class specified by classname.
openClassfile(String) - Method in class javassist.reflect.ReflectLoader
Returns null.

P

PASS_ARRAY - Static variable in class javassist.CtNewConstructor
Specifies that parameters are converted into an array of Object and passed to the super-class' constructor.
PASS_NONE - Static variable in class javassist.CtNewConstructor
Specifies that no parameters are passed to the super-class' constructor.
PASS_PARAMS - Static variable in class javassist.CtNewConstructor
Specifies that parameters are passed as is to the super-class' constructor.
process() - Method in class javassist.tool.Compiler
Starts preprocessing.
process(InputStream, OutputStream, String) - Method in class javassist.reflect.ReflectServer
Is a method of UserWebserver.
process(InputStream, OutputStream, String) - Method in class javassist.rmi.AppletServer
Processes a request from a web browser (an ObjectImporter).
process(InputStream, OutputStream, String) - Method in interface javassist.web.UserWebserver
Processes a single request from a web browser.
Proxy - interface javassist.rmi.Proxy.
An interface implemented by proxy classes.
put(CtClass, CtClass) - Method in class javassist.ClassMap
Maps a class name to another name in this hashtable.
put(String, String) - Method in class javassist.ClassMap
Maps a class name to another name in this hashtable.

R

readClassfile(String) - Method in class javassist.ClassPath
Obtains the contents of the class file for the class specified by classname.
readStream(InputStream) - Static method in class javassist.ClassPath
Reads an input stream until it reaches the end.
redirectFieldAccess(CtClass, String, CtClass, String) - Method in class javassist.CodeConverter
Modify a method body so that field read/write expressions access a different field from the original one.
redirectMethodCall(CtClass, String, CtClass, String) - Method in class javassist.CodeConverter
Modify method invocations in a method body so that a different method is invoked.
ReflectLoader - class javassist.reflect.ReflectLoader.
A class loader for reflective objects.
ReflectLoader() - Constructor for class javassist.reflect.ReflectLoader
 
ReflectServer - class javassist.reflect.ReflectServer.
A web server for reflective classes.
ReflectServer(int) - Constructor for class javassist.reflect.ReflectServer
Constructs a web server.
ReflectServer(String) - Constructor for class javassist.reflect.ReflectServer
Constructs a web server.
registerReflectiveClass(CtClass) - Method in class javassist.reflect.Implement
Registers a reflective class.
RemoteException - exception javassist.rmi.RemoteException.
RemoteException represents any exception thrown during remote method invocation.
RemoteException(Exception) - Constructor for class javassist.rmi.RemoteException
 
RemoteException(String) - Constructor for class javassist.rmi.RemoteException
 
RemoteRef - class javassist.rmi.RemoteRef.
Remote reference.
RemoteRef(int) - Constructor for class javassist.rmi.RemoteRef
 
RemoteRef(int, String) - Constructor for class javassist.rmi.RemoteRef
 
replaceClassName(ClassMap) - Method in class javassist.CtClass
Changes class names appearing in the class file according to the given map.
replaceClassName(String, String) - Method in class javassist.CtClass
Substitutes newName for all occurrences of a class name oldName in the class file.
replaceFieldRead(CtClass, String, CtClass, String) - Method in class javassist.CodeConverter
Modify a method body so that an expression reading the specified field is replaced with a call to the specified static method.
replaceFieldWrite(CtClass, String, CtClass, String) - Method in class javassist.CodeConverter
Modify a method body so that an expression writing the specified field is replaced with a call to the specified static method.
replaceNew(CtClass, CtClass, String) - Method in class javassist.CodeConverter
Modify a method body so that instantiation of the specified class is replaced with a call to the specified static method.
RmiLoader - class javassist.rmi.RmiLoader.
A class loader for programs using the Javassist RMI.
RmiLoader(String, int) - Constructor for class javassist.rmi.RmiLoader
Constructs a class loader.
Run - class javassist.Run.
Application launcher (JDK 1.2 or later only).
run() - Method in class javassist.reflect.ReflectServer
Begins the HTTP service.
run() - Method in class javassist.rmi.AppletServer
Begins the HTTP service.
run() - Method in class javassist.web.Webserver
Begins the HTTP service.
Run() - Constructor for class javassist.Run
 
run(String[]) - Method in class javassist.Loader
Loads a class and calls main() in that class.
run(String, String[]) - Method in class javassist.Loader
Loads a class and calls main() in that class.
run(String, String[]) - Method in class javassist.rmi.RmiLoader
Invokes main() in the class specified by classname.
RunMain - class javassist.RunMain.
A support class of Run.
RunMain() - Constructor for class javassist.RunMain
 

S

Sample - class javassist.reflect.Sample.
A template used for defining a reflective class.
Sample - class javassist.rmi.Sample.
A template used for defining a proxy class.
Sample() - Constructor for class javassist.reflect.Sample
 
Sample() - Constructor for class javassist.rmi.Sample
 
setAttribute(String, byte[]) - Method in class javassist.CtClass
Adds an attribute.
setBody(CtMethod, ClassMap) - Method in class javassist.CtMethod
Copies a method body from another method.
setBody(CtMethod, ClassMap) - Method in class javassist.CtNewMethod
This method is not available.
setGetter(String) - Method in class javassist.CtNewField
Adds a getter method to the class declaring the field.
setHttpProxy(String, int) - Method in class javassist.rmi.ObjectImporter
Sets an http proxy server.
setInitializer(FieldInitializer) - Method in class javassist.CtNewField
Sets the initializer of the field.
setInterfaces(CtClass[]) - Method in class javassist.CtClass
Sets interfaces.
setModifiers(int) - Method in class javassist.CtNewMethod
Sets the modifiers of the method.
setModifiers(int) - Method in class javassist.CtNewField
Sets the modifiers of the field.
setName(String) - Method in class javassist.CtClass
Sets the class name
setName(String) - Method in class javassist.CtMethod
Changes the name of this method.
setName(String) - Method in class javassist.CtConstructor
Changes the name of this constructor.
setObject(Object) - Method in class javassist.reflect.Metaobject
Changes the object controlled by this metaobject.
setPackagename(String) - Method in class javassist.CtClass
Sets the package name.
setSetter(String) - Method in class javassist.CtNewField
Adds a setter method to the class declaring the field.
setSimpleName(String) - Method in class javassist.CtClass
Sets the simple name of this class.
setSuperclass(CtClass) - Method in class javassist.CtClass
Sets the superclass of the class.
setWrappedBody(CtMethod, ConstParameter) - Method in class javassist.CtMethod
Change a method body to be the given wrapped method body.
setWrappedBody(CtMethod, ConstParameter) - Method in class javassist.CtNewMethod
This method is not available.
shortType - Static variable in class javassist.CtClass
The CtClass object representing the short type.
string(String) - Static method in class javassist.ConstParameter
Makes an String constant.
StubGenerator - class javassist.rmi.StubGenerator.
A stub-code generator.
StubGenerator() - Constructor for class javassist.rmi.StubGenerator
Constructs a stub-code generator.

T

toBytecode() - Method in class javassist.CtClass
Compiles this class and returns bytecodes.
toJavaName(String) - Static method in class javassist.ClassMap
Converts a class name from the internal representation used in the JVM to the normal one used in Java.
toJvmName(String) - Static method in class javassist.ClassMap
Converts a class name into the internal representation used in the JVM.
toString() - Method in class javassist.ClassPath
 
trap(Object[], int) - Method in class javassist.reflect.Sample
 
trapFieldRead(String) - Method in class javassist.reflect.Metaobject
Is invoked when public fields of the base-level class are read and the runtime system intercepts it.
trapFieldRead(String) - Method in class javassist.reflect.ClassMetaobject
Is invoked when static fields of the base-level class are read and the runtime system intercepts it.
trapFieldWrite(String, Object) - Method in class javassist.reflect.Metaobject
Is invoked when public fields of the base-level class are modified and the runtime system intercepts it.
trapFieldWrite(String, Object) - Method in class javassist.reflect.ClassMetaobject
Is invoked when static fields of the base-level class are modified and the runtime system intercepts it.
trapMethodcall(int, Object[]) - Method in class javassist.reflect.Metaobject
Is invoked when base-level method invocation is intercepted.
trapMethodcall(int, Object[]) - Method in class javassist.reflect.ClassMetaobject
Is invoked when static methods of the base-level class are called and the runtime system intercepts it.
trapRead(Object[], String) - Static method in class javassist.reflect.Sample
 
trapStatic(Object[], int) - Static method in class javassist.reflect.Sample
 
trapWrite(Object[], String) - Static method in class javassist.reflect.Sample
 

U

UserClassPath - interface javassist.UserClassPath.
This interface is for delegates handling requests on behalf of ClassPath.
UserWebserver - interface javassist.web.UserWebserver.
This is an interface implemented by classes which extend the function of a Webserver object.

V

version - Static variable in class javassist.CtClass
The version number of this release.
voidType - Static variable in class javassist.CtClass
The CtClass object representing the void type.

W

Webserver - class javassist.web.Webserver.
A web server for Javassist.
Webserver(int) - Constructor for class javassist.web.Webserver
Constructs a web server.
Webserver(String) - Constructor for class javassist.web.Webserver
Constructs a web server.

_

_getClass() - Method in interface javassist.reflect.Metalevel
Obtains the class metaobject associated with this object.
_getMetaobject() - Method in interface javassist.reflect.Metalevel
Obtains the metaobject associated with this object.
_getObjectId() - Method in interface javassist.rmi.Proxy
 
_setMetaobject(Metaobject) - Method in interface javassist.reflect.Metalevel
Changes the metaobject associated with this object.

A B C D E F G H I J L M N O P R S T U V W _