- AALOAD - Static variable in interface javassist.bytecode.Opcode
-
- AASTORE - Static variable in interface javassist.bytecode.Opcode
-
- ABSTRACT - Static variable in class javassist.bytecode.AccessFlag
-
- ABSTRACT - Static variable in class javassist.Modifier
-
- abstractMethod(CtClass, String, CtClass[], CtClass[], CtClass) - Static method in class javassist.CtNewMethod
-
Creates a public abstract method.
- accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.AnnotationMemberValue
-
Accepts a visitor.
- accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.ArrayMemberValue
-
Accepts a visitor.
- accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.BooleanMemberValue
-
Accepts a visitor.
- accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.ByteMemberValue
-
Accepts a visitor.
- accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.CharMemberValue
-
Accepts a visitor.
- accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.ClassMemberValue
-
Accepts a visitor.
- accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.DoubleMemberValue
-
Accepts a visitor.
- accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.EnumMemberValue
-
Accepts a visitor.
- accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.FloatMemberValue
-
Accepts a visitor.
- accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.IntegerMemberValue
-
Accepts a visitor.
- accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.LongMemberValue
-
Accepts a visitor.
- accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.MemberValue
-
Accepts a visitor.
- accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.ShortMemberValue
-
Accepts a visitor.
- accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.StringMemberValue
-
Accepts a visitor.
- access(int) - Method in class javassist.bytecode.analysis.Subroutine
-
- accessed() - Method in class javassist.bytecode.analysis.Subroutine
-
- AccessFlag - Class in javassist.bytecode
-
A support class providing static methods and constants
for access modifiers such as public, private, ...
- AccessFlag() - Constructor for class javassist.bytecode.AccessFlag
-
- accessFlags(int) - Method in class javassist.bytecode.InnerClassesAttribute
-
Returns classes[nth].inner_class_access_flags
.
- accessFlags(int) - Method in class javassist.bytecode.MethodParametersAttribute
-
Returns the value of access_flags
of the i-th element of parameters
.
- ACONST_NULL - Static variable in interface javassist.bytecode.Opcode
-
- add(int) - Method in class javassist.bytecode.Bytecode
-
Appends an 8bit value to the end of the bytecode sequence.
- add(int, String, String, ClassFileWriter.AttributeWriter) - Method in class javassist.bytecode.ClassFileWriter.FieldWriter
-
Adds a new field.
- add(int, int, int, ClassFileWriter.AttributeWriter) - Method in class javassist.bytecode.ClassFileWriter.FieldWriter
-
Adds a new field.
- add(int) - Method in class javassist.bytecode.ClassFileWriter.MethodWriter
-
Appends an 8bit value of bytecode.
- add(int, ExceptionTable, int) - Method in class javassist.bytecode.ExceptionTable
-
Copies the given exception table at the specified position
in the table.
- add(int, int, int, int, int) - Method in class javassist.bytecode.ExceptionTable
-
Adds a new entry at the specified position in the table.
- add(int, int, int, int) - Method in class javassist.bytecode.ExceptionTable
-
Appends a new entry at the end of the table.
- add16(int) - Method in class javassist.bytecode.ClassFileWriter.MethodWriter
-
Appends a 16bit value of bytecode.
- add32(int) - Method in class javassist.bytecode.ClassFileWriter.MethodWriter
-
Appends a 32bit value of bytecode.
- add32bit(int) - Method in class javassist.bytecode.Bytecode
-
Appends a 32bit value to the end of the bytecode sequence.
- addAload(int) - Method in class javassist.bytecode.Bytecode
-
Appends ALOAD or (WIDE) ALOAD_<n>
- addAnewarray(String) - Method in class javassist.bytecode.Bytecode
-
Appends ANEWARRAY.
- addAnewarray(CtClass, int) - Method in class javassist.bytecode.Bytecode
-
Appends ICONST and ANEWARRAY.
- addAnnotation(Annotation) - Method in class javassist.bytecode.AnnotationsAttribute
-
Adds an annotation.
- addAstore(int) - Method in class javassist.bytecode.Bytecode
-
Appends ASTORE or (WIDE) ASTORE_<n>
- addAttribute(AttributeInfo) - Method in class javassist.bytecode.ClassFile
-
Appends an attribute.
- addAttribute(AttributeInfo) - Method in class javassist.bytecode.FieldInfo
-
Appends an attribute.
- addAttribute(AttributeInfo) - Method in class javassist.bytecode.MethodInfo
-
Appends an attribute.
- addCaller(int) - Method in class javassist.bytecode.analysis.Subroutine
-
- addCatch(int, int, int, int) - Method in class javassist.bytecode.ClassFileWriter.MethodWriter
-
Appends an exception_table
entry to the
Code_attribute
.
- addCatch(String, CtClass) - Method in class javassist.CtBehavior
-
Adds a catch clause that handles an exception thrown in the
body.
- addCatch(String, CtClass, String) - Method in class javassist.CtBehavior
-
Adds a catch clause that handles an exception thrown in the
body.
- addCheckcast(CtClass) - Method in class javassist.bytecode.Bytecode
-
Appends CHECKCAST.
- addCheckcast(String) - Method in class javassist.bytecode.Bytecode
-
Appends CHECKCAST.
- addClassInfo(String[]) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Makes CONSTANT_Class_info
objects for each class name.
- addClassInfo(String) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_Class_info
structure.
- addClassInfo(int) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_Class_info
structure.
- addClassInfo(CtClass) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_Class_info
structure.
- addClassInfo(String) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_Class_info
structure.
- addConstructor(CtConstructor) - Method in class javassist.CtClass
-
Adds a constructor.
- addConstZero(CtClass) - Method in class javassist.bytecode.Bytecode
-
Appends an instruction for pushing zero or null on the stack.
- addDconst(double) - Method in class javassist.bytecode.Bytecode
-
Appends DCONST or DCONST_<n>
- addDload(int) - Method in class javassist.bytecode.Bytecode
-
Appends DLOAD or (WIDE) DLOAD_<n>
- addDoubleInfo(double) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_Double_info
structure.
- addDoubleInfo(double) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_Double_info
structure.
- addDstore(int) - Method in class javassist.bytecode.Bytecode
-
Appends DSTORE or (WIDE) DSTORE_<n>
- addEntry(int, int, int, int, int) - Method in class javassist.bytecode.LocalVariableAttribute
-
Appends a new entry to local_variable_table
.
- addExceptionHandler(int, int, int, CtClass) - Method in class javassist.bytecode.Bytecode
-
Adds a new entry of exception_table
.
- addExceptionHandler(int, int, int, String) - Method in class javassist.bytecode.Bytecode
-
Adds a new entry of exception_table
.
- addExceptionHandler(int, int, int, int) - Method in class javassist.bytecode.Bytecode
-
Adds a new entry of exception_table
.
- addFconst(float) - Method in class javassist.bytecode.Bytecode
-
Appends FCONST or FCONST_<n>
- addField(FieldInfo) - Method in class javassist.bytecode.ClassFile
-
Appends a field to the class.
- addField(CtField) - Method in class javassist.CtClass
-
Adds a field.
- addField(CtField, String) - Method in class javassist.CtClass
-
Adds a field with an initial value.
- addField(CtField, CtField.Initializer) - Method in class javassist.CtClass
-
Adds a field with an initial value.
- addField2(FieldInfo) - Method in class javassist.bytecode.ClassFile
-
Just appends a field to the class.
- addFieldrefInfo(int, int) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_Fieldref_info
structure.
- addFieldrefInfo(int, String, String) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_Fieldref_info
structure.
- addFieldrefInfo(int, int) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_Fieldref_info
structure.
- addFload(int) - Method in class javassist.bytecode.Bytecode
-
Appends FLOAD or (WIDE) FLOAD_<n>
- addFloatInfo(float) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_Float_info
structure.
- addFloatInfo(float) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_Float_info
structure.
- addFstore(int) - Method in class javassist.bytecode.Bytecode
-
Appends FSTORE or FSTORE_<n>
- addGap(int) - Method in class javassist.bytecode.Bytecode
-
Appends the length-byte gap to the end of the bytecode sequence.
- addGetfield(CtClass, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends GETFIELD.
- addGetfield(String, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends GETFIELD.
- addGetstatic(CtClass, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends GETSTATIC.
- addGetstatic(String, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends GETSTATIC.
- addIconst(int) - Method in class javassist.bytecode.Bytecode
-
Appends ICONST or ICONST_<n>
- addIload(int) - Method in class javassist.bytecode.Bytecode
-
Appends ILOAD or (WIDE) ILOAD_<n>
- addIndex(int) - Method in class javassist.bytecode.Bytecode
-
Appends a 16bit value to the end of the bytecode sequence.
- addInstanceof(String) - Method in class javassist.bytecode.Bytecode
-
Appends INSTANCEOF.
- addIntegerInfo(int) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_Integer_info
structure.
- addIntegerInfo(int) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_Integer_info
structure.
- addInterface(String) - Method in class javassist.bytecode.ClassFile
-
Appends an interface to the interfaces implemented by the class.
- addInterface(CtClass) - Method in class javassist.CtClass
-
Adds an interface.
- addInterfaceMethodrefInfo(int, int) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_InterfaceMethodref_info
structure.
- addInterfaceMethodrefInfo(int, String, String) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_InterfaceMethodref_info
structure.
- addInterfaceMethodrefInfo(int, int) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_InterfaceMethodref_info
structure.
- addInvoke(int, String, String, String) - Method in class javassist.bytecode.ClassFileWriter.MethodWriter
-
Appends a invokevirtual, inovkespecial, or invokestatic bytecode.
- addInvokedynamic(int, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKEDYNAMIC.
- addInvokeDynamicInfo(int, int) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_InvokeDynamic_info
structure.
- addInvokeDynamicInfo(int, int) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_InvokeDynamic_info
structure.
- addInvokeinterface(CtClass, String, CtClass, CtClass[], int) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKEINTERFACE.
- addInvokeinterface(CtClass, String, String, int) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKEINTERFACE.
- addInvokeinterface(String, String, String, int) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKEINTERFACE.
- addInvokeinterface(int, String, String, int) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKEINTERFACE.
- addInvokespecial(CtClass, String, CtClass, CtClass[]) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKESPECIAL.
- addInvokespecial(CtClass, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKESPECIAL.
- addInvokespecial(String, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKESPECIAL.
- addInvokespecial(int, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKESPECIAL.
- addInvokespecial(boolean, int, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKESPECIAL.
- addInvokestatic(CtClass, String, CtClass, CtClass[]) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKESTATIC.
- addInvokestatic(CtClass, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKESTATIC.
- addInvokestatic(String, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKESTATIC.
- addInvokestatic(int, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKESTATIC.
- addInvokevirtual(CtClass, String, CtClass, CtClass[]) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKEVIRTUAL.
- addInvokevirtual(CtClass, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKEVIRTUAL.
- addInvokevirtual(String, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKEVIRTUAL.
- addInvokevirtual(int, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKEVIRTUAL.
- addIstore(int) - Method in class javassist.bytecode.Bytecode
-
Appends ISTORE or (WIDE) ISTORE_<n>
- addLconst(long) - Method in class javassist.bytecode.Bytecode
-
Appends LCONST or LCONST_<n>
- addLdc(String) - Method in class javassist.bytecode.Bytecode
-
Appends LDC or LDC_W.
- addLdc(int) - Method in class javassist.bytecode.Bytecode
-
Appends LDC or LDC_W.
- addLdc2w(long) - Method in class javassist.bytecode.Bytecode
-
Appends LDC2_W.
- addLdc2w(double) - Method in class javassist.bytecode.Bytecode
-
Appends LDC2_W.
- addLload(int) - Method in class javassist.bytecode.Bytecode
-
Appends LLOAD or (WIDE) LLOAD_<n>
- addLoad(int, CtClass) - Method in class javassist.bytecode.Bytecode
-
Appends an instruction for loading a value from the
local variable at the index n
.
- addLoadParameters(CtClass[], int) - Method in class javassist.bytecode.Bytecode
-
Appends instructions for loading all the parameters onto the
operand stack.
- addLocalVariable(String, CtClass) - Method in class javassist.CtBehavior
-
Declares a new local variable.
- addLongInfo(long) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_Long_info
structure.
- addLongInfo(long) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_Long_info
structure.
- addLstore(int) - Method in class javassist.bytecode.Bytecode
-
Appends LSTORE or LSTORE_<n>
- addMemberValue(int, MemberValue) - Method in class javassist.bytecode.annotation.Annotation
-
Adds a new member.
- addMemberValue(String, MemberValue) - Method in class javassist.bytecode.annotation.Annotation
-
Adds a new member.
- addMethod(MethodInfo) - Method in class javassist.bytecode.ClassFile
-
Appends a method to the class.
- addMethod(CtMethod) - Method in class javassist.CtClass
-
Adds a method.
- addMethod2(MethodInfo) - Method in class javassist.bytecode.ClassFile
-
Just appends a method to the class.
- addMethodHandleInfo(int, int) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_MethodHandle_info
structure.
- addMethodHandleInfo(int, int) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_MethodHandle_info
structure.
- addMethodrefInfo(int, int) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_Methodref_info
structure.
- addMethodrefInfo(int, String, String) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_Methodref_info
structure.
- addMethodrefInfo(int, int) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_Methodref_info
structure.
- addMethodTypeInfo(int) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_MethodType_info
structure.
- addMethodTypeInfo(int) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_MethodType_info
structure.
- addMultiNewarray(CtClass, int[]) - Method in class javassist.bytecode.Bytecode
-
Appends MULTINEWARRAY.
- addMultiNewarray(CtClass, int) - Method in class javassist.bytecode.Bytecode
-
Appends MULTINEWARRAY.
- addMultiNewarray(String, int) - Method in class javassist.bytecode.Bytecode
-
Appends MULTINEWARRAY.
- addNameAndTypeInfo(String, String) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_NameAndType_info
structure.
- addNameAndTypeInfo(int, int) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_NameAndType_info
structure.
- addNameAndTypeInfo(String, String) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_NameAndType_info
structure.
- addNameAndTypeInfo(int, int) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_NameAndType_info
structure.
- addNew(CtClass) - Method in class javassist.bytecode.Bytecode
-
Appends NEW.
- addNew(String) - Method in class javassist.bytecode.Bytecode
-
Appends NEW.
- addNewarray(int, int) - Method in class javassist.bytecode.Bytecode
-
Appends NEWARRAY for primitive types.
- addOpcode(int) - Method in class javassist.bytecode.Bytecode
-
Appends an 8bit opcode to the end of the bytecode sequence.
- addParameter(CtClass) - Method in class javassist.CtBehavior
-
Appends a new parameter, which becomes the last parameter.
- addPrintln(String) - Method in class javassist.bytecode.Bytecode
-
Appends instructions for executing
java.lang.System.println(message)
.
- addPutfield(CtClass, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends PUTFIELD.
- addPutfield(String, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends PUTFIELD.
- addPutstatic(CtClass, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends PUTSTATIC.
- addPutstatic(String, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends PUTSTATIC.
- addRet(int) - Method in class javassist.bytecode.Bytecode
-
Appends RET.
- addReturn(CtClass) - Method in class javassist.bytecode.Bytecode
-
Appends ARETURN, IRETURN, .., or RETURN.
- addStore(int, CtClass) - Method in class javassist.bytecode.Bytecode
-
Appends an instruction for storing a value into the
local variable at the index n
.
- addStringInfo(String) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_String_info
structure.
- addStringInfo(String) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_String_info
structure.
- addTranslator(ClassPool, Translator) - Method in class javassist.Loader
-
Adds a translator, which is called whenever a class is loaded.
- addTranslator(ClassPool, Translator) - Method in class javassist.tools.web.Webserver
-
Adds a translator, which is called whenever a client requests
a class file.
- addUtf8Info(String) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_Utf8_info
structure.
- addUtf8Info(String) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_Utf8_info
structure.
- ALOAD - Static variable in interface javassist.bytecode.Opcode
-
- ALOAD_0 - Static variable in interface javassist.bytecode.Opcode
-
- ALOAD_1 - Static variable in interface javassist.bytecode.Opcode
-
- ALOAD_2 - Static variable in interface javassist.bytecode.Opcode
-
- ALOAD_3 - Static variable in interface javassist.bytecode.Opcode
-
- analyze(CtClass, MethodInfo) - Method in class javassist.bytecode.analysis.Analyzer
-
Performs data-flow analysis on a method and returns an array, indexed by
instruction position, containing the starting frame state of all reachable
instructions.
- analyze(CtMethod) - Method in class javassist.bytecode.analysis.Analyzer
-
Performs data-flow analysis on a method and returns an array, indexed by
instruction position, containing the starting frame state of all reachable
instructions.
- Analyzer - Class in javassist.bytecode.analysis
-
A data-flow analyzer that determines the type state of the stack and local
variable table at every reachable instruction in a method.
- Analyzer() - Constructor for class javassist.bytecode.analysis.Analyzer
-
- ANEWARRAY - Static variable in interface javassist.bytecode.Opcode
-
- ANNOTATION - Static variable in class javassist.bytecode.AccessFlag
-
- Annotation - Class in javassist.bytecode.annotation
-
The annotation
structure.
- Annotation(int, ConstPool) - Constructor for class javassist.bytecode.annotation.Annotation
-
Constructs an annotation including no members.
- Annotation(String, ConstPool) - Constructor for class javassist.bytecode.annotation.Annotation
-
Constructs an annotation including no members.
- Annotation(ConstPool, CtClass) - Constructor for class javassist.bytecode.annotation.Annotation
-
Constructs an annotation that can be accessed through the interface
represented by clazz
.
- annotation(String, int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes annotation
.
- annotation(int, int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes annotation
.
- ANNOTATION - Static variable in class javassist.Modifier
-
- AnnotationDefaultAttribute - Class in javassist.bytecode
-
A class representing AnnotationDefault_attribute
.
- AnnotationDefaultAttribute(ConstPool, byte[]) - Constructor for class javassist.bytecode.AnnotationDefaultAttribute
-
Constructs an AnnotationDefault_attribute
.
- AnnotationDefaultAttribute(ConstPool) - Constructor for class javassist.bytecode.AnnotationDefaultAttribute
-
Constructs an empty AnnotationDefault_attribute
.
- AnnotationImpl - Class in javassist.bytecode.annotation
-
Internal-use only.
- AnnotationMemberValue - Class in javassist.bytecode.annotation
-
Nested annotation.
- AnnotationMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.AnnotationMemberValue
-
Constructs an annotation member.
- AnnotationMemberValue(Annotation, ConstPool) - Constructor for class javassist.bytecode.annotation.AnnotationMemberValue
-
Constructs an annotation member.
- AnnotationsAttribute - Class in javassist.bytecode
-
A class representing
RuntimeVisibleAnnotations_attribute
and
RuntimeInvisibleAnnotations_attribute
.
- AnnotationsAttribute(ConstPool, String, byte[]) - Constructor for class javassist.bytecode.AnnotationsAttribute
-
Constructs a Runtime(In)VisibleAnnotations_attribute
.
- AnnotationsAttribute(ConstPool, String) - Constructor for class javassist.bytecode.AnnotationsAttribute
-
Constructs an empty
Runtime(In)VisibleAnnotations_attribute
.
- AnnotationsWriter - Class in javassist.bytecode.annotation
-
A convenience class for constructing a
..Annotations_attribute
.
- AnnotationsWriter(OutputStream, ConstPool) - Constructor for class javassist.bytecode.annotation.AnnotationsWriter
-
Constructs with the given output stream.
- annotationValue() - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and annotation_value
in element_value
.
- append(byte[]) - Method in class javassist.bytecode.CodeIterator
-
Appends the given bytecode sequence at the end.
- append(ExceptionTable, int) - Method in class javassist.bytecode.CodeIterator
-
Copies and appends the entries in the given exception table
at the end of the exception table in the code attribute
edited by this object.
- append(String, String, String, int) - Method in class javassist.bytecode.InnerClassesAttribute
-
Appends a new entry.
- append(int, int, int, int) - Method in class javassist.bytecode.InnerClassesAttribute
-
Appends a new entry.
- appendClassPath(ClassPath) - Method in class javassist.ClassPool
-
Appends a ClassPath
object to the end of the
search path.
- appendClassPath(String) - Method in class javassist.ClassPool
-
Appends a directory or a jar (or zip) file to the end of the
search path.
- appendFrame(int, int, int[], int[]) - Method in class javassist.bytecode.StackMapTable.Walker
-
Invoked if the visited frame is a append_frame
.
- appendFrame(int, int[], int[]) - Method in class javassist.bytecode.StackMapTable.Writer
-
Writes a append_frame
.
- appendGap(int) - Method in class javassist.bytecode.CodeIterator
-
Appends a gap at the end of the bytecode sequence.
- appendParameter(String, String) - Static method in class javassist.bytecode.Descriptor
-
Appends a parameter type to the parameter list represented
by the given descriptor.
- appendParameter(CtClass, String) - Static method in class javassist.bytecode.Descriptor
-
Appends a parameter type to the parameter list represented
by the given descriptor.
- appendPathList(String) - Method in class javassist.ClassPool
-
Appends directories and jar files for search.
- appendSystemPath() - Method in class javassist.ClassPool
-
Appends the system search path to the end of the
search path.
- AppletServer - Class in javassist.tools.rmi
-
An AppletServer object is a web server that an ObjectImporter
communicates with.
- AppletServer(String) - Constructor for class javassist.tools.rmi.AppletServer
-
Constructs a web server.
- AppletServer(int) - Constructor for class javassist.tools.rmi.AppletServer
-
Constructs a web server.
- AppletServer(int, ClassPool) - Constructor for class javassist.tools.rmi.AppletServer
-
Constructs a web server.
- ARETURN - Static variable in interface javassist.bytecode.Opcode
-
- arguments - Variable in class javassist.bytecode.BootstrapMethodsAttribute.BootstrapMethod
-
bootstrap_arguments
.
- arrayDimension(String) - Static method in class javassist.bytecode.Descriptor
-
Computes the dimension of the array represented by the given
descriptor.
- ARRAYLENGTH - Static variable in interface javassist.bytecode.Opcode
-
- ArrayMemberValue - Class in javassist.bytecode.annotation
-
Array member.
- ArrayMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.ArrayMemberValue
-
Constructs an array.
- ArrayMemberValue(MemberValue, ConstPool) - Constructor for class javassist.bytecode.annotation.ArrayMemberValue
-
Constructs an array.
- ArrayType(int, SignatureAttribute.Type) - Constructor for class javassist.bytecode.SignatureAttribute.ArrayType
-
Constructs an ArrayType
.
- arrayValue(int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and array_value
in element_value
.
- ASTORE - Static variable in interface javassist.bytecode.Opcode
-
- ASTORE_0 - Static variable in interface javassist.bytecode.Opcode
-
- ASTORE_1 - Static variable in interface javassist.bytecode.Opcode
-
- ASTORE_2 - Static variable in interface javassist.bytecode.Opcode
-
- ASTORE_3 - Static variable in interface javassist.bytecode.Opcode
-
- ATHROW - Static variable in interface javassist.bytecode.Opcode
-
- AttributeInfo - Class in javassist.bytecode
-
attribute_info
structure.
- AttributeInfo(ConstPool, String, byte[]) - Constructor for class javassist.bytecode.AttributeInfo
-
Constructs an attribute_info
structure.
- calculateDefault(CtClass) - Static method in class javassist.SerialVersionUID
-
Calculate default value.
- call(int, int, Object[]) - Method in class javassist.tools.rmi.ObjectImporter
-
Calls a method on a remote object.
- Callback - Class in javassist.tools
-
Creates bytecode that when executed calls back to the instance's result method.
- Callback(String) - Constructor for class javassist.tools.Callback
-
Constructs a new Callback
object.
- callbacks - Static variable in class javassist.tools.Callback
-
- callers() - Method in class javassist.bytecode.analysis.Subroutine
-
- callsSuper() - Method in class javassist.CtConstructor
-
Returns true if this constructor calls a constructor
of the super class.
- CALOAD - Static variable in interface javassist.bytecode.Opcode
-
- CannotCompileException - Exception in javassist
-
Thrown when bytecode transformation has failed.
- CannotCompileException(String) - Constructor for exception javassist.CannotCompileException
-
Constructs a CannotCompileException with a message.
- CannotCompileException(Throwable) - Constructor for exception javassist.CannotCompileException
-
Constructs a CannotCompileException with an Exception
representing the cause.
- CannotCompileException(String, Throwable) - Constructor for exception javassist.CannotCompileException
-
Constructs a CannotCompileException with a detailed message
and an Exception
representing the cause.
- CannotCompileException(NotFoundException) - Constructor for exception javassist.CannotCompileException
-
Constructs a CannotCompileException with a
NotFoundException
.
- CannotCompileException(CompileError) - Constructor for exception javassist.CannotCompileException
-
Constructs a CannotCompileException with an CompileError
.
- CannotCompileException(ClassNotFoundException, String) - Constructor for exception javassist.CannotCompileException
-
Constructs a CannotCompileException
with a ClassNotFoundException
.
- CannotCompileException(ClassFormatError, String) - Constructor for exception javassist.CannotCompileException
-
Constructs a CannotCompileException with a ClassFormatError.
- CannotCreateException - Exception in javassist.tools.reflect
-
Signals that ClassMetaobject.newInstance()
fails.
- CannotCreateException(String) - Constructor for exception javassist.tools.reflect.CannotCreateException
-
- CannotCreateException(Exception) - Constructor for exception javassist.tools.reflect.CannotCreateException
-
- CannotInvokeException - Exception in javassist.tools.reflect
-
Thrown when method invocation using the reflection API has thrown
an exception.
- CannotInvokeException(String) - Constructor for exception javassist.tools.reflect.CannotInvokeException
-
Constructs a CannotInvokeException with an error message.
- CannotInvokeException(InvocationTargetException) - Constructor for exception javassist.tools.reflect.CannotInvokeException
-
Constructs a CannotInvokeException with an InvocationTargetException.
- CannotInvokeException(IllegalAccessException) - Constructor for exception javassist.tools.reflect.CannotInvokeException
-
Constructs a CannotInvokeException with an IllegalAccessException.
- CannotInvokeException(ClassNotFoundException) - Constructor for exception javassist.tools.reflect.CannotInvokeException
-
Constructs a CannotInvokeException with an ClassNotFoundException.
- CannotReflectException - Exception in javassist.tools.reflect
-
Thrown by makeReflective()
in Reflection
when there is an attempt to reflect
a class that is either an interface or a subclass of
either ClassMetaobject or Metaobject.
- CannotReflectException(String) - Constructor for exception javassist.tools.reflect.CannotReflectException
-
- Cast - Class in javassist.expr
-
Explicit type cast.
- CASTORE - Static variable in interface javassist.bytecode.Opcode
-
- catchers() - Method in class javassist.bytecode.analysis.ControlFlow.Block
-
Returns catch clauses that will catch an exception thrown
in this block.
- catchTarget(int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
Writes target_type
and catch_target
of target_info
union.
- catchType(int) - Method in class javassist.bytecode.ExceptionTable
-
Returns catchType
of the n-th entry.
- Cflow - Class in javassist.runtime
-
A support class for implementing $cflow
.
- Cflow() - Constructor for class javassist.runtime.Cflow
-
- changeReturnType(String, String) - Static method in class javassist.bytecode.Descriptor
-
Changes the return type included in the given descriptor.
- CHAR - Static variable in class javassist.bytecode.analysis.Type
-
Represents the char primitive type
- CharMemberValue - Class in javassist.bytecode.annotation
-
Char constant value.
- CharMemberValue(int, ConstPool) - Constructor for class javassist.bytecode.annotation.CharMemberValue
-
Constructs a char constant value.
- CharMemberValue(char, ConstPool) - Constructor for class javassist.bytecode.annotation.CharMemberValue
-
Constructs a char constant value.
- CharMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.CharMemberValue
-
Constructs a char constant value.
- charRead() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
- charRead() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
Returns "arrayReadChar" as the name of the static method with the signature
(Ljava/lang/Object;I)C to replace reading from a char[].
- charType - Static variable in class javassist.CtClass
-
The CtClass
object representing
the char
type.
- charWrite() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
Returns the name of a static method with the signature
(Ljava/lang/Object;IC)V
to replace writing to a byte[].
- charWrite() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
Returns "arrayWriteChar" as the name of the static method with the signature
(Ljava/lang/Object;IC)V to replace writing to a byte[].
- CHECKCAST - Static variable in interface javassist.bytecode.Opcode
-
- child(int) - Method in class javassist.bytecode.analysis.ControlFlow.Node
-
Returns the n-th child of this node.
- childFirstLookup - Variable in class javassist.ClassPool
-
Determines the search order.
- children() - Method in class javassist.bytecode.analysis.ControlFlow.Node
-
Returns the number of the children of this node.
- chopFrame(int, int, int) - Method in class javassist.bytecode.StackMapTable.Walker
-
Invoked if the visited frame is a chop_frame
.
- chopFrame(int, int) - Method in class javassist.bytecode.StackMapTable.Writer
-
Writes a chop_frame
.
- ClassClassPath - Class in javassist
-
A search-path for obtaining a class file
by getResourceAsStream()
in java.lang.Class
.
- ClassClassPath(Class) - Constructor for class javassist.ClassClassPath
-
Creates a search path.
- ClassFile - Class in javassist.bytecode
-
ClassFile
represents a Java .class
file, which
consists of a constant pool, methods, fields, and attributes.
- ClassFile(DataInputStream) - Constructor for class javassist.bytecode.ClassFile
-
Constructs a class file from a byte stream.
- ClassFile(boolean, String, String) - Constructor for class javassist.bytecode.ClassFile
-
Constructs a class file including no members.
- ClassFilePrinter - Class in javassist.bytecode
-
A utility class for priting the contents of a class file.
- ClassFilePrinter() - Constructor for class javassist.bytecode.ClassFilePrinter
-
- ClassFileWriter - Class in javassist.bytecode
-
A quick class-file writer.
- ClassFileWriter(int, int) - Constructor for class javassist.bytecode.ClassFileWriter
-
Constructs a class file writer.
- ClassFileWriter.AttributeWriter - Interface in javassist.bytecode
-
This writes attributes.
- ClassFileWriter.ConstPoolWriter - Class in javassist.bytecode
-
Constant Pool.
- ClassFileWriter.FieldWriter - Class in javassist.bytecode
-
Field.
- ClassFileWriter.MethodWriter - Class in javassist.bytecode
-
Method.
- classIndex() - Method in class javassist.bytecode.EnclosingMethodAttribute
-
Returns the value of class_index
.
- classInfoIndex(String) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and class_info_index
in element_value
.
- classInfoIndex(int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and class_info_index
in element_value
.
- classLoaderProvider - Static variable in class javassist.util.proxy.ProxyFactory
-
A provider used by createClass()
for obtaining
a class loader.
- ClassMap - Class in javassist
-
A hash table associating class names with different names.
- ClassMap() - Constructor for class javassist.ClassMap
-
Constructs a hash table.
- ClassMemberValue - Class in javassist.bytecode.annotation
-
Class value.
- ClassMemberValue(int, ConstPool) - Constructor for class javassist.bytecode.annotation.ClassMemberValue
-
Constructs a class value.
- ClassMemberValue(String, ConstPool) - Constructor for class javassist.bytecode.annotation.ClassMemberValue
-
Constructs a class value.
- ClassMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.ClassMemberValue
-
Constructs a class value.
- ClassMetaobject - Class in javassist.tools.reflect
-
A runtime class metaobject.
- ClassMetaobject(String[]) - Constructor for class javassist.tools.reflect.ClassMetaobject
-
Constructs a ClassMetaobject
.
- className() - Method in class javassist.bytecode.EnclosingMethodAttribute
-
Returns the name of the class specified by class_index
.
- classname - Variable in class javassist.tools.rmi.RemoteRef
-
- ClassPath - Interface in javassist
-
ClassPath
is an interface implemented by objects
representing a class search path.
- ClassPool - Class in javassist
-
A container of CtClass
objects.
- ClassPool() - Constructor for class javassist.ClassPool
-
Creates a root class pool.
- ClassPool(boolean) - Constructor for class javassist.ClassPool
-
Creates a root class pool.
- ClassPool(ClassPool) - Constructor for class javassist.ClassPool
-
Creates a class pool.
- ClassSignature(SignatureAttribute.TypeParameter[], SignatureAttribute.ClassType, SignatureAttribute.ClassType[]) - Constructor for class javassist.bytecode.SignatureAttribute.ClassSignature
-
Constructs a class signature.
- ClassSignature(SignatureAttribute.TypeParameter[]) - Constructor for class javassist.bytecode.SignatureAttribute.ClassSignature
-
Constructs a class signature.
- ClassType(String, SignatureAttribute.TypeArgument[]) - Constructor for class javassist.bytecode.SignatureAttribute.ClassType
-
Constructs a ClassType
.
- ClassType(String) - Constructor for class javassist.bytecode.SignatureAttribute.ClassType
-
Constructs a ClassType
.
- clear(int, int) - Static method in class javassist.bytecode.AccessFlag
-
Clears a specified bit in accflags
.
- clear(int, int) - Static method in class javassist.Modifier
-
Clears a specified bit in mod
.
- clearImportedPackages() - Method in class javassist.ClassPool
-
Clear all the package names recorded by importPackage()
.
- clearStack() - Method in class javassist.bytecode.analysis.Frame
-
Empties the stack
- clientData - Variable in class javassist.bytecode.analysis.ControlFlow.Block
-
A field that can be freely used for storing extra data.
- clone() - Method in class javassist.bytecode.Bytecode
-
Creates and returns a copy of this object.
- clone() - Method in class javassist.bytecode.ExceptionTable
-
Creates and returns a copy of this object.
- CLONEABLE - Static variable in class javassist.bytecode.analysis.Type
-
Represents the java.lang.Coneable reference type
- close() - Method in class javassist.ByteArrayClassPath
-
Closes this class path.
- close() - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Closes the output stream.
- close() - Method in class javassist.ClassClassPath
-
Does nothing.
- close() - Method in interface javassist.ClassPath
-
This method is invoked when the ClassPath
object is
detached from the search path.
- close() - Method in class javassist.LoaderClassPath
-
Closes this class path.
- close() - Method in class javassist.URLClassPath
-
Closes this class path.
- CodeAttribute - Class in javassist.bytecode
-
Code_attribute
.
- CodeAttribute(ConstPool, int, int, byte[], ExceptionTable) - Constructor for class javassist.bytecode.CodeAttribute
-
Constructs a Code_attribute
.
- CodeAttribute.RuntimeCopyException - Exception in javassist.bytecode
-
An exception that may be thrown by copy()
in CodeAttribute
.
- CodeConverter - Class in javassist
-
Simple translator of method bodies
(also see the javassist.expr
package).
- CodeConverter() - Constructor for class javassist.CodeConverter
-
- CodeConverter.ArrayAccessReplacementMethodNames - Interface in javassist
-
Interface containing the method names to be used
as array access replacements.
- CodeConverter.DefaultArrayAccessReplacementMethodNames - Class in javassist
-
Default implementation of the ArrayAccessReplacementMethodNames
interface giving default values for method names to be used for replacing
accesses to array elements.
- codeEnd(int, int) - Method in class javassist.bytecode.ClassFileWriter.MethodWriter
-
Ends appending bytecode.
- CodeIterator - Class in javassist.bytecode
-
An iterator for editing a code attribute.
- CodeIterator.Gap - Class in javassist.bytecode
-
An inserted gap.
- codeLength(int) - Method in class javassist.bytecode.LocalVariableAttribute
-
Returns local_variable_table[i].length
.
- compact() - Method in class javassist.bytecode.ClassFile
-
Eliminates dead constant pool items.
- Compiler - Class in javassist.tools.reflect
-
A bytecode translator for reflection.
- Compiler() - Constructor for class javassist.tools.reflect.Compiler
-
- computeMaxStack() - Method in class javassist.bytecode.CodeAttribute
-
Computes the maximum stack size and sets max_stack
to the computed size.
- CONST_Class - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_Class
- CONST_Double - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_Double
- CONST_Fieldref - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_Fieldref
- CONST_Float - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_Float
- CONST_Integer - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_Integer
- CONST_InterfaceMethodref - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_InterfaceMethodref
- CONST_InvokeDynamic - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_MethodHandle
- CONST_Long - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_Long
- CONST_MethodHandle - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_MethodHandle
- CONST_Methodref - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_Methodref
- CONST_MethodType - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_MethodHandle
- CONST_NameAndType - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_NameAndType
- CONST_String - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_String
- CONST_Utf8 - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_Utf8
- constant(int) - Static method in class javassist.CtField.Initializer
-
Makes an initializer that assigns a constant integer value.
- constant(boolean) - Static method in class javassist.CtField.Initializer
-
Makes an initializer that assigns a constant boolean value.
- constant(long) - Static method in class javassist.CtField.Initializer
-
Makes an initializer that assigns a constant long value.
- constant(float) - Static method in class javassist.CtField.Initializer
-
Makes an initializer that assigns a constant float value.
- constant(double) - Static method in class javassist.CtField.Initializer
-
Makes an initializer that assigns a constant double value.
- constant(String) - Static method in class javassist.CtField.Initializer
-
Makes an initializer that assigns a constant string value.
- ConstantAttribute - Class in javassist.bytecode
-
ConstantValue_attribute
.
- ConstantAttribute(ConstPool, int) - Constructor for class javassist.bytecode.ConstantAttribute
-
Constructs a ConstantValue attribute.
- ConstPool - Class in javassist.bytecode
-
Constant pool table.
- ConstPool(String) - Constructor for class javassist.bytecode.ConstPool
-
Constructs a constant pool table.
- ConstPool(DataInputStream) - Constructor for class javassist.bytecode.ConstPool
-
Constructs a constant pool table from the given byte stream.
- ConstructorCall - Class in javassist.expr
-
Constructor call such as this()
and super()
within a constructor body.
- constValueIndex(boolean) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and const_value_index
in element_value
.
- constValueIndex(byte) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and const_value_index
in element_value
.
- constValueIndex(char) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and const_value_index
in element_value
.
- constValueIndex(short) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and const_value_index
in element_value
.
- constValueIndex(int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and const_value_index
in element_value
.
- constValueIndex(long) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and const_value_index
in element_value
.
- constValueIndex(float) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and const_value_index
in element_value
.
- constValueIndex(double) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and const_value_index
in element_value
.
- constValueIndex(String) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and const_value_index
in element_value
.
- constValueIndex(int, int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and const_value_index
in element_value
.
- ControlFlow - Class in javassist.bytecode.analysis
-
Represents the control flow graph of a given method.
- ControlFlow(CtMethod) - Constructor for class javassist.bytecode.analysis.ControlFlow
-
Constructs a control-flow analyzer for the given method.
- ControlFlow(CtClass, MethodInfo) - Constructor for class javassist.bytecode.analysis.ControlFlow
-
Constructs a control-flow analyzer.
- ControlFlow.Block - Class in javassist.bytecode.analysis
-
Basic block.
- ControlFlow.Catcher - Class in javassist.bytecode.analysis
-
Represents a catch clause.
- ControlFlow.Node - Class in javassist.bytecode.analysis
-
A node of (post) dominator trees.
- copy() - Method in class javassist.bytecode.analysis.Frame
-
Makes a shallow copy of this frame, i.e.
- copy(ConstPool, Map) - Method in class javassist.bytecode.AnnotationDefaultAttribute
-
Copies this attribute and returns a new copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.AnnotationsAttribute
-
Copies this attribute and returns a new copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.AttributeInfo
-
Makes a copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.BootstrapMethodsAttribute
-
Makes a copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.CodeAttribute
-
Makes a copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.ConstantAttribute
-
Makes a copy.
- copy(int, ConstPool, Map) - Method in class javassist.bytecode.ConstPool
-
Copies the n-th item in this ConstPool object into the destination
ConstPool object.
- copy(ConstPool, Map) - Method in class javassist.bytecode.DeprecatedAttribute
-
Makes a copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.EnclosingMethodAttribute
-
Makes a copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.ExceptionsAttribute
-
Makes a copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.ExceptionTable
-
Makes a copy of this exception_table[]
.
- copy(ConstPool, Map) - Method in class javassist.bytecode.InnerClassesAttribute
-
Makes a copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.LineNumberAttribute
-
Makes a copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.LocalVariableAttribute
-
Makes a copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.MethodParametersAttribute
-
Makes a copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.ParameterAnnotationsAttribute
-
Copies this attribute and returns a new copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.SignatureAttribute
-
Makes a copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.SourceFileAttribute
-
Makes a copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.StackMap
-
Makes a copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.StackMapTable
-
Makes a copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.SyntheticAttribute
-
Makes a copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.TypeAnnotationsAttribute
-
Copies this attribute and returns a new copy.
- copy(CtConstructor, CtClass, ClassMap) - Static method in class javassist.CtNewConstructor
-
Creates a copy of a constructor.
- copy(CtMethod, CtClass, ClassMap) - Static method in class javassist.CtNewMethod
-
Creates a copy of a method.
- copy(CtMethod, String, CtClass, ClassMap) - Static method in class javassist.CtNewMethod
-
Creates a copy of a method with a new name.
- copyStack() - Method in class javassist.bytecode.analysis.Frame
-
Makes a shallow copy of the stack portion of this frame.
- create(Class[], Object[], MethodHandler) - Method in class javassist.util.proxy.ProxyFactory
-
Creates a proxy class and returns an instance of that class.
- create(Class[], Object[]) - Method in class javassist.util.proxy.ProxyFactory
-
Creates a proxy class and returns an instance of that class.
- createClass() - Method in class javassist.util.proxy.ProxyFactory
-
Generates a proxy class using the current filter.
- createClass(MethodFilter) - Method in class javassist.util.proxy.ProxyFactory
-
Generates a proxy class using the supplied filter.
- createMemberValue(ConstPool, CtClass) - Static method in class javassist.bytecode.annotation.Annotation
-
Makes an instance of MemberValue
.
- CtBehavior - Class in javassist
-
CtBehavior
represents a method, a constructor,
or a static constructor (class initializer).
- CtClass - Class in javassist
-
An instance of CtClass
represents a class.
- CtConstructor - Class in javassist
-
An instance of CtConstructor represents a constructor.
- CtConstructor(CtClass[], CtClass) - Constructor for class javassist.CtConstructor
-
Creates a constructor with no constructor body.
- CtConstructor(CtConstructor, CtClass, ClassMap) - Constructor for class javassist.CtConstructor
-
Creates a copy of a CtConstructor
object.
- CtField - Class in javassist
-
An instance of CtField represents a field.
- CtField(CtClass, String, CtClass) - Constructor for class javassist.CtField
-
Creates a CtField
object.
- CtField(CtField, CtClass) - Constructor for class javassist.CtField
-
Creates a copy of the given field.
- CtField.Initializer - Class in javassist
-
Instances of this class specify how to initialize a field.
- CtMember - Class in javassist
-
An instance of CtMember
represents a field, a constructor,
or a method.
- CtMethod - Class in javassist
-
An instance of CtMethod
represents a method.
- CtMethod(CtClass, String, CtClass[], CtClass) - Constructor for class javassist.CtMethod
-
Creates a public abstract method.
- CtMethod(CtMethod, CtClass, ClassMap) - Constructor for class javassist.CtMethod
-
Creates a copy of a CtMethod
object.
- CtMethod.ConstParameter - Class in javassist
-
Instances of this class represent a constant parameter.
- CtNewConstructor - Class in javassist
-
A collection of static methods for creating a CtConstructor
.
- CtNewConstructor() - Constructor for class javassist.CtNewConstructor
-
- CtNewMethod - Class in javassist
-
A collection of static methods for creating a CtMethod
.
- CtNewMethod() - Constructor for class javassist.CtNewMethod
-
- CtPrimitiveType - Class in javassist
-
An instance of CtPrimitiveType
represents a primitive type.
- currentChar() - Method in class javassist.bytecode.Descriptor.Iterator
-
Returns the first character of the current element.
- currentPc() - Method in class javassist.bytecode.Bytecode
-
Returns the length of bytecode sequence
that have been added so far.
- Gap() - Constructor for class javassist.bytecode.CodeIterator.Gap
-
- get(CtClass) - Static method in class javassist.bytecode.analysis.Type
-
Obtain the Type for a given class.
- get() - Method in class javassist.bytecode.AttributeInfo
-
Returns the info
field
of this attribute_info
structure.
- get() - Method in class javassist.bytecode.Bytecode
-
Returns the produced bytecode sequence.
- get() - Method in class javassist.bytecode.CodeAttribute
-
This method is not available.
- get() - Method in class javassist.bytecode.CodeIterator
-
Returns a Code attribute read with this iterator.
- get(Object) - Method in class javassist.ClassMap
-
Returns the class name to wihch the given jvmClassName
is mapped.
- get(String) - Method in class javassist.ClassPool
-
Reads a class file from the source and returns a reference
to the CtClass
object representing that class file.
- get(String[]) - Method in class javassist.ClassPool
-
Reads class files from the source and returns an array of
CtClass
objects representing those class files.
- get(ProxyFactory) - Method in interface javassist.util.proxy.ProxyFactory.ClassLoaderProvider
-
Returns a class loader.
- get(String) - Method in interface javassist.util.proxy.ProxyFactory.UniqueName
-
Returns a unique class name.
- getAccessFlags() - Method in class javassist.bytecode.ClassFile
-
Returns access flags.
- getAccessFlags() - Method in class javassist.bytecode.FieldInfo
-
Returns the access flags.
- getAccessFlags() - Method in class javassist.bytecode.MethodInfo
-
Returns access flags.
- getAccessorMaker() - Method in class javassist.CtClass
-
Undocumented method.
- getAndRename(String, String) - Method in class javassist.ClassPool
-
Reads a class file and constructs a CtClass
object with a new name.
- getAnnotation() - Method in class javassist.bytecode.annotation.AnnotationImpl
-
Obtains the internal data structure representing the annotation.
- getAnnotation(String) - Method in class javassist.bytecode.AnnotationsAttribute
-
Parses the annotations and returns a data structure representing
the annotation with the specified type.
- getAnnotation(Class) - Method in class javassist.CtBehavior
-
Returns the annotation if the class has the specified annotation class.
- getAnnotation(Class) - Method in class javassist.CtClass
-
Returns the annotation if the class has the specified annotation type.
- getAnnotation(Class) - Method in class javassist.CtField
-
Returns the annotation if the class has the specified annotation class.
- getAnnotation(Class) - Method in class javassist.CtMember
-
Returns the annotation if the class has the specified annotation type.
- getAnnotations() - Method in class javassist.bytecode.AnnotationsAttribute
-
Parses the annotations and returns a data structure representing
that parsed annotations.
- getAnnotations() - Method in class javassist.bytecode.ParameterAnnotationsAttribute
-
Parses the annotations and returns a data structure representing
that parsed annotations.
- getAnnotations() - Method in class javassist.CtBehavior
-
Returns the annotations associated with this method or constructor.
- getAnnotations() - Method in class javassist.CtClass
-
Returns the annotations associated with this class.
- getAnnotations() - Method in class javassist.CtField
-
Returns the annotations associated with this field.
- getAnnotations() - Method in class javassist.CtMember
-
Returns the annotations associated with this member.
- getArrayType() - Method in class javassist.CtPrimitiveType
-
Returns the array-type code representing the type.
- getAttribute(String) - Method in class javassist.bytecode.ClassFile
-
Returns the attribute with the specified name.
- getAttribute(String) - Method in class javassist.bytecode.CodeAttribute
-
Returns the attribute with the specified name.
- getAttribute(String) - Method in class javassist.bytecode.FieldInfo
-
Returns the attribute with the specified name.
- getAttribute(String) - Method in class javassist.bytecode.MethodInfo
-
Returns the attribute with the specified name.
- getAttribute(String) - Method in class javassist.CtBehavior
-
Obtains an attribute with the given name.
- getAttribute(String) - Method in class javassist.CtClass
-
Obtains an attribute with the given name.
- getAttribute(String) - Method in class javassist.CtField
-
Obtains an attribute with the given name.
- getAttribute(String) - Method in class javassist.CtMember
-
Obtains a user-defined attribute with the given name.
- getAttributes() - Method in class javassist.bytecode.ClassFile
-
Returns all the attributes.
- getAttributes() - Method in class javassist.bytecode.CodeAttribute
-
Returns attributes[]
.
- getAttributes() - Method in class javassist.bytecode.FieldInfo
-
Returns all the attributes.
- getAttributes() - Method in class javassist.bytecode.MethodInfo
-
Returns all the attributes.
- getAvailableAnnotations() - Method in class javassist.CtBehavior
-
Returns the annotations associated with this method or constructor.
- getAvailableAnnotations() - Method in class javassist.CtClass
-
Returns the annotations associated with this class.
- getAvailableAnnotations() - Method in class javassist.CtField
-
Returns the annotations associated with this field.
- getAvailableAnnotations() - Method in class javassist.CtMember
-
Returns the annotations associated with this member.
- getAvailableParameterAnnotations() - Method in class javassist.CtBehavior
-
Returns the parameter annotations associated with this method or constructor.
- getCause() - Method in exception javassist.CannotCompileException
-
Gets the cause of this throwable.
- getClassBound() - Method in class javassist.bytecode.SignatureAttribute.TypeParameter
-
Returns the class bound of this parameter.
- getClassFile() - Method in class javassist.CtClass
-
Returns a class file for this class.
- getClassFile2() - Method in class javassist.CtClass
-
Returns a class file for this class (read only).
- getClassInfo(int) - Method in class javassist.bytecode.ConstPool
-
Reads CONSTANT_Class_info
structure
at the given index.
- getClassInfoByDescriptor(int) - Method in class javassist.bytecode.ConstPool
-
Reads CONSTANT_Class_info
structure
at the given index.
- getClassInitializer() - Method in class javassist.CtClass
-
Gets the class initializer (static constructor)
declared in the class.
- getClassLoader() - Method in class javassist.ClassPool
-
Get the classloader for toClass()
, getAnnotations()
in
CtClass
, etc.
- getClassMetaobject() - Method in class javassist.tools.reflect.Metaobject
-
Obtains the class metaobject associated with this metaobject.
- getClassName() - Method in error javassist.bytecode.annotation.NoSuchClassError
-
Returns the name of the class not found.
- getClassName() - Method in class javassist.bytecode.ConstPool
-
Returns the name of the class using this constant pool table.
- getClassName() - Method in class javassist.expr.FieldAccess
-
Returns the name of the class in which the field is declared.
- getClassName() - Method in class javassist.expr.MethodCall
-
Returns the class name of the target object,
which the method is called on.
- getClassName() - Method in class javassist.expr.NewExpr
-
Returns the class name of the created object.
- getClassNames() - Method in class javassist.bytecode.ConstPool
-
Get all the class names.
- getClassPool() - Method in class javassist.CtClass
-
Returns a ClassPool
for this class.
- getClazz(String) - Static method in class javassist.runtime.Desc
-
Interprets the given class name.
- getCode() - Method in class javassist.bytecode.CodeAttribute
-
Returns code[]
.
- getCodeAttribute() - Method in class javassist.bytecode.MethodInfo
-
Returns a Code attribute.
- getCodeLength() - Method in class javassist.bytecode.CodeAttribute
-
Returns code_length
.
- getCodeLength() - Method in class javassist.bytecode.CodeIterator
-
Returns code_length
of Code_attribute
.
- getComponent() - Method in class javassist.bytecode.analysis.MultiArrayType
-
- getComponent() - Method in class javassist.bytecode.analysis.MultiType
-
Always returns null since this type is never used for an array.
- getComponent() - Method in class javassist.bytecode.analysis.Type
-
Returns the array component if this type is an array.
- getComponentType() - Method in class javassist.bytecode.SignatureAttribute.ArrayType
-
Returns the component type.
- getComponentType() - Method in class javassist.CtClass
-
If this object represents an array, this method returns the component
type of the array.
- getComponentType() - Method in class javassist.expr.NewArray
-
Returns the type of array components.
- getConstantValue() - Method in class javassist.bytecode.ConstantAttribute
-
Returns constantvalue_index
.
- getConstantValue() - Method in class javassist.bytecode.FieldInfo
-
Finds a ConstantValue attribute and returns the index into
the constant_pool
table.
- getConstantValue() - Method in class javassist.CtField
-
Returns the value of this field if it is a constant field.
- getConstPool() - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Obtains the constant pool given to the constructor.
- getConstPool() - Method in class javassist.bytecode.AttributeInfo
-
Returns a constant pool table.
- getConstPool() - Method in class javassist.bytecode.Bytecode
-
Gets a constant pool table.
- getConstPool() - Method in class javassist.bytecode.ClassFile
-
Returns a constant pool table.
- getConstPool() - Method in class javassist.bytecode.ClassFileWriter
-
Returns a constant pool.
- getConstPool() - Method in class javassist.bytecode.FieldInfo
-
Returns the constant pool table used
by this field_info
.
- getConstPool() - Method in class javassist.bytecode.MethodInfo
-
Returns a constant pool table used by this method.
- getConstructor(String) - Method in class javassist.CtClass
-
Returns the constructor with the given signature,
which is represented by a character string
called method descriptor.
- getConstructor() - Method in class javassist.expr.ConstructorCall
-
Returns the called constructor.
- getConstructor() - Method in class javassist.expr.NewExpr
-
Returns the constructor called for creating the object.
- getConstructors() - Method in class javassist.CtClass
-
Returns an array containing CtConstructor
objects
representing all the non-private constructors of the class.
- getCreatedDimensions() - Method in class javassist.expr.NewArray
-
Returns the number of dimensions of arrays to be created.
- getCtClass() - Method in class javassist.bytecode.analysis.MultiArrayType
-
- getCtClass() - Method in class javassist.bytecode.analysis.MultiType
-
Gets the class that corresponds with this type.
- getCtClass() - Method in class javassist.bytecode.analysis.Type
-
Returns the class this type represents.
- getCtClass(String) - Method in class javassist.ClassPool
-
Returns a CtClass
object with the given name.
- getCtlass() - Method in class javassist.bytecode.SignatureAttribute.BaseType
-
Returns the CtClass
representing this
primitive type.
- getDataSize() - Method in class javassist.CtPrimitiveType
-
Returns the data size of the primitive type.
- getDeclaredBehaviors() - Method in class javassist.CtClass
-
Gets all the constructors and methods declared in the class.
- getDeclaredClasses() - Method in class javassist.CtClass
-
Returns an array of nested classes declared in the class.
- getDeclaredConstructor(CtClass[]) - Method in class javassist.CtClass
-
Returns a constructor receiving the specified parameters.
- getDeclaredConstructors() - Method in class javassist.CtClass
-
Gets all the constructors declared in the class.
- getDeclaredField(String) - Method in class javassist.CtClass
-
Retrieves the field with the specified name among the fields
declared in the class.
- getDeclaredField(String, String) - Method in class javassist.CtClass
-
Retrieves the field with the specified name and type among the fields
declared in the class.
- getDeclaredFields() - Method in class javassist.CtClass
-
Gets all the fields declared in the class.
- getDeclaredMethod(String, CtClass[]) - Method in class javassist.CtClass
-
Retrieves the method with the specified name and parameter types
among the methods declared in the class.
- getDeclaredMethod(String) - Method in class javassist.CtClass
-
Retrieves the method with the specified name among the methods
declared in the class.
- getDeclaredMethods() - Method in class javassist.CtClass
-
Gets all methods declared in the class.
- getDeclaredMethods(String) - Method in class javassist.CtClass
-
Retrieves methods with the specified name among the methods
declared in the class.
- getDeclaringClass() - Method in class javassist.bytecode.CodeAttribute
-
Returns the name of the class declaring the method including
this code attribute.
- getDeclaringClass() - Method in class javassist.bytecode.SignatureAttribute.ClassType
-
If this class is a member of another class, returns the
class in which this class is declared.
- getDeclaringClass() - Method in class javassist.bytecode.SignatureAttribute.NestedClassType
-
Returns the class that declares this nested class.
- getDeclaringClass() - Method in class javassist.CtClass
-
If this class is a member class or interface of another class,
then the class enclosing this class is returned.
- getDeclaringClass() - Method in class javassist.CtField
-
Returns the class declaring the field.
- getDeclaringClass() - Method in class javassist.CtMember
-
Returns the class that declares this member.
- getDefault() - Static method in class javassist.ClassPool
-
Returns the default class pool.
- getDefaultValue() - Method in class javassist.bytecode.AnnotationDefaultAttribute
-
Obtains the default value represented by this attribute.
- getDescriptor() - Method in class javassist.bytecode.FieldInfo
-
Returns the field descriptor.
- getDescriptor() - Method in class javassist.bytecode.MethodInfo
-
Returns a method descriptor.
- getDescriptor() - Method in class javassist.bytecode.SignatureAttribute.BaseType
-
Returns the descriptor representing this primitive type.
- getDescriptor() - Method in class javassist.CtPrimitiveType
-
Returns the descriptor representing this type.
- getDimension() - Method in class javassist.bytecode.SignatureAttribute.ArrayType
-
Returns the dimension of the array.
- getDimension() - Method in class javassist.expr.NewArray
-
Returns the dimension of the created array.
- getDimensions() - Method in class javassist.bytecode.analysis.MultiArrayType
-
- getDimensions() - Method in class javassist.bytecode.analysis.Type
-
Returns the number of dimensions of this array.
- getDoubleInfo(int) - Method in class javassist.bytecode.ConstPool
-
Reads CONSTANT_Double_info
structure
at the given index.
- getEnclosingBehavior() - Method in class javassist.CtClass
-
Returns the immediately enclosing method of this class.
- getEnclosingClass() - Method in class javassist.expr.Expr
-
Returns the class that declares the method enclosing
this expression.
- getEnclosingMethod() - Method in class javassist.CtClass
-
- getException(int) - Method in class javassist.bytecode.ExceptionsAttribute
-
Returns the value of exception_index_table[nth]
.
- getExceptionIndexes() - Method in class javassist.bytecode.ExceptionsAttribute
-
Returns exception_index_table[]
.
- getExceptions() - Method in class javassist.bytecode.ExceptionsAttribute
-
Returns the names of exceptions that the method may throw.
- getExceptionsAttribute() - Method in class javassist.bytecode.MethodInfo
-
Returns an Exceptions attribute.
- getExceptionTable() - Method in class javassist.bytecode.Bytecode
-
Returns exception_table
.
- getExceptionTable() - Method in class javassist.bytecode.CodeAttribute
-
Returns exception_table[]
.
- getExceptionTypes() - Method in class javassist.bytecode.SignatureAttribute.MethodSignature
-
Returns the types of the exceptions that may be thrown.
- getExceptionTypes() - Method in class javassist.CtBehavior
-
Obtains exceptions that this method/constructor may throw.
- GETFIELD - Static variable in interface javassist.bytecode.Opcode
-
- getField(String) - Method in class javassist.CtClass
-
Returns the field with the specified name.
- getField(String, String) - Method in class javassist.CtClass
-
Returns the field with the specified name and type.
- getField() - Method in class javassist.expr.FieldAccess
-
Returns the field accessed by this expression.
- getFieldInfo() - Method in class javassist.CtField
-
Returns the FieldInfo representing the field in the class file.
- getFieldInfo2() - Method in class javassist.CtField
-
Returns the FieldInfo representing the field in the class
file (read only).
- getFieldName() - Method in class javassist.expr.FieldAccess
-
Returns the name of the field.
- getFieldrefClass(int) - Method in class javassist.bytecode.ConstPool
-
Reads the class_index
field of the
CONSTANT_Fieldref_info
structure
at the given index.
- getFieldrefClassName(int) - Method in class javassist.bytecode.ConstPool
-
Reads the class_index
field of the
CONSTANT_Fieldref_info
structure
at the given index.
- getFieldrefName(int) - Method in class javassist.bytecode.ConstPool
-
Reads the name_index
field of the
CONSTANT_NameAndType_info
structure
indirectly specified by the given index.
- getFieldrefNameAndType(int) - Method in class javassist.bytecode.ConstPool
-
Reads the name_and_type_index
field of the
CONSTANT_Fieldref_info
structure
at the given index.
- getFieldrefType(int) - Method in class javassist.bytecode.ConstPool
-
Reads the descriptor_index
field of the
CONSTANT_NameAndType_info
structure
indirectly specified by the given index.
- getFields() - Method in class javassist.bytecode.ClassFile
-
Returns all the fields declared in the class.
- getFields() - Method in class javassist.CtClass
-
Returns an array containing CtField
objects
representing all the non-private fields of the class.
- getFieldWriter() - Method in class javassist.bytecode.ClassFileWriter
-
Returns a filed writer.
- getFileName() - Method in class javassist.bytecode.SourceFileAttribute
-
Returns the file name indicated by sourcefile_index
.
- getFileName() - Method in class javassist.expr.Cast
-
Returns the source file containing the type-cast expression.
- getFileName() - Method in class javassist.expr.Expr
-
Returns the source file containing the expression.
- getFileName() - Method in class javassist.expr.FieldAccess
-
Returns the source file containing the field access.
- getFileName() - Method in class javassist.expr.Handler
-
Returns the source file containing the catch clause.
- getFileName() - Method in class javassist.expr.Instanceof
-
Returns the source file containing the
instanceof expression.
- getFileName() - Method in class javassist.expr.MethodCall
-
Returns the source file containing the method call.
- getFileName() - Method in class javassist.expr.NewArray
-
Returns the source file containing the array creation.
- getFileName() - Method in class javassist.expr.NewExpr
-
Returns the source file containing the new expression.
- getFloatInfo(int) - Method in class javassist.bytecode.ConstPool
-
Reads CONSTANT_Float_info
structure
at the given index.
- getGenericSignature() - Method in class javassist.CtBehavior
-
Returns the generic signature of the method.
- getGenericSignature() - Method in class javassist.CtClass
-
Returns the generic signature of the class.
- getGenericSignature() - Method in class javassist.CtField
-
Returns the generic signature of the field.
- getGenericSignature() - Method in class javassist.CtMember
-
Returns the generic signature of the member.
- getGetMethodDescriptor() - Method in class javassist.CtPrimitiveType
-
Returns the descriptor of the method for retrieving the value
from the wrapper object.
- getGetMethodName() - Method in class javassist.CtPrimitiveType
-
Returns the name of the method for retrieving the value
from the wrapper object.
- getHandler(Proxy) - Static method in class javassist.util.proxy.ProxyFactory
-
Obtains the method handler of the given proxy object.
- getHandler() - Method in interface javassist.util.proxy.ProxyObject
-
Get the handler.
- getImportedPackages() - Method in class javassist.ClassPool
-
Returns all the package names recorded by importPackage()
.
- getInnerAccessFlags() - Method in class javassist.bytecode.ClassFile
-
Returns access and property flags of this nested class.
- getIntegerInfo(int) - Method in class javassist.bytecode.ConstPool
-
Reads CONSTANT_Integer_info
structure
at the given index.
- getInterfaceBound() - Method in class javassist.bytecode.SignatureAttribute.TypeParameter
-
Returns the interface bound of this parameter.
- getInterfaceMethodrefClass(int) - Method in class javassist.bytecode.ConstPool
-
Reads the class_index
field of the
CONSTANT_InterfaceMethodref_info
structure
at the given index.
- getInterfaceMethodrefClassName(int) - Method in class javassist.bytecode.ConstPool
-
Reads the class_index
field of the
CONSTANT_InterfaceMethodref_info
structure
at the given index.
- getInterfaceMethodrefName(int) - Method in class javassist.bytecode.ConstPool
-
Reads the name_index
field of the
CONSTANT_NameAndType_info
structure
indirectly specified by the given index.
- getInterfaceMethodrefNameAndType(int) - Method in class javassist.bytecode.ConstPool
-
Reads the name_and_type_index
field of the
CONSTANT_InterfaceMethodref_info
structure
at the given index.
- getInterfaceMethodrefType(int) - Method in class javassist.bytecode.ConstPool
-
Reads the descriptor_index
field of the
CONSTANT_NameAndType_info
structure
indirectly specified by the given index.
- getInterfaces() - Method in class javassist.bytecode.ClassFile
-
Returns the names of the interfaces implemented by the class.
- getInterfaces() - Method in class javassist.bytecode.SignatureAttribute.ClassSignature
-
Returns the super interfaces.
- getInterfaces() - Method in class javassist.CtClass
-
Obtains the class objects representing the interfaces implemented
by the class or, if this object represents an interface, the interfaces
extended by that interface.
- getInterfaces() - Method in class javassist.util.proxy.ProxyFactory
-
Obtains the interfaces set by setInterfaces
.
- getInvokeDynamicBootstrap(int) - Method in class javassist.bytecode.ConstPool
-
Reads the bootstrap_method_attr_index
field of the
CONSTANT_InvokeDynamic_info
structure
at the given index.
- getInvokeDynamicNameAndType(int) - Method in class javassist.bytecode.ConstPool
-
Reads the name_and_type_index
field of the
CONSTANT_InvokeDynamic_info
structure
at the given index.
- getInvokeDynamicType(int) - Method in class javassist.bytecode.ConstPool
-
Reads the descriptor_index
field of the
CONSTANT_NameAndType_info
structure
indirectly specified by the given index.
- getJavaClass() - Method in class javassist.tools.reflect.ClassMetaobject
-
Obtains the java.lang.Class
representing this class.
- getJumpTarget(int, CodeIterator) - Static method in class javassist.bytecode.analysis.Util
-
- getKey(Class, Class[], byte[], boolean) - Method in class javassist.util.proxy.ProxyFactory
-
- getKind() - Method in class javassist.bytecode.SignatureAttribute.TypeArgument
-
Returns the kind of this type argument.
- getLdcValue(int) - Method in class javassist.bytecode.ConstPool
-
Reads CONSTANT_Integer_info
, _Float_info
,
_Long_info
, _Double_info
, or
_String_info
structure.
- getLineNumber(int) - Method in class javassist.bytecode.MethodInfo
-
Returns the line number of the source line corresponding to the specified
bytecode contained in this method.
- getLineNumber() - Method in class javassist.expr.Cast
-
Returns the line number of the source line containing the
type-cast expression.
- getLineNumber() - Method in class javassist.expr.Expr
-
Returns the line number of the source line containing the expression.
- getLineNumber() - Method in class javassist.expr.FieldAccess
-
Returns the line number of the source line containing the
field access.
- getLineNumber() - Method in class javassist.expr.Handler
-
Returns the source line number of the catch clause.
- getLineNumber() - Method in class javassist.expr.Instanceof
-
Returns the line number of the source line containing the
instanceof expression.
- getLineNumber() - Method in class javassist.expr.MethodCall
-
Returns the line number of the source line containing the
method call.
- getLineNumber() - Method in class javassist.expr.NewArray
-
Returns the line number of the source line containing the
array creation.
- getLineNumber() - Method in class javassist.expr.NewExpr
-
Returns the line number of the source line containing the
new expression.
- getLocal(int) - Method in class javassist.bytecode.analysis.Frame
-
Returns the local varaible table entry at index.
- getLongInfo(int) - Method in class javassist.bytecode.ConstPool
-
Reads CONSTANT_Long_info
structure
at the given index.
- getLongName() - Method in class javassist.CtBehavior
-
Returns the method or constructor name followed by parameter types
such as javassist.CtBehavior.stBody(String)
.
- getLongName() - Method in class javassist.CtConstructor
-
Returns the constructor name followed by parameter types
such as javassist.CtConstructor(CtClass[],CtClass)
.
- getLongName() - Method in class javassist.CtMethod
-
Returns the method name followed by parameter types
such as javassist.CtMethod.setBody(String)
.
- getMajorVersion() - Method in class javassist.bytecode.ClassFile
-
Get the Major version.
- getMark() - Method in class javassist.bytecode.CodeIterator
-
Gets the index of the position of the mark set by
setMark
.
- getMaxLocals() - Method in class javassist.bytecode.Bytecode
-
Gets max_locals
.
- getMaxLocals() - Method in class javassist.bytecode.CodeAttribute
-
Returns max_locals
.
- getMaxStack() - Method in class javassist.bytecode.Bytecode
-
Gets max_stack
.
- getMaxStack() - Method in class javassist.bytecode.CodeAttribute
-
Returns max_stack
.
- getMemberClass(int) - Method in class javassist.bytecode.ConstPool
-
Reads the class_index
field of the
CONSTANT_Fieldref_info
,
CONSTANT_Methodref_info
,
or CONSTANT_Interfaceref_info
,
structure at the given index.
- getMemberNameAndType(int) - Method in class javassist.bytecode.ConstPool
-
Reads the name_and_type_index
field of the
CONSTANT_Fieldref_info
,
CONSTANT_Methodref_info
,
or CONSTANT_Interfaceref_info
,
structure at the given index.
- getMemberNames() - Method in class javassist.bytecode.annotation.Annotation
-
Obtains all the member names.
- getMemberValue(String) - Method in class javassist.bytecode.annotation.Annotation
-
Obtains the member value with the given name.
- getMethod(String) - Method in class javassist.bytecode.ClassFile
-
Returns the method with the specified name.
- getMethod(String, String) - Method in class javassist.ClassPool
-
Reads a class file and obtains a compile-time method.
- getMethod(String, String) - Method in class javassist.CtClass
-
Returns the method with the given name and signature.
- getMethod() - Method in class javassist.expr.ConstructorCall
-
Always throws a NotFoundException
.
- getMethod() - Method in class javassist.expr.MethodCall
-
Returns the called method.
- getMethod(int) - Method in class javassist.tools.reflect.ClassMetaobject
-
Returns the java.lang.reflect.Method
object representing
the method specified by identifier
.
- getMethodHandleIndex(int) - Method in class javassist.bytecode.ConstPool
-
Reads the reference_index
field of the
CONSTANT_MethodHandle_info
structure
at the given index.
- getMethodHandleKind(int) - Method in class javassist.bytecode.ConstPool
-
Reads the reference_kind
field of the
CONSTANT_MethodHandle_info
structure
at the given index.
- getMethodIndex(String, Class[]) - Method in class javassist.tools.reflect.ClassMetaobject
-
Returns the identifier index of the method, as identified by its
original name.
- getMethodInfo() - Method in class javassist.CtBehavior
-
Returns the MethodInfo
representing this method/constructor in the
class file.
- getMethodInfo2() - Method in class javassist.CtBehavior
-
Returns the MethodInfo
representing the method/constructor in the
class file (read only).
- getMethodName() - Method in class javassist.expr.ConstructorCall
-
Returns "super"
or ""this"
.
- getMethodName() - Method in class javassist.expr.MethodCall
-
Returns the name of the called method.
- getMethodName(int) - Method in class javassist.tools.reflect.ClassMetaobject
-
Returns the name of the method specified
by identifier
.
- getMethodName(int) - Method in class javassist.tools.reflect.Metaobject
-
Returns the name of the method specified
by identifier
.
- getMethodrefClass(int) - Method in class javassist.bytecode.ConstPool
-
Reads the class_index
field of the
CONSTANT_Methodref_info
structure
at the given index.
- getMethodrefClassName(int) - Method in class javassist.bytecode.ConstPool
-
Reads the class_index
field of the
CONSTANT_Methodref_info
structure
at the given index.
- getMethodrefName(int) - Method in class javassist.bytecode.ConstPool
-
Reads the name_index
field of the
CONSTANT_NameAndType_info
structure
indirectly specified by the given index.
- getMethodrefNameAndType(int) - Method in class javassist.bytecode.ConstPool
-
Reads the name_and_type_index
field of the
CONSTANT_Methodref_info
structure
at the given index.
- getMethodrefType(int) - Method in class javassist.bytecode.ConstPool
-
Reads the descriptor_index
field of the
CONSTANT_NameAndType_info
structure
indirectly specified by the given index.
- getMethods() - Method in class javassist.bytecode.BootstrapMethodsAttribute
-
Obtains bootstrap_methods
in this attribute.
- getMethods() - Method in class javassist.bytecode.ClassFile
-
Returns all the methods declared in the class.
- getMethods() - Method in class javassist.CtClass
-
Returns an array containing CtMethod
objects
representing all the non-private methods of the class.
- getMethodTypeInfo(int) - Method in class javassist.bytecode.ConstPool
-
Reads the descriptor_index
field of the
CONSTANT_MethodType_info
structure
at the given index.
- getMethodWriter() - Method in class javassist.bytecode.ClassFileWriter
-
Returns a method writer.
- getMinorVersion() - Method in class javassist.bytecode.ClassFile
-
Get the minor version.
- getModifiers() - Method in class javassist.CtBehavior
-
Obtains the modifiers of the method/constructor.
- getModifiers() - Method in class javassist.CtClass
-
Returns the modifiers for this class, encoded in an integer.
- getModifiers() - Method in class javassist.CtField
-
Returns the encoded modifiers of the field.
- getModifiers() - Method in class javassist.CtMember
-
Obtains the modifiers of the member.
- getModifiers() - Method in class javassist.CtPrimitiveType
-
Returns the modifiers for this type.
- getName() - Method in class javassist.bytecode.AttributeInfo
-
Returns an attribute name.
- getName() - Method in class javassist.bytecode.ClassFile
-
Returns the class name.
- getName() - Method in class javassist.bytecode.FieldInfo
-
Returns the field name.
- getName() - Method in class javassist.bytecode.MethodInfo
-
Returns a method name.
- getName() - Method in class javassist.bytecode.SignatureAttribute.ClassType
-
Returns the class name.
- getName() - Method in class javassist.bytecode.SignatureAttribute.TypeParameter
-
Returns the name of the type parameter.
- getName() - Method in class javassist.bytecode.SignatureAttribute.TypeVariable
-
Returns the variable name.
- getName() - Method in class javassist.CtClass
-
Obtains the fully-qualified name of the class.
- 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.CtMember
-
Obtains the name of the member.
- getName() - Method in class javassist.CtMethod
-
Obtains the name of this method.
- getName() - Method in class javassist.tools.reflect.ClassMetaobject
-
Obtains the name of this class.
- getNameAndTypeDescriptor(int) - Method in class javassist.bytecode.ConstPool
-
Reads the descriptor_index
field of the
CONSTANT_NameAndType_info
structure
at the given index.
- getNameAndTypeName(int) - Method in class javassist.bytecode.ConstPool
-
Reads the name_index
field of the
CONSTANT_NameAndType_info
structure
at the given index.
- getNestedClasses() - Method in class javassist.CtClass
-
Returns an array of nested classes declared in the class.
- getObject() - Method in class javassist.tools.reflect.Metaobject
-
Obtains the object controlled by this metaobject.
- getObject(String) - Method in class javassist.tools.rmi.ObjectImporter
-
Finds the object exported by a server with the specified name.
- getOrNull(String) - Method in class javassist.ClassPool
-
Reads a class file from the source and returns a reference
to the CtClass
object representing that class file.
- getPackageName() - Method in class javassist.CtClass
-
Obtains the package name.
- getParamDescriptor(String) - Static method in class javassist.bytecode.Descriptor
-
Returns the signature of the given descriptor.
- getParameterAnnotations() - Method in class javassist.CtBehavior
-
Returns the parameter annotations associated with this method or constructor.
- getParameters() - Method in class javassist.bytecode.SignatureAttribute.ClassSignature
-
Returns the type parameters.
- getParameterTypes(String, ClassPool) - Static method in class javassist.bytecode.Descriptor
-
Returns the CtClass
objects representing the parameter
types specified by the given descriptor.
- getParameterTypes() - Method in class javassist.bytecode.SignatureAttribute.MethodSignature
-
Returns the types of the formal parameters.
- getParameterTypes() - Method in class javassist.CtBehavior
-
Obtains parameter types of this method/constructor.
- getParameterTypes(int) - Method in class javassist.tools.reflect.ClassMetaobject
-
Returns an array of Class
objects representing the
formal parameter types of the method specified
by identifier
.
- getParameterTypes(int) - Method in class javassist.tools.reflect.Metaobject
-
Returns an array of Class
objects representing the
formal parameter types of the method specified
by identifier
.
- getParams(String) - Static method in class javassist.runtime.Desc
-
Interprets the given type descriptor representing a method
signature.
- getPort() - Method in class javassist.tools.web.Viewer
-
Returns the port number.
- getReason() - Method in exception javassist.CannotCompileException
-
Gets a long message if it is available.
- getReason() - Method in exception javassist.tools.reflect.CannotInvokeException
-
Returns the cause of this exception.
- getRefClasses(Map) - Method in class javassist.bytecode.ClassFile
-
Internal-use only.
- getRefClasses() - Method in class javassist.CtClass
-
Returns a collection of the names of all the classes
referenced in this class.
- getReflectiveMethods() - Method in class javassist.tools.reflect.ClassMetaobject
-
Returns an array of the methods defined on the given reflective
object.
- getReturnOp() - Method in class javassist.CtPrimitiveType
-
Returns the opcode for returning a value of the type.
- getReturnType(String, ClassPool) - Static method in class javassist.bytecode.Descriptor
-
Returns the CtClass
object representing the return
type specified by the given descriptor.
- getReturnType() - Method in class javassist.bytecode.SignatureAttribute.MethodSignature
-
Returns the type of the returned value.
- getReturnType() - Method in class javassist.CtMethod
-
Obtains the type of the returned value.
- getReturnType(int) - Method in class javassist.tools.reflect.ClassMetaobject
-
Returns a Class
objects representing the
return type of the method specified by identifier
.
- getReturnType(int) - Method in class javassist.tools.reflect.Metaobject
-
Returns a Class
objects representing the
return type of the method specified by identifier
.
- getServer() - Method in class javassist.tools.web.Viewer
-
Returns the server name.
- getSignature() - Method in class javassist.bytecode.SignatureAttribute
-
Returns the generic signature indicated by signature_index
.
- getSignature() - Method in class javassist.CtBehavior
-
Returns the method signature (the parameter types
and the return type).
- getSignature() - Method in class javassist.CtField
-
Returns the character string representing the type of the field.
- getSignature() - Method in class javassist.CtMember
-
Returns the character string representing the signature of the member.
- getSignature() - Method in class javassist.expr.FieldAccess
-
Returns the signature of the field type.
- getSignature() - Method in class javassist.expr.MethodCall
-
Returns the method signature (the parameter types
and the return type).
- getSignature() - Method in class javassist.expr.NewExpr
-
Get the signature of the constructor
The signature is represented by a character string
called method descriptor, which is defined in the JVM specification.
- getSimpleName() - Method in class javassist.CtClass
-
Obtains the not-qualified class name.
- getSize() - Method in class javassist.bytecode.analysis.MultiArrayType
-
- getSize() - Method in class javassist.bytecode.analysis.MultiType
-
Always returns 1, since this type is a reference.
- getSize() - Method in class javassist.bytecode.analysis.Type
-
Gets the word size of this type.
- getSize() - Method in class javassist.bytecode.ConstPool
-
Returns the number of entries in this table.
- getSourceFile() - Method in class javassist.bytecode.ClassFile
-
Returns the source file containing this class.
- getStack(int) - Method in class javassist.bytecode.analysis.Frame
-
Returns the type on the stack at the specified index.
- getStackDepth() - Method in class javassist.bytecode.Bytecode
-
Returns the current stack depth.
- GETSTATIC - Static variable in interface javassist.bytecode.Opcode
-
- getStaticInitializer() - Method in class javassist.bytecode.ClassFile
-
Returns a static initializer (class initializer), or null if it does not
exist.
- getStringInfo(int) - Method in class javassist.bytecode.ConstPool
-
Reads CONSTANT_String_info
structure
at the given index.
- getSuperclass() - Method in class javassist.bytecode.ClassFile
-
Returns the super class name.
- getSuperClass() - Method in class javassist.bytecode.SignatureAttribute.ClassSignature
-
Returns the super class.
- getSuperclass() - Method in class javassist.CtClass
-
Obtains the class object representing the superclass of the
class.
- getSuperclass() - Method in class javassist.util.proxy.ProxyFactory
-
Obtains the super class set by setSuperclass()
.
- getSuperclassId() - Method in class javassist.bytecode.ClassFile
-
Returns the index of the constant pool entry representing the super
class.
- getTag(int) - Method in class javassist.bytecode.ConstPool
-
Returns the tag
field of the constant pool table
entry at the given index.
- getter(String, CtField) - Static method in class javassist.CtNewMethod
-
Creates a public getter method.
- getThisClassInfo() - Method in class javassist.bytecode.ConstPool
-
Returns the index of CONSTANT_Class_info
structure
specifying the class using this constant pool table.
- getTopIndex() - Method in class javassist.bytecode.analysis.Frame
-
Gets the index of the type sitting at the top of the stack.
- getType() - Method in class javassist.bytecode.annotation.ArrayMemberValue
-
Obtains the type of the elements.
- getType() - Method in class javassist.bytecode.annotation.EnumMemberValue
-
Obtains the enum type name.
- getType() - Method in class javassist.bytecode.SignatureAttribute.TypeArgument
-
Returns the type represented by this argument
if the argument is not a wildcard type.
- getType() - Method in class javassist.CtField
-
Returns the type of the field.
- getType() - Method in class javassist.expr.Cast
-
Returns the CtClass
object representing
the type specified by the cast.
- getType() - Method in class javassist.expr.Handler
-
Returns the type handled by the catch clause.
- getType() - Method in class javassist.expr.Instanceof
-
Returns the CtClass
object representing
the type name on the right hand side
of the instanceof operator.
- getType(String) - Static method in class javassist.runtime.Desc
-
Interprets the given type descriptor.
- getTypeArguments() - Method in class javassist.bytecode.SignatureAttribute.ClassType
-
Returns the type arguments.
- getTypeName() - Method in class javassist.bytecode.annotation.Annotation
-
Obtains the name of the annotation type.
- getTypeName() - Method in class javassist.bytecode.annotation.AnnotationImpl
-
Obtains the name of the annotation type.
- getTypeParameters() - Method in class javassist.bytecode.SignatureAttribute.MethodSignature
-
Returns the formal type parameters.
- getURL() - Method in class javassist.CtClass
-
Returns the uniform resource locator (URL) of the class file.
- getUtf8Info(int) - Method in class javassist.bytecode.ConstPool
-
Reads CONSTANT_utf8_info
structure
at the given index.
- getValue() - Method in class javassist.bytecode.annotation.AnnotationMemberValue
-
Obtains the value.
- getValue() - Method in class javassist.bytecode.annotation.ArrayMemberValue
-
Obtains the elements of the array.
- getValue() - Method in class javassist.bytecode.annotation.BooleanMemberValue
-
Obtains the value of the member.
- getValue() - Method in class javassist.bytecode.annotation.ByteMemberValue
-
Obtains the value of the member.
- getValue() - Method in class javassist.bytecode.annotation.CharMemberValue
-
Obtains the value of the member.
- getValue() - Method in class javassist.bytecode.annotation.ClassMemberValue
-
Obtains the value of the member.
- getValue() - Method in class javassist.bytecode.annotation.DoubleMemberValue
-
Obtains the value of the member.
- getValue() - Method in class javassist.bytecode.annotation.EnumMemberValue
-
Obtains the name of the enum constant value.
- getValue() - Method in class javassist.bytecode.annotation.FloatMemberValue
-
Obtains the value of the member.
- getValue() - Method in class javassist.bytecode.annotation.IntegerMemberValue
-
Obtains the value of the member.
- getValue() - Method in class javassist.bytecode.annotation.LongMemberValue
-
Obtains the value of the member.
- getValue() - Method in class javassist.bytecode.annotation.ShortMemberValue
-
Obtains the value of the member.
- getValue() - Method in class javassist.bytecode.annotation.StringMemberValue
-
Obtains the value of the member.
- getWrapperName() - Method in class javassist.CtPrimitiveType
-
Returns the name of the wrapper class.
- GOTO - Static variable in interface javassist.bytecode.Opcode
-
- GOTO_W - Static variable in interface javassist.bytecode.Opcode
-
- growStack(int) - Method in class javassist.bytecode.Bytecode
-
Increases the current stack depth.
- I2B - Static variable in interface javassist.bytecode.Opcode
-
- I2C - Static variable in interface javassist.bytecode.Opcode
-
- I2D - Static variable in interface javassist.bytecode.Opcode
-
- I2F - Static variable in interface javassist.bytecode.Opcode
-
- I2L - Static variable in interface javassist.bytecode.Opcode
-
- I2S - Static variable in interface javassist.bytecode.Opcode
-
- IADD - Static variable in interface javassist.bytecode.Opcode
-
- IALOAD - Static variable in interface javassist.bytecode.Opcode
-
- IAND - Static variable in interface javassist.bytecode.Opcode
-
- IASTORE - Static variable in interface javassist.bytecode.Opcode
-
- ICONST_0 - Static variable in interface javassist.bytecode.Opcode
-
- ICONST_1 - Static variable in interface javassist.bytecode.Opcode
-
- ICONST_2 - Static variable in interface javassist.bytecode.Opcode
-
- ICONST_3 - Static variable in interface javassist.bytecode.Opcode
-
- ICONST_4 - Static variable in interface javassist.bytecode.Opcode
-
- ICONST_5 - Static variable in interface javassist.bytecode.Opcode
-
- ICONST_M1 - Static variable in interface javassist.bytecode.Opcode
-
- IDIV - Static variable in interface javassist.bytecode.Opcode
-
- IF_ACMPEQ - Static variable in interface javassist.bytecode.Opcode
-
- IF_ACMPNE - Static variable in interface javassist.bytecode.Opcode
-
- IF_ICMPEQ - Static variable in interface javassist.bytecode.Opcode
-
- IF_ICMPGE - Static variable in interface javassist.bytecode.Opcode
-
- IF_ICMPGT - Static variable in interface javassist.bytecode.Opcode
-
- IF_ICMPLE - Static variable in interface javassist.bytecode.Opcode
-
- IF_ICMPLT - Static variable in interface javassist.bytecode.Opcode
-
- IF_ICMPNE - Static variable in interface javassist.bytecode.Opcode
-
- IFEQ - Static variable in interface javassist.bytecode.Opcode
-
- IFGE - Static variable in interface javassist.bytecode.Opcode
-
- IFGT - Static variable in interface javassist.bytecode.Opcode
-
- IFLE - Static variable in interface javassist.bytecode.Opcode
-
- IFLT - Static variable in interface javassist.bytecode.Opcode
-
- IFNE - Static variable in interface javassist.bytecode.Opcode
-
- IFNONNULL - Static variable in interface javassist.bytecode.Opcode
-
- IFNULL - Static variable in interface javassist.bytecode.Opcode
-
- IINC - Static variable in interface javassist.bytecode.Opcode
-
- ILOAD - Static variable in interface javassist.bytecode.Opcode
-
- ILOAD_0 - Static variable in interface javassist.bytecode.Opcode
-
- ILOAD_1 - Static variable in interface javassist.bytecode.Opcode
-
- ILOAD_2 - Static variable in interface javassist.bytecode.Opcode
-
- ILOAD_3 - Static variable in interface javassist.bytecode.Opcode
-
- importPackage(String) - Method in class javassist.ClassPool
-
Record a package name so that the Javassist compiler searches
the package to resolve a class name.
- IMUL - Static variable in interface javassist.bytecode.Opcode
-
- incMaxLocals(int) - Method in class javassist.bytecode.Bytecode
-
Increments max_locals
.
- incoming(int) - Method in class javassist.bytecode.analysis.ControlFlow.Block
-
Returns the block that the control may jump into this block from.
- incomings() - Method in class javassist.bytecode.analysis.ControlFlow.Block
-
Returns the number of the control paths entering this block.
- index() - Method in class javassist.bytecode.analysis.ControlFlow.Block
-
Returns the position of this block in the array of
basic blocks that the basicBlocks
method
returns.
- index - Variable in class javassist.bytecode.LineNumberAttribute.Pc
-
The index into the code array.
- index(int) - Method in class javassist.bytecode.LocalVariableAttribute
-
Returns local_variable_table[i].index
.
- indexOfBytecode() - Method in class javassist.expr.Expr
-
Returns the index of the bytecode corresponding to the expression.
- INEG - Static variable in interface javassist.bytecode.Opcode
-
- initCause(Throwable) - Method in exception javassist.CannotCompileException
-
Initializes the cause of this throwable.
- Initializer() - Constructor for class javassist.CtField.Initializer
-
- Inner - Class in javassist.runtime
-
A support class for compiling a method declared in an inner class.
- Inner() - Constructor for class javassist.runtime.Inner
-
- innerClass(int) - Method in class javassist.bytecode.InnerClassesAttribute
-
Returns the class name indicated
by classes[nth].inner_class_info_index
.
- InnerClassesAttribute - Class in javassist.bytecode
-
InnerClasses_attribute
.
- InnerClassesAttribute(ConstPool) - Constructor for class javassist.bytecode.InnerClassesAttribute
-
Constructs an empty InnerClasses attribute.
- innerClassIndex(int) - Method in class javassist.bytecode.InnerClassesAttribute
-
Returns classes[nth].inner_class_info_index
.
- innerName(int) - Method in class javassist.bytecode.InnerClassesAttribute
-
Returns the simple class name indicated
by classes[nth].inner_name_index
.
- innerNameIndex(int) - Method in class javassist.bytecode.InnerClassesAttribute
-
Returns classes[nth].inner_name_index
.
- insert(byte[]) - Method in class javassist.bytecode.CodeIterator
-
Inserts the given bytecode sequence
before the next instruction that would be returned by
next()
(not before the instruction returned
by the last call to next()
).
- insert(int, byte[]) - Method in class javassist.bytecode.CodeIterator
-
Inserts the given bytecode sequence
before the instruction at the given index pos
.
- insert(ExceptionTable, int) - Method in class javassist.bytecode.CodeIterator
-
Copies and inserts the entries in the given exception table
at the beginning of the exception table in the code attribute
edited by this object.
- insertAfter(String) - Method in class javassist.CtBehavior
-
Inserts bytecode at the end of the body.
- insertAfter(String, boolean) - Method in class javassist.CtBehavior
-
Inserts bytecode at the end of the body.
- insertAfter(CtBehavior, Callback) - Static method in class javassist.tools.Callback
-
Utility method to inserts callback at the end of the body.
- insertAfter(CtBehavior, Callback, boolean) - Static method in class javassist.tools.Callback
-
Utility method to inserts callback at the end of the body.
- insertAfterMethod(CtMethod, CtMethod) - Method in class javassist.CodeConverter
-
Inserts a call to another method after an existing method call.
- insertAt(int, byte[]) - Method in class javassist.bytecode.CodeIterator
-
Inserts the given bytecode sequence
before the instruction at the given index pos
.
- insertAt(int, String) - Method in class javassist.CtBehavior
-
Inserts bytecode at the specified line in the body.
- insertAt(int, boolean, String) - Method in class javassist.CtBehavior
-
Inserts bytecode at the specified line in the body.
- insertAt(CtBehavior, Callback, int) - Static method in class javassist.tools.Callback
-
Utility method to inserts callback at the specified line in the body.
- insertBefore(String) - Method in class javassist.CtBehavior
-
Inserts bytecode at the beginning of the body.
- insertBefore(String) - Method in class javassist.expr.Handler
-
Inserts bytecode at the beginning of the catch clause.
- insertBefore(CtBehavior, Callback) - Static method in class javassist.tools.Callback
-
Utility method to insert callback at the beginning of the body.
- insertBeforeBody(String) - Method in class javassist.CtConstructor
-
Inserts bytecode just after another constructor in the super class
or this class is called.
- insertBeforeMethod(CtMethod, CtMethod) - Method in class javassist.CodeConverter
-
Insert a call to another method before an existing method call.
- insertClassPath(ClassPath) - Method in class javassist.ClassPool
-
Insert a ClassPath
object at the head of the
search path.
- insertClassPath(String) - Method in class javassist.ClassPool
-
Inserts a directory or a jar (or zip) file at the head of the
search path.
- insertEx(byte[]) - Method in class javassist.bytecode.CodeIterator
-
Inserts the given bytecode sequence exclusively
before the next instruction that would be returned by
next()
(not before the instruction returned
by tha last call to next()
).
- insertEx(int, byte[]) - Method in class javassist.bytecode.CodeIterator
-
Inserts the given bytecode sequence exclusively
before the instruction at the given index pos
.
- insertExAt(int, byte[]) - Method in class javassist.bytecode.CodeIterator
-
Inserts the given bytecode sequence exclusively
before the instruction at the given index pos
.
- insertExGap(int) - Method in class javassist.bytecode.CodeIterator
-
Inserts an exclusive gap
before the next instruction that would be returned by
next()
(not before the instruction returned
by the last call to next()
).
- insertExGap(int, int) - Method in class javassist.bytecode.CodeIterator
-
Inserts an exclusive gap in front of the instruction at the given
index pos
.
- insertGap(int) - Method in class javassist.bytecode.CodeIterator
-
Inserts a gap
before the next instruction that would be returned by
next()
(not before the instruction returned
by the last call to next()
).
- insertGap(int, int) - Method in class javassist.bytecode.CodeIterator
-
Inserts a gap in front of the instruction at the given
index pos
.
- insertGapAt(int, int, boolean) - Method in class javassist.bytecode.CodeIterator
-
Inserts an inclusive or exclusive gap in front of the instruction
at the given index pos
.
- insertLocal(int, int, int) - Method in class javassist.bytecode.StackMap
-
Updates this stack map table when a new local variable is inserted
for a new parameter.
- insertLocal(int, int, int) - Method in class javassist.bytecode.StackMapTable
-
Updates this stack map table when a new local variable is inserted
for a new parameter.
- insertLocalVar(int, int) - Method in class javassist.bytecode.CodeAttribute
-
Changes the index numbers of the local variables
to append a new parameter.
- insertParameter(String, String) - Static method in class javassist.bytecode.Descriptor
-
Inserts a parameter type at the beginning of the parameter
list represented
by the given descriptor.
- insertParameter(CtClass, String) - Static method in class javassist.bytecode.Descriptor
-
Inserts a parameter type at the beginning of the parameter
list represented
by the given descriptor.
- insertParameter(CtClass) - Method in class javassist.CtBehavior
-
Inserts a new parameter, which becomes the first parameter.
- INSTANCEOF - Static variable in interface javassist.bytecode.Opcode
-
- Instanceof - Class in javassist.expr
-
Instanceof operator.
- InstructionPrinter - Class in javassist.bytecode
-
Simple utility class for printing the bytecode instructions of a method.
- InstructionPrinter(PrintStream) - Constructor for class javassist.bytecode.InstructionPrinter
-
Constructs a InstructionPrinter
object.
- instructionString(CodeIterator, int, ConstPool) - Static method in class javassist.bytecode.InstructionPrinter
-
Gets a string representation of the bytecode instruction at the specified
position.
- instrument(CodeConverter) - Method in class javassist.CtBehavior
-
Modifies the method/constructor body.
- instrument(ExprEditor) - Method in class javassist.CtBehavior
-
Modifies the method/constructor body.
- instrument(CodeConverter) - Method in class javassist.CtClass
-
Applies the given converter to all methods and constructors
declared in the class.
- instrument(ExprEditor) - Method in class javassist.CtClass
-
Modifies the bodies of all methods and constructors
declared in the class.
- INTEGER - Static variable in class javassist.bytecode.analysis.Type
-
Represents the integer primitive type
- INTEGER - Static variable in class javassist.bytecode.StackMap
-
Integer_variable_info.tag
.
- INTEGER - Static variable in class javassist.bytecode.StackMapTable
-
Integer_variable_info.tag
.
- integer(int) - Static method in class javassist.CtMethod.ConstParameter
-
Makes an integer constant.
- integer(long) - Static method in class javassist.CtMethod.ConstParameter
-
Makes a long integer constant.
- IntegerMemberValue - Class in javassist.bytecode.annotation
-
Integer constant value.
- IntegerMemberValue(int, ConstPool) - Constructor for class javassist.bytecode.annotation.IntegerMemberValue
-
Constructs an int constant value.
- IntegerMemberValue(ConstPool, int) - Constructor for class javassist.bytecode.annotation.IntegerMemberValue
-
Constructs an int constant value.
- IntegerMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.IntegerMemberValue
-
Constructs an int constant value.
- INTERFACE - Static variable in class javassist.bytecode.AccessFlag
-
- INTERFACE - Static variable in class javassist.Modifier
-
- intRead() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
Returns the name of a static method with the signature
(Ljava/lang/Object;I)I
to replace reading from a int[].
- intRead() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
Returns "arrayReadInt" as the name of the static method with the signature
(Ljava/lang/Object;I)I to replace reading from a int[].
- intType - Static variable in class javassist.CtClass
-
The CtClass
object representing
the int
type.
- intWrite() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
Returns the name of a static method with the signature
(Ljava/lang/Object;II)V
to replace writing to a int[].
- intWrite() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
Returns "arrayWriteInt" as the name of the static method with the signature
(Ljava/lang/Object;II)V to replace writing to a int[].
- invisibleTag - Static variable in class javassist.bytecode.AnnotationsAttribute
-
The name of the RuntimeInvisibleAnnotations
attribute.
- invisibleTag - Static variable in class javassist.bytecode.ParameterAnnotationsAttribute
-
The name of the RuntimeInvisibleParameterAnnotations
attribute.
- invisibleTag - Static variable in class javassist.bytecode.TypeAnnotationsAttribute
-
The name of the RuntimeInvisibleTypeAnnotations
attribute.
- invoke(Object, Method, Object[]) - Method in class javassist.bytecode.annotation.AnnotationImpl
-
Executes a method invocation on a proxy instance.
- invoke(Object, int, Object[]) - Static method in class javassist.tools.reflect.ClassMetaobject
-
Invokes a method whose name begins with
methodPrefix "_m_"
and the identifier.
- invoke(Object, Method, Method, Object[]) - Method in interface javassist.util.proxy.MethodHandler
-
Is called when a method is invoked on a proxy instance associated
with this handler.
- INVOKEDYNAMIC - Static variable in interface javassist.bytecode.Opcode
-
- INVOKEINTERFACE - Static variable in interface javassist.bytecode.Opcode
-
- INVOKESPECIAL - Static variable in interface javassist.bytecode.Opcode
-
- INVOKESTATIC - Static variable in interface javassist.bytecode.Opcode
-
- INVOKEVIRTUAL - Static variable in interface javassist.bytecode.Opcode
-
- IOR - Static variable in interface javassist.bytecode.Opcode
-
- IREM - Static variable in interface javassist.bytecode.Opcode
-
- IRETURN - Static variable in interface javassist.bytecode.Opcode
-
- is2byte() - Method in class javassist.bytecode.Descriptor.Iterator
-
Returns true if the current element is double or long type.
- isAbstract() - Method in class javassist.bytecode.ClassFile
-
Returns true if this is an abstract class or an interface.
- isAbstract(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers include the abstract
modifier.
- isAccessed(int) - Method in class javassist.bytecode.analysis.Subroutine
-
- isAnnotation() - Method in class javassist.CtClass
-
Determines whether this object represents an annotation type.
- isAnnotation(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers include the annotation
modifier.
- isArray() - Method in class javassist.bytecode.analysis.MultiArrayType
-
- isArray() - Method in class javassist.bytecode.analysis.MultiType
-
Always reutnrs false since this type is never used for an array
- isArray() - Method in class javassist.bytecode.analysis.Type
-
Returns whether or not this type is an array.
- isArray() - Method in class javassist.CtClass
-
Returns true
if this object represents an array type.
- isAssignableFrom(Type) - Method in class javassist.bytecode.analysis.MultiArrayType
-
- isAssignableFrom(Type) - Method in class javassist.bytecode.analysis.MultiType
-
- isAssignableFrom(Type) - Method in class javassist.bytecode.analysis.Type
-
Determines whether this type is assignable, to the passed type.
- isAssignableTo(Type) - Method in class javassist.bytecode.analysis.MultiArrayType
-
- isAssignableTo(Type) - Method in class javassist.bytecode.analysis.MultiType
-
- isClassInitializer() - Method in class javassist.CtConstructor
-
Returns true if this object represents a static initializer.
- isConstructor(String, int) - Method in class javassist.bytecode.ConstPool
-
Determines whether CONSTANT_Methodref_info
structure at the given index represents the constructor
of the given class.
- isConstructor() - Method in class javassist.bytecode.MethodInfo
-
Returns true if this is a constructor.
- isConstructor() - Method in class javassist.CtConstructor
-
Returns true if this object represents a constructor.
- isEmpty() - Method in class javassist.CtBehavior
-
Returns true if the body is empty.
- isEmpty() - Method in class javassist.CtConstructor
-
Returns true if the constructor (or static initializer)
is the default one.
- isEmpty() - Method in class javassist.CtMethod
-
Returns true if the method body is empty, that is, {}
.
- isEnum() - Method in class javassist.CtClass
-
Determines whether this object represents an enum.
- isEnum(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers include the enum
modifier.
- isFinal() - Method in class javassist.bytecode.ClassFile
-
Returns true if this is a final class or interface.
- isFinal(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers include the final
modifier.
- isFinally() - Method in class javassist.expr.Handler
-
Returns true if this is a finally
block.
- isFrozen() - Method in class javassist.CtClass
-
Returns true if the class has been loaded or written out
and thus it cannot be modified any more.
- isGoto(int) - Static method in class javassist.bytecode.analysis.Util
-
- isHandled(Method) - Method in interface javassist.util.proxy.MethodFilter
-
Returns true if the given method is implemented by a handler.
- ISHL - Static variable in interface javassist.bytecode.Opcode
-
- ISHR - Static variable in interface javassist.bytecode.Opcode
-
- isInstance(Object) - Method in class javassist.tools.reflect.ClassMetaobject
-
Returns true if obj
is an instance of this class.
- isInterface() - Method in class javassist.bytecode.ClassFile
-
Returns true if this is an interface.
- isInterface() - Method in class javassist.CtClass
-
Determines whether this object represents a class or an interface.
- isInterface(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers include the interface
modifier.
- isJsr(int) - Static method in class javassist.bytecode.analysis.Util
-
- isJumpInstruction(int) - Static method in class javassist.bytecode.analysis.Util
-
- isMember(String, String, int) - Method in class javassist.bytecode.ConstPool
-
Determines whether CONSTANT_Methodref_info
,
CONSTANT_Fieldref_info
, or
CONSTANT_InterfaceMethodref_info
structure
at the given index represents the member with the specified
name and declaring class.
- isMethod() - Method in class javassist.bytecode.MethodInfo
-
Returns true if this is not a constructor or a class initializer (static
initializer).
- isModified() - Method in class javassist.CtClass
-
Returns true if the definition of the class has been modified.
- isNative(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers include the native
modifier.
- isPackage(int) - Static method in class javassist.bytecode.AccessFlag
-
Returns true if the access flags include neither public, protected,
or private.
- isPackage(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers do not include either
public, protected, or private.
- isParameter() - Method in class javassist.bytecode.Descriptor.Iterator
-
Returns true if the current element is a parameter type.
- 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.
- isPrimitive() - Method in class javassist.CtPrimitiveType
-
Returns true
if this object represents a primitive
Java type: boolean, byte, char, short, int, long, float, double,
or void.
- isPrivate(int) - Static method in class javassist.bytecode.AccessFlag
-
Returns true if the access flags include the private bit.
- isPrivate(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers include the private
modifier.
- isProtected(int) - Static method in class javassist.bytecode.AccessFlag
-
Returns true if the access flags include the protected bit.
- isProtected(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers include the protected
modifier.
- isProxyClass(String) - Method in class javassist.tools.rmi.StubGenerator
-
Returns true
if the specified class is a proxy class
recorded by makeProxyClass()
.
- isProxyClass(Class) - Static method in class javassist.util.proxy.ProxyFactory
-
determine if a class is a javassist proxy class
- isPublic(int) - Static method in class javassist.bytecode.AccessFlag
-
Returns true if the access flags include the public bit.
- isPublic(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers include the public
modifier.
- isReader() - Method in class javassist.expr.FieldAccess
-
Returns true if the field is read.
- isReference() - Method in class javassist.bytecode.analysis.MultiArrayType
-
- isReference() - Method in class javassist.bytecode.analysis.MultiType
-
Always returns true, since this type is always a reference.
- isReference() - Method in class javassist.bytecode.analysis.Type
-
Returns whether or not this type is a normal java reference, i.e.
- isReturn(int) - Static method in class javassist.bytecode.analysis.Util
-
- isSpecial() - Method in class javassist.bytecode.analysis.Type
-
Returns whether or not the type is special.
- isStatic() - Method in class javassist.expr.FieldAccess
-
Returns true if the field is static.
- isStatic(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers include the static
modifier.
- isStaticInitializer() - Method in class javassist.bytecode.MethodInfo
-
Returns true if this is a class initializer (static initializer).
- isStrict(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers include the strictfp
modifier.
- isSuper() - Method in class javassist.expr.ConstructorCall
-
Returns true if the called constructor is not this()
but super()
(a constructor declared in the super class).
- isSuper() - Method in class javassist.expr.MethodCall
-
Returns true if the called method is of a superclass of the current
class.
- isSynchronized(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers include the synchronized
modifier.
- ISTORE - Static variable in interface javassist.bytecode.Opcode
-
- ISTORE_0 - Static variable in interface javassist.bytecode.Opcode
-
- ISTORE_1 - Static variable in interface javassist.bytecode.Opcode
-
- ISTORE_2 - Static variable in interface javassist.bytecode.Opcode
-
- ISTORE_3 - Static variable in interface javassist.bytecode.Opcode
-
- isTransient(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers include the transient
modifier.
- ISUB - Static variable in interface javassist.bytecode.Opcode
-
- isUseCache() - Method in class javassist.util.proxy.ProxyFactory
-
test whether this factory uses the proxy cache
- isUseWriteReplace() - Method in class javassist.util.proxy.ProxyFactory
-
test whether this factory installs a writeReplace method in created classes
- isVolatile(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers include the volatile
modifier.
- isWildcard() - Method in class javassist.bytecode.SignatureAttribute.TypeArgument
-
Returns true if this type argument is a wildcard type
such as ?
, ? extends String
, or ? super Integer
.
- isWriter() - Method in class javassist.expr.FieldAccess
-
Returns true if the field is written in.
- iterator() - Method in class javassist.bytecode.CodeAttribute
-
Makes a new iterator for reading this code attribute.
- Iterator(String) - Constructor for class javassist.bytecode.Descriptor.Iterator
-
Constructs an iterator.
- IUSHR - Static variable in interface javassist.bytecode.Opcode
-
- IXOR - Static variable in interface javassist.bytecode.Opcode
-
- s16bitAt(int) - Method in class javassist.bytecode.CodeIterator
-
Returns the signed 16bit value at the given index.
- s32bitAt(int) - Method in class javassist.bytecode.CodeIterator
-
Returns the signed 32bit value at the given index.
- SALOAD - Static variable in interface javassist.bytecode.Opcode
-
- sameFrame(int, int) - Method in class javassist.bytecode.StackMapTable.Walker
-
Invoked if the visited frame is a same_frame
or
a same_frame_extended
.
- sameFrame(int) - Method in class javassist.bytecode.StackMapTable.Writer
-
Writes a same_frame
or a same_frame_extended
.
- sameLocals(int, int, int, int) - Method in class javassist.bytecode.StackMapTable.Walker
-
Invoked if the visited frame is a same_locals_1_stack_item_frame
or a same_locals_1_stack_item_frame_extended
.
- sameLocals(int, int, int) - Method in class javassist.bytecode.StackMapTable.Writer
-
Writes a same_locals_1_stack_item
or a same_locals_1_stack_item_extended
.
- Sample - Class in javassist.tools.reflect
-
A template used for defining a reflective class.
- Sample() - Constructor for class javassist.tools.reflect.Sample
-
- Sample - Class in javassist.tools.rmi
-
A template used for defining a proxy class.
- Sample() - Constructor for class javassist.tools.rmi.Sample
-
- SASTORE - Static variable in interface javassist.bytecode.Opcode
-
- scan(MethodInfo) - Method in class javassist.bytecode.analysis.SubroutineScanner
-
- SERIALIZABLE - Static variable in class javassist.bytecode.analysis.Type
-
Represents the java.io.Serializable reference type
- SerialVersionUID - Class in javassist
-
Utility for calculating serialVersionUIDs for Serializable classes.
- SerialVersionUID() - Constructor for class javassist.SerialVersionUID
-
- set(byte[]) - Method in class javassist.bytecode.AttributeInfo
-
Sets the info
field
of this attribute_info
structure.
- set(byte[]) - Method in class javassist.bytecode.CodeAttribute
-
This method is not available.
- setAccessFlags(int) - Method in class javassist.bytecode.ClassFile
-
Changes access flags.
- setAccessFlags(int) - Method in class javassist.bytecode.FieldInfo
-
Sets the access flags.
- setAccessFlags(int, int) - Method in class javassist.bytecode.InnerClassesAttribute
-
Sets classes[nth].inner_class_access_flags
to
the given index.
- setAccessFlags(int) - Method in class javassist.bytecode.MethodInfo
-
Sets access flags.
- setAnnotation(Annotation) - Method in class javassist.bytecode.AnnotationsAttribute
-
Changes the annotations.
- setAnnotations(Annotation[]) - Method in class javassist.bytecode.AnnotationsAttribute
-
Changes the annotations represented by this object according to
the given array of Annotation
objects.
- setAnnotations(Annotation[][]) - Method in class javassist.bytecode.ParameterAnnotationsAttribute
-
Changes the annotations represented by this object according to
the given array of Annotation
objects.
- setAttribute(StackMapTable) - Method in class javassist.bytecode.CodeAttribute
-
Adds a stack map table.
- setAttribute(StackMap) - Method in class javassist.bytecode.CodeAttribute
-
Adds a stack map table for J2ME (CLDC).
- setAttribute(String, byte[]) - Method in class javassist.CtBehavior
-
Adds an attribute.
- setAttribute(String, byte[]) - Method in class javassist.CtClass
-
Adds a named attribute.
- setAttribute(String, byte[]) - Method in class javassist.CtField
-
Adds an attribute.
- setAttribute(String, byte[]) - Method in class javassist.CtMember
-
Adds a user-defined attribute.
- setBody(String) - Method in class javassist.CtBehavior
-
Sets a method/constructor body.
- setBody(String, String, String) - Method in class javassist.CtBehavior
-
Sets a method/constructor body.
- setBody(String) - Method in class javassist.CtConstructor
-
Sets a constructor body.
- setBody(CtConstructor, ClassMap) - Method in class javassist.CtConstructor
-
Copies a constructor body from another constructor.
- setBody(CtMethod, ClassMap) - Method in class javassist.CtMethod
-
Copies a method body from another method.
- setCatchType(int, int) - Method in class javassist.bytecode.ExceptionTable
-
Sets catchType
of the n-th entry.
- setClassLoader(ClassLoader) - Method in class javassist.util.proxy.ProxyObjectInputStream
-
Reset the loader to be
- setClassPool(ClassPool) - Method in class javassist.Loader
-
Sets the soruce ClassPool
.
- setClassPool(ClassPool) - Method in class javassist.tools.web.Webserver
-
Requests the web server to use the specified
ClassPool
object for obtaining a class file.
- setCodeAttribute(CodeAttribute) - Method in class javassist.bytecode.MethodInfo
-
Adds a Code attribute.
- setDefaultValue(MemberValue) - Method in class javassist.bytecode.AnnotationDefaultAttribute
-
Changes the default value represented by this attribute.
- setDescriptor(String) - Method in class javassist.bytecode.FieldInfo
-
Sets the field descriptor.
- setDescriptor(String) - Method in class javassist.bytecode.MethodInfo
-
Sets a method descriptor.
- setDomain(ProtectionDomain) - Method in class javassist.Loader
-
Sets the protection domain for the classes handled by this class
loader.
- setEndPc(int, int) - Method in class javassist.bytecode.ExceptionTable
-
Sets endPc
of the n-th entry.
- setExceptionIndexes(int[]) - Method in class javassist.bytecode.ExceptionsAttribute
-
Sets exception_index_table[]
.
- setExceptions(String[]) - Method in class javassist.bytecode.ExceptionsAttribute
-
Sets the names of exceptions that the method may throw.
- setExceptionsAttribute(ExceptionsAttribute) - Method in class javassist.bytecode.MethodInfo
-
Adds an Exception attribute.
- setExceptionTypes(CtClass[]) - Method in class javassist.CtBehavior
-
Sets exceptions that this method/constructor may throw.
- setFilter(MethodFilter) - Method in class javassist.util.proxy.ProxyFactory
-
Sets a filter that selects the methods that will be controlled by a handler.
- setGenericSignature(String) - Method in class javassist.CtBehavior
-
Set the generic signature of the method.
- setGenericSignature(String) - Method in class javassist.CtClass
-
Sets the generic signature of the class.
- setGenericSignature(String) - Method in class javassist.CtField
-
Set the generic signature of the field.
- setGenericSignature(String) - Method in class javassist.CtMember
-
Sets the generic signature of the member.
- setHandler(MethodHandler) - Method in interface javassist.util.proxy.Proxy
-
Sets a handler.
- setHandler(MethodHandler) - Method in class javassist.util.proxy.ProxyFactory
-
- setHandler(MethodHandler) - Method in interface javassist.util.proxy.ProxyObject
-
Sets a handler.
- setHandlerPc(int, int) - Method in class javassist.bytecode.ExceptionTable
-
Sets handlerPc
of the n-th entry.
- setHttpProxy(String, int) - Method in class javassist.tools.rmi.ObjectImporter
-
Sets an http proxy server.
- setInnerClassIndex(int, int) - Method in class javassist.bytecode.InnerClassesAttribute
-
Sets classes[nth].inner_class_info_index
to
the given index.
- setInnerNameIndex(int, int) - Method in class javassist.bytecode.InnerClassesAttribute
-
Sets classes[nth].inner_name_index
to
the given index.
- setInterfaces(String[]) - Method in class javassist.bytecode.ClassFile
-
Sets the interfaces.
- setInterfaces(CtClass[]) - Method in class javassist.CtClass
-
Sets implemented interfaces.
- setInterfaces(Class[]) - Method in class javassist.util.proxy.ProxyFactory
-
Sets the interfaces of a proxy class.
- setLocal(int, Type) - Method in class javassist.bytecode.analysis.Frame
-
Sets the local variable table entry at index to a type.
- setMajorVersion(int) - Method in class javassist.bytecode.ClassFile
-
Set the major version.
- setMark(int) - Method in class javassist.bytecode.CodeIterator
-
Sets a mark to the bytecode at the given index.
- setMaxLocals(int) - Method in class javassist.bytecode.Bytecode
-
Sets max_locals
.
- setMaxLocals(boolean, CtClass[], int) - Method in class javassist.bytecode.Bytecode
-
Sets max_locals
.
- setMaxLocals(int) - Method in class javassist.bytecode.CodeAttribute
-
Sets max_locals
.
- setMaxStack(int) - Method in class javassist.bytecode.Bytecode
-
Sets max_stack
.
- setMaxStack(int) - Method in class javassist.bytecode.CodeAttribute
-
Sets max_stack
.
- setMinorVersion(int) - Method in class javassist.bytecode.ClassFile
-
Set the minor version.
- setModifiers(int) - Method in class javassist.CtBehavior
-
Sets the encoded modifiers of the method/constructor.
- setModifiers(int) - Method in class javassist.CtClass
-
Sets the modifiers.
- setModifiers(int) - Method in class javassist.CtField
-
Sets the encoded modifiers of the field.
- setModifiers(int) - Method in class javassist.CtMember
-
Sets the encoded modifiers of the member.
- setName(String) - Method in class javassist.bytecode.ClassFile
-
Sets the class name.
- setName(String) - Method in class javassist.bytecode.FieldInfo
-
Sets the field name.
- setName(String) - Method in class javassist.bytecode.MethodInfo
-
Sets a method name.
- setName(String) - Method in class javassist.CtClass
-
Sets the class name
- setName(String) - Method in class javassist.CtField
-
Changes the name of the field.
- setName(String) - Method in class javassist.CtMethod
-
Changes the name of this method.
- setObject(Object) - Method in class javassist.tools.reflect.Metaobject
-
Changes the object controlled by this metaobject.
- setOuterClassIndex(int, int) - Method in class javassist.bytecode.InnerClassesAttribute
-
Sets classes[nth].outer_class_info_index
to
the given index.
- setPackage(int) - Static method in class javassist.bytecode.AccessFlag
-
Clears the public, protected, and private bits.
- setPackage(int) - Static method in class javassist.Modifier
-
Clears the public, protected, and private bits.
- setPrivate(int) - Static method in class javassist.bytecode.AccessFlag
-
Truns the private bit on.
- setPrivate(int) - Static method in class javassist.Modifier
-
Truns the private bit on.
- setProtected(int) - Static method in class javassist.bytecode.AccessFlag
-
Truns the protected bit on.
- setProtected(int) - Static method in class javassist.Modifier
-
Truns the protected bit on.
- setPublic(int) - Static method in class javassist.bytecode.AccessFlag
-
Truns the public bit on.
- setPublic(int) - Static method in class javassist.Modifier
-
Truns the public bit on.
- setSerialVersionUID(CtClass) - Static method in class javassist.SerialVersionUID
-
Adds serialVersionUID if one does not already exist.
- setSignature(String) - Method in class javassist.bytecode.SignatureAttribute
-
Sets signature_index
to the index of the given generic signature,
which is added to a constant pool.
- setStack(int, Type) - Method in class javassist.bytecode.analysis.Frame
-
Sets the type of the stack position
- setStackDepth(int) - Method in class javassist.bytecode.Bytecode
-
Sets the current stack depth.
- setStartPc(int, int) - Method in class javassist.bytecode.ExceptionTable
-
Sets startPc
of the n-th entry.
- setSuperclass(String) - Method in class javassist.bytecode.ClassFile
-
Sets the super class.
- setSuperclass(String) - Method in class javassist.bytecode.MethodInfo
-
Changes a super constructor called by this constructor.
- setSuperclass(CtClass) - Method in class javassist.CtClass
-
Changes a super class unless this object represents an interface.
- setSuperclass(Class) - Method in class javassist.util.proxy.ProxyFactory
-
Sets the super class of a proxy class.
- setter(String, CtField) - Static method in class javassist.CtNewMethod
-
Creates a public setter method.
- setType(String) - Method in class javassist.bytecode.annotation.EnumMemberValue
-
Changes the enum type name.
- setType(CtClass) - Method in class javassist.CtField
-
Sets the type of the field.
- setUseCache(boolean) - Method in class javassist.util.proxy.ProxyFactory
-
configure whether this factory should use the proxy cache
- setUseWriteReplace(boolean) - Method in class javassist.util.proxy.ProxyFactory
-
configure whether this factory should add a writeReplace method to created classes
- setValue(Annotation) - Method in class javassist.bytecode.annotation.AnnotationMemberValue
-
Sets the value of this member.
- setValue(MemberValue[]) - Method in class javassist.bytecode.annotation.ArrayMemberValue
-
Sets the elements of the array.
- setValue(boolean) - Method in class javassist.bytecode.annotation.BooleanMemberValue
-
Sets the value of the member.
- setValue(byte) - Method in class javassist.bytecode.annotation.ByteMemberValue
-
Sets the value of the member.
- setValue(char) - Method in class javassist.bytecode.annotation.CharMemberValue
-
Sets the value of the member.
- setValue(String) - Method in class javassist.bytecode.annotation.ClassMemberValue
-
Sets the value of the member.
- setValue(double) - Method in class javassist.bytecode.annotation.DoubleMemberValue
-
Sets the value of the member.
- setValue(String) - Method in class javassist.bytecode.annotation.EnumMemberValue
-
Changes the name of the enum constant value.
- setValue(float) - Method in class javassist.bytecode.annotation.FloatMemberValue
-
Sets the value of the member.
- setValue(int) - Method in class javassist.bytecode.annotation.IntegerMemberValue
-
Sets the value of the member.
- setValue(long) - Method in class javassist.bytecode.annotation.LongMemberValue
-
Sets the value of the member.
- setValue(short) - Method in class javassist.bytecode.annotation.ShortMemberValue
-
Sets the value of the member.
- setValue(String) - Method in class javassist.bytecode.annotation.StringMemberValue
-
Sets the value of the member.
- setVersionToJava5() - Method in class javassist.bytecode.ClassFile
-
Sets the major and minor version to Java 5.
- setWrappedBody(CtMethod, CtMethod.ConstParameter) - Method in class javassist.CtMethod
-
Replace a method body with a new method body wrapping the
given method.
- shiftIndex(int, int) - Method in class javassist.bytecode.LocalVariableAttribute
-
For each local_variable_table[i].index
,
this method increases index
by delta
.
- SHORT - Static variable in class javassist.bytecode.analysis.Type
-
Represents the short primitive type
- ShortMemberValue - Class in javassist.bytecode.annotation
-
Short integer constant value.
- ShortMemberValue(int, ConstPool) - Constructor for class javassist.bytecode.annotation.ShortMemberValue
-
Constructs a short constant value.
- ShortMemberValue(short, ConstPool) - Constructor for class javassist.bytecode.annotation.ShortMemberValue
-
Constructs a short constant value.
- ShortMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.ShortMemberValue
-
Constructs a short constant value.
- shortRead() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
Returns the name of a static method with the signature
(Ljava/lang/Object;I)S
to replace reading from a short[].
- shortRead() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
Returns "arrayReadShort" as the name of the static method with the signature
(Ljava/lang/Object;I)S to replace reading from a short[].
- shortType - Static variable in class javassist.CtClass
-
The CtClass
object representing
the short
type.
- shortWrite() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
Returns the name of a static method with the signature
(Ljava/lang/Object;IS)V
to replace writing to a short[].
- shortWrite() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
Returns "arrayWriteShort" as the name of the static method with the signature
(Ljava/lang/Object;IS)V to replace writing to a short[].
- signature(int) - Method in class javassist.bytecode.LocalVariableAttribute
-
This method is equivalent to descriptor()
.
- SignatureAttribute - Class in javassist.bytecode
-
Signature_attribute
.
- SignatureAttribute(ConstPool, String) - Constructor for class javassist.bytecode.SignatureAttribute
-
Constructs a Signature
attribute.
- SignatureAttribute.ArrayType - Class in javassist.bytecode
-
Array types.
- SignatureAttribute.BaseType - Class in javassist.bytecode
-
Primitive types.
- SignatureAttribute.ClassSignature - Class in javassist.bytecode
-
Class signature.
- SignatureAttribute.ClassType - Class in javassist.bytecode
-
Class types.
- SignatureAttribute.MethodSignature - Class in javassist.bytecode
-
Method type signature.
- SignatureAttribute.NestedClassType - Class in javassist.bytecode
-
Nested class types.
- SignatureAttribute.ObjectType - Class in javassist.bytecode
-
Class types, array types, and type variables.
- SignatureAttribute.Type - Class in javassist.bytecode
-
Primitive types and object types.
- SignatureAttribute.TypeArgument - Class in javassist.bytecode
-
Type argument.
- SignatureAttribute.TypeParameter - Class in javassist.bytecode
-
Formal type parameters.
- SignatureAttribute.TypeVariable - Class in javassist.bytecode
-
Type variables.
- signatureIndex(int) - Method in class javassist.bytecode.LocalVariableAttribute
-
This method is equivalent to descriptorIndex()
.
- signedByteAt(int) - Method in class javassist.bytecode.CodeIterator
-
Returns the signed 8bit value at the given index.
- SIPUSH - Static variable in interface javassist.bytecode.Opcode
-
- size() - Method in interface javassist.bytecode.ClassFileWriter.AttributeWriter
-
Returns the number of attributes that this writer will
write.
- size() - Method in class javassist.bytecode.ClassFileWriter.MethodWriter
-
Returns the length of the bytecode that has been added so far.
- size() - Method in class javassist.bytecode.ExceptionTable
-
Returns exception_table_length
, which is the number
of entries in the exception_table[]
.
- size() - Method in class javassist.bytecode.MethodParametersAttribute
-
Returns parameters_count
, which is the number of
parameters.
- size() - Method in class javassist.bytecode.StackMapTable.Walker
-
Returns the number of the entries.
- skeleton(CtClass[], CtClass[], CtClass) - Static method in class javassist.CtNewConstructor
-
Creates a public constructor that only calls a constructor
in the super class.
- skipConstructor() - Method in class javassist.bytecode.CodeIterator
-
Moves to the instruction for
either super()
or this()
.
- skipSuperConstructor() - Method in class javassist.bytecode.CodeIterator
-
Moves to the instruction for super()
.
- skipThisConstructor() - Method in class javassist.bytecode.CodeIterator
-
Moves to the instruction for this()
.
- sourceCode() - Method in class javassist.tools.Callback
-
- SourceFileAttribute - Class in javassist.bytecode
-
SourceFile_attribute
.
- SourceFileAttribute(ConstPool, String) - Constructor for class javassist.bytecode.SourceFileAttribute
-
Constructs a SourceFile attribute.
- stack(int, int, int) - Method in class javassist.bytecode.StackMap.Walker
-
Invoked when stack
of stack_map_frame
is visited.
- STACK_GROW - Static variable in interface javassist.bytecode.Opcode
-
- StackMap - Class in javassist.bytecode
-
Another stack_map
attribute defined in CLDC 1.1 for J2ME.
- StackMap.Walker - Class in javassist.bytecode
-
A code walker for a StackMap attribute.
- StackMap.Writer - Class in javassist.bytecode
-
Internal use only.
- StackMapTable - Class in javassist.bytecode
-
stack_map
attribute.
- StackMapTable.RuntimeCopyException - Exception in javassist.bytecode
-
An exception that may be thrown by copy()
in StackMapTable
.
- StackMapTable.Walker - Class in javassist.bytecode
-
A code walker for a StackMapTable attribute.
- StackMapTable.Writer - Class in javassist.bytecode
-
A writer of stack map tables.
- start() - Method in class javassist.bytecode.analysis.Subroutine
-
- start(ClassPool) - Method in class javassist.tools.reflect.Reflection
-
Initializes the object.
- start(ClassPool) - Method in class javassist.tools.rmi.StubGenerator
-
Initializes the object.
- start(ClassPool) - Method in interface javassist.Translator
-
Is invoked by a Loader
for initialization
when the object is attached to the Loader
object.
- startPc(int) - Method in class javassist.bytecode.ExceptionTable
-
Returns startPc
of the n-th entry.
- startPc(int) - Method in class javassist.bytecode.LineNumberAttribute
-
Returns line_number_table[i].start_pc
.
- startPc(int) - Method in class javassist.bytecode.LocalVariableAttribute
-
Returns local_variable_table[i].start_pc
.
- STATIC - Static variable in class javassist.bytecode.AccessFlag
-
- STATIC - Static variable in class javassist.Modifier
-
- stopPruning(boolean) - Method in class javassist.CtClass
-
Disallows (or allows) automatically pruning this CtClass
object.
- STRICT - Static variable in class javassist.bytecode.AccessFlag
-
- STRICT - Static variable in class javassist.Modifier
-
- string(String) - Static method in class javassist.CtMethod.ConstParameter
-
Makes an String
constant.
- StringMemberValue - Class in javassist.bytecode.annotation
-
String constant value.
- StringMemberValue(int, ConstPool) - Constructor for class javassist.bytecode.annotation.StringMemberValue
-
Constructs a string constant value.
- StringMemberValue(String, ConstPool) - Constructor for class javassist.bytecode.annotation.StringMemberValue
-
Constructs a string constant value.
- StringMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.StringMemberValue
-
Constructs a string constant value.
- StubGenerator - Class in javassist.tools.rmi
-
A stub-code generator.
- StubGenerator() - Constructor for class javassist.tools.rmi.StubGenerator
-
Constructs a stub-code generator.
- subclassOf(SignatureAttribute.ObjectType) - Static method in class javassist.bytecode.SignatureAttribute.TypeArgument
-
A factory method constructing a TypeArgument
with an upper bound.
- subclassOf(CtClass) - Method in class javassist.CtClass
-
Determines whether the class directly or indirectly extends
the given class.
- Subroutine - Class in javassist.bytecode.analysis
-
Represents a nested method subroutine (marked by JSR and RET).
- Subroutine(int, int) - Constructor for class javassist.bytecode.analysis.Subroutine
-
- SubroutineScanner - Class in javassist.bytecode.analysis
-
Discovers the subroutines in a method, and tracks all callers.
- SubroutineScanner() - Constructor for class javassist.bytecode.analysis.SubroutineScanner
-
- subtypeOf(CtClass) - Method in class javassist.CtClass
-
Returns true
if this class extends or implements
clazz
.
- SUPER - Static variable in class javassist.bytecode.AccessFlag
-
- superOf(SignatureAttribute.ObjectType) - Static method in class javassist.bytecode.SignatureAttribute.TypeArgument
-
A factory method constructing a TypeArgument
with an lower bound.
- supertypeTarget(int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
Writes target_type
and supertype_target
of target_info
union.
- SWAP - Static variable in interface javassist.bytecode.Opcode
-
- SYNCHRONIZED - Static variable in class javassist.bytecode.AccessFlag
-
- SYNCHRONIZED - Static variable in class javassist.Modifier
-
- SYNTHETIC - Static variable in class javassist.bytecode.AccessFlag
-
- SyntheticAttribute - Class in javassist.bytecode
-
Synthetic_attribute
.
- SyntheticAttribute(ConstPool) - Constructor for class javassist.bytecode.SyntheticAttribute
-
Constructs a Synthetic attribute.
- T_BOOLEAN - Static variable in interface javassist.bytecode.Opcode
-
- T_BYTE - Static variable in interface javassist.bytecode.Opcode
-
- T_CHAR - Static variable in interface javassist.bytecode.Opcode
-
- T_DOUBLE - Static variable in interface javassist.bytecode.Opcode
-
- T_FLOAT - Static variable in interface javassist.bytecode.Opcode
-
- T_INT - Static variable in interface javassist.bytecode.Opcode
-
- T_LONG - Static variable in interface javassist.bytecode.Opcode
-
- T_SHORT - Static variable in interface javassist.bytecode.Opcode
-
- tableLength() - Method in class javassist.bytecode.ExceptionsAttribute
-
Returns number_of_exceptions
.
- tableLength() - Method in class javassist.bytecode.InnerClassesAttribute
-
Returns number_of_classes
.
- tableLength() - Method in class javassist.bytecode.LineNumberAttribute
-
Returns line_number_table_length
.
- tableLength() - Method in class javassist.bytecode.LocalVariableAttribute
-
Returns local_variable_table_length
.
- TABLESWITCH - Static variable in interface javassist.bytecode.Opcode
-
- tag - Static variable in class javassist.bytecode.AnnotationDefaultAttribute
-
The name of the AnnotationDefault
attribute.
- tag - Static variable in class javassist.bytecode.BootstrapMethodsAttribute
-
The name of this attribute "BootstrapMethods"
.
- tag - Static variable in class javassist.bytecode.CodeAttribute
-
The name of this attribute "Code"
.
- tag - Static variable in class javassist.bytecode.ConstantAttribute
-
The name of this attribute "ConstantValue"
.
- tag - Static variable in class javassist.bytecode.DeprecatedAttribute
-
The name of this attribute "Deprecated"
.
- tag - Static variable in class javassist.bytecode.EnclosingMethodAttribute
-
The name of this attribute "EnclosingMethod"
.
- tag - Static variable in class javassist.bytecode.ExceptionsAttribute
-
The name of this attribute "Exceptions"
.
- tag - Static variable in class javassist.bytecode.InnerClassesAttribute
-
The name of this attribute "InnerClasses"
.
- tag - Static variable in class javassist.bytecode.LineNumberAttribute
-
The name of this attribute "LineNumberTable"
.
- tag - Static variable in class javassist.bytecode.LocalVariableAttribute
-
The name of this attribute "LocalVariableTable"
.
- tag - Static variable in class javassist.bytecode.LocalVariableTypeAttribute
-
The name of the attribute "LocalVariableTypeTable"
.
- tag - Static variable in class javassist.bytecode.MethodParametersAttribute
-
The name of this attribute "MethodParameters"
.
- tag - Static variable in class javassist.bytecode.SignatureAttribute
-
The name of this attribute "Signature"
.
- tag - Static variable in class javassist.bytecode.SourceFileAttribute
-
The name of this attribute "SourceFile"
.
- tag - Static variable in class javassist.bytecode.StackMap
-
The name of this attribute "StackMap"
.
- tag - Static variable in class javassist.bytecode.StackMapTable
-
The name of this attribute "StackMapTable"
.
- tag - Static variable in class javassist.bytecode.SyntheticAttribute
-
The name of this attribute "Synthetic"
.
- THIS - Static variable in class javassist.bytecode.Bytecode
-
Represents the CtClass
file using the
constant pool table given to this Bytecode
object.
- THIS - Static variable in class javassist.bytecode.ConstPool
-
Represents the class using this constant pool table.
- THIS - Static variable in class javassist.bytecode.StackMap
-
UninitializedThis_variable_info.tag
.
- THIS - Static variable in class javassist.bytecode.StackMapTable
-
UninitializedThis_variable_info.tag
.
- THROWABLE - Static variable in class javassist.bytecode.analysis.Type
-
Represents the java.lang.Throwable reference type
- throwsTarget(int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
Writes target_type
and throws_target
of target_info
union.
- toAnnotationType(ClassLoader, ClassPool) - Method in class javassist.bytecode.annotation.Annotation
-
Constructs an annotation-type object representing this annotation.
- toArrayComponent(String, int) - Static method in class javassist.bytecode.Descriptor
-
Returns the descriptor of the type of the array component.
- toByteArray() - Method in class javassist.bytecode.StackMap.Writer
-
Converts the written data into a byte array.
- toByteArray() - Method in class javassist.bytecode.StackMapTable.Writer
-
Returns the stack map table written out.
- toBytecode() - Method in class javassist.CtClass
-
Converts this class to a class file.
- toBytecode(DataOutputStream) - Method in class javassist.CtClass
-
Converts this class to a class file.
- toClass(CtClass) - Method in class javassist.ClassPool
-
Converts the given class to a java.lang.Class
object.
- toClass(CtClass, ClassLoader) - Method in class javassist.ClassPool
-
- toClass(CtClass, ClassLoader, ProtectionDomain) - Method in class javassist.ClassPool
-
Converts the class to a java.lang.Class
object.
- toClass() - Method in class javassist.CtClass
-
Converts this class to a java.lang.Class
object.
- toClass(ClassLoader, ProtectionDomain) - Method in class javassist.CtClass
-
Converts this class to a java.lang.Class
object.
- toClass(ClassLoader) - Method in class javassist.CtClass
-
- toClass(ClassFile, ClassLoader) - Static method in class javassist.util.proxy.FactoryHelper
-
Loads a class file by a given class loader.
- toClass(ClassFile, ClassLoader, ProtectionDomain) - Static method in class javassist.util.proxy.FactoryHelper
-
Loads a class file by a given class loader.
- toClassName(String) - Static method in class javassist.bytecode.Descriptor
-
Converts to a Java class name from a descriptor.
- toClassSignature(String) - Static method in class javassist.bytecode.SignatureAttribute
-
Parses the given signature string as a class signature.
- toCodeAttribute() - Method in class javassist.bytecode.Bytecode
-
Converts to a CodeAttribute
.
- toCtClass(String, ClassPool) - Static method in class javassist.bytecode.Descriptor
-
Returns a CtClass
object representing the type
specified by the given descriptor.
- toFieldSignature(String) - Static method in class javassist.bytecode.SignatureAttribute
-
Parses the given signature string as a field type signature.
- toJavaName(String) - Static method in class javassist.bytecode.Descriptor
-
Converts a class name from the internal representation used in
the JVM to the normal one used in Java.
- 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.bytecode.Descriptor
-
Converts a class name into the internal representation used in
the JVM.
- toJvmName(CtClass) - Static method in class javassist.bytecode.Descriptor
-
Returns the internal representation of the class name in the
JVM.
- toJvmName(String) - Static method in class javassist.ClassMap
-
Converts a class name into the internal representation used in
the JVM.
- toLineNumber(int) - Method in class javassist.bytecode.LineNumberAttribute
-
Returns the line number corresponding to the specified bytecode.
- toMethod(String, CtClass) - Method in class javassist.CtConstructor
-
Makes a copy of this constructor and converts it into a method.
- toMethod(String, CtClass, ClassMap) - Method in class javassist.CtConstructor
-
Makes a copy of this constructor and converts it into a method.
- toMethodSignature(String) - Static method in class javassist.bytecode.SignatureAttribute
-
Parses the given signature string as a method type signature.
- toModifier(int) - Static method in class javassist.bytecode.AccessFlag
-
Converts a javassist.bytecode.AccessFlag
into a javassist.Modifier.
- toNearPc(int) - Method in class javassist.bytecode.LineNumberAttribute
-
Returns the index into the code array at which the code for
the specified line (or the nearest line after the specified one)
begins.
- TOP - Static variable in class javassist.bytecode.analysis.Type
-
A placeholder used by the analyzer for the second word position of a double-word type
- TOP - Static variable in class javassist.bytecode.StackMap
-
Top_variable_info.tag
.
- TOP - Static variable in class javassist.bytecode.StackMapTable
-
Top_variable_info.tag
.
- toStackMap(ConstPool) - Method in class javassist.bytecode.StackMap.Writer
-
Converts to a StackMap
attribute.
- toStackMapTable(ConstPool) - Method in class javassist.bytecode.StackMapTable.Writer
-
Constructs and a return a stack map table containing
the written stack map entries.
- toStartPc(int) - Method in class javassist.bytecode.LineNumberAttribute
-
Returns the index into the code array at which the code for
the specified line begins.
- toString() - Method in class javassist.ByteArrayClassPath
-
- toString() - Method in class javassist.bytecode.analysis.ControlFlow.Node
-
Returns a String
representation.
- toString() - Method in class javassist.bytecode.analysis.Frame
-
- toString() - Method in class javassist.bytecode.analysis.MultiArrayType
-
- toString() - Method in class javassist.bytecode.analysis.MultiType
-
- toString() - Method in class javassist.bytecode.analysis.Subroutine
-
- toString() - Method in class javassist.bytecode.analysis.Type
-
- toString() - Method in class javassist.bytecode.annotation.Annotation
-
Returns a string representation of the annotation.
- toString() - Method in class javassist.bytecode.annotation.AnnotationMemberValue
-
Obtains the string representation of this object.
- toString() - Method in class javassist.bytecode.annotation.ArrayMemberValue
-
Obtains the string representation of this object.
- toString() - Method in class javassist.bytecode.annotation.BooleanMemberValue
-
Obtains the string representation of this object.
- toString() - Method in class javassist.bytecode.annotation.ByteMemberValue
-
Obtains the string representation of this object.
- toString() - Method in class javassist.bytecode.annotation.CharMemberValue
-
Obtains the string representation of this object.
- toString() - Method in class javassist.bytecode.annotation.ClassMemberValue
-
Obtains the string representation of this object.
- toString() - Method in class javassist.bytecode.annotation.DoubleMemberValue
-
Obtains the string representation of this object.
- toString() - Method in class javassist.bytecode.annotation.EnumMemberValue
-
- toString() - Method in class javassist.bytecode.annotation.FloatMemberValue
-
Obtains the string representation of this object.
- toString() - Method in class javassist.bytecode.annotation.IntegerMemberValue
-
Obtains the string representation of this object.
- toString() - Method in class javassist.bytecode.annotation.LongMemberValue
-
Obtains the string representation of this object.
- toString() - Method in class javassist.bytecode.annotation.ShortMemberValue
-
Obtains the string representation of this object.
- toString() - Method in class javassist.bytecode.annotation.StringMemberValue
-
Obtains the string representation of this object.
- toString() - Method in class javassist.bytecode.AnnotationDefaultAttribute
-
Returns a string representation of this object.
- toString() - Method in class javassist.bytecode.AnnotationsAttribute
-
Returns a string representation of this object.
- toString(String) - Static method in class javassist.bytecode.Descriptor
-
Returns a human-readable representation of the
given descriptor.
- toString() - Method in class javassist.bytecode.FieldInfo
-
Returns a string representation of the object.
- toString() - Method in class javassist.bytecode.MethodInfo
-
Returns a string representation of the object.
- toString() - Method in class javassist.bytecode.ParameterAnnotationsAttribute
-
Returns a string representation of this object.
- toString() - Method in class javassist.bytecode.SignatureAttribute.ArrayType
-
Returns the string representation.
- toString() - Method in class javassist.bytecode.SignatureAttribute.BaseType
-
Returns the string representation.
- toString() - Method in class javassist.bytecode.SignatureAttribute.ClassSignature
-
Returns the string representation.
- toString() - Method in class javassist.bytecode.SignatureAttribute.ClassType
-
Returns the string representation.
- toString() - Method in class javassist.bytecode.SignatureAttribute.MethodSignature
-
Returns the string representation.
- toString() - Method in class javassist.bytecode.SignatureAttribute.TypeArgument
-
Returns the string representation.
- toString() - Method in class javassist.bytecode.SignatureAttribute.TypeParameter
-
Returns the string representation.
- toString() - Method in class javassist.bytecode.SignatureAttribute.TypeVariable
-
Returns the string representation.
- toString() - Method in class javassist.ClassClassPath
-
- toString() - Method in class javassist.ClassPool
-
Returns the class search path.
- toString() - Method in class javassist.CtClass
-
Converts the object to a string.
- toString() - Method in class javassist.CtField
-
Returns a String representation of the object.
- toString() - Method in class javassist.CtMember
-
- toString() - Method in class javassist.LoaderClassPath
-
- toString(int) - Static method in class javassist.Modifier
-
Return a string describing the access modifier flags in
the specified modifier.
- toString() - Method in class javassist.tools.Callback
-
- toString() - Method in exception javassist.tools.web.BadHttpRequest
-
- toString() - Method in class javassist.URLClassPath
-
- toTypeSignature(String) - Static method in class javassist.bytecode.SignatureAttribute
-
Parses the given signature string as a type signature.
- TRANSIENT - Static variable in class javassist.bytecode.AccessFlag
-
- TRANSIENT - Static variable in class javassist.Modifier
-
- Translator - Interface in javassist
-
An observer of Loader
.
- trap(Object[], int) - Method in class javassist.tools.reflect.Sample
-
- trapFieldRead(String) - Method in class javassist.tools.reflect.ClassMetaobject
-
Is invoked when static
fields of the base-level
class are read and the runtime system intercepts it.
- trapFieldRead(String) - Method in class javassist.tools.reflect.Metaobject
-
Is invoked when public fields of the base-level
class are read and the runtime system intercepts it.
- trapFieldWrite(String, Object) - Method in class javassist.tools.reflect.ClassMetaobject
-
Is invoked when static
fields of the base-level
class are modified and the runtime system intercepts it.
- trapFieldWrite(String, Object) - Method in class javassist.tools.reflect.Metaobject
-
Is invoked when public fields of the base-level
class are modified and the runtime system intercepts it.
- trapMethodcall(int, Object[]) - Method in class javassist.tools.reflect.ClassMetaobject
-
Is invoked when static
methods of the base-level
class are called and the runtime system intercepts it.
- trapMethodcall(int, Object[]) - Method in class javassist.tools.reflect.Metaobject
-
Is invoked when base-level method invocation is intercepted.
- trapRead(Object[], String) - Static method in class javassist.tools.reflect.Sample
-
- trapStatic(Object[], int) - Static method in class javassist.tools.reflect.Sample
-
- trapWrite(Object[], String) - Static method in class javassist.tools.reflect.Sample
-
- type() - Method in class javassist.bytecode.analysis.ControlFlow.Catcher
-
Returns the name of the exception type that
this catch clause catches.
- Type - Class in javassist.bytecode.analysis
-
Represents a JVM type in data-flow analysis.
- Type() - Constructor for class javassist.bytecode.SignatureAttribute.Type
-
- TypeAnnotationsAttribute - Class in javassist.bytecode
-
A class representing
RuntimeVisibleTypeAnnotations
attribute and
RuntimeInvisibleTypeAnnotations
attribute.
- TypeAnnotationsAttribute(ConstPool, String, byte[]) - Constructor for class javassist.bytecode.TypeAnnotationsAttribute
-
Constructs a Runtime(In)VisibleTypeAnnotations_attribute
.
- TypeAnnotationsWriter - Class in javassist.bytecode.annotation
-
A convenience class for constructing a
..TypeAnnotations_attribute
.
- TypeAnnotationsWriter(OutputStream, ConstPool) - Constructor for class javassist.bytecode.annotation.TypeAnnotationsWriter
-
Constructs with the given output stream.
- TypeArgument(SignatureAttribute.ObjectType) - Constructor for class javassist.bytecode.SignatureAttribute.TypeArgument
-
Constructs a TypeArgument
.
- TypeArgument() - Constructor for class javassist.bytecode.SignatureAttribute.TypeArgument
-
Constructs a TypeArgument
representing <?>
.
- typeArgumentTarget(int, int, int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
Writes target_type
and type_argument_target
of target_info
union.
- typeIndex(Class) - Static method in class javassist.util.proxy.FactoryHelper
-
Returns an index for accessing arrays in this class.
- typeInfo(int, byte) - Method in class javassist.bytecode.StackMap.Walker
-
Invoked when an element of verification_type_info
(except Object_variable_info
and
Uninitialized_variable_info
) is visited.
- typeInfoArray(int, int, int, boolean) - Method in class javassist.bytecode.StackMap.Walker
-
Invoked when an array of verification_type_info
is
visited.
- TypeParameter(String, SignatureAttribute.ObjectType, SignatureAttribute.ObjectType[]) - Constructor for class javassist.bytecode.SignatureAttribute.TypeParameter
-
Constructs a TypeParameter
representing a type parametre
like <T extends ...
- TypeParameter(String) - Constructor for class javassist.bytecode.SignatureAttribute.TypeParameter
-
Constructs a TypeParameter
representing a type parameter
like <T>
.
- typeParameterBoundTarget(int, int, int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
Writes target_type
and type_parameter_bound_target
of target_info
union.
- typeParameterTarget(int, int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
Writes target_type
and type_parameter_target
of target_info
union.
- typePath(int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
Writes path_length
of type_path
.
- typePathPath(int, int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
Writes an element of path[]
of type_path
.
- typeTag - Static variable in class javassist.bytecode.LocalVariableAttribute
-
The name of the attribute "LocalVariableTypeTable"
.
- typeTagOf(char) - Static method in class javassist.bytecode.StackMapTable
-
Returns the tag of the type specified by the
descriptor.
- TypeVariable(String) - Constructor for class javassist.bytecode.SignatureAttribute.TypeVariable
-
Constructs a TypeVariable
.