Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- 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.
- accept(Visitor) - Method in class javassist.compiler.ast.ArrayInit
- accept(Visitor) - Method in class javassist.compiler.ast.AssignExpr
- accept(Visitor) - Method in class javassist.compiler.ast.ASTList
- accept(Visitor) - Method in class javassist.compiler.ast.ASTree
-
Is a method for the visitor pattern.
- accept(Visitor) - Method in class javassist.compiler.ast.BinExpr
- accept(Visitor) - Method in class javassist.compiler.ast.CallExpr
- accept(Visitor) - Method in class javassist.compiler.ast.CastExpr
- accept(Visitor) - Method in class javassist.compiler.ast.CondExpr
- accept(Visitor) - Method in class javassist.compiler.ast.Declarator
- accept(Visitor) - Method in class javassist.compiler.ast.DoubleConst
- accept(Visitor) - Method in class javassist.compiler.ast.Expr
- accept(Visitor) - Method in class javassist.compiler.ast.FieldDecl
- accept(Visitor) - Method in class javassist.compiler.ast.InstanceOfExpr
- accept(Visitor) - Method in class javassist.compiler.ast.IntConst
- accept(Visitor) - Method in class javassist.compiler.ast.Keyword
- accept(Visitor) - Method in class javassist.compiler.ast.Member
- accept(Visitor) - Method in class javassist.compiler.ast.MethodDecl
- accept(Visitor) - Method in class javassist.compiler.ast.NewExpr
- accept(Visitor) - Method in class javassist.compiler.ast.Pair
- accept(Visitor) - Method in class javassist.compiler.ast.Stmnt
- accept(Visitor) - Method in class javassist.compiler.ast.StringL
- accept(Visitor) - Method in class javassist.compiler.ast.Symbol
- accept(Visitor) - Method in class javassist.compiler.ast.Variable
- 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 ofparameters
. - 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) - Method in class javassist.bytecode.ClassFileWriter.MethodWriter
-
Appends an 8bit value of bytecode.
- add(int, int) - Method in class javassist.bytecode.Bytecode
- add(int, int, int, int) - Method in class javassist.bytecode.Bytecode
- add(int, int, int, int) - Method in class javassist.bytecode.ExceptionTable
-
Appends a new entry at the end of 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, ClassFileWriter.AttributeWriter) - Method in class javassist.bytecode.ClassFileWriter.FieldWriter
-
Adds a new field.
- add(int, String, String, ClassFileWriter.AttributeWriter) - Method in class javassist.bytecode.ClassFileWriter.FieldWriter
-
Adds a new field.
- add(int, ExceptionTable, int) - Method in class javassist.bytecode.ExceptionTable
-
Copies the given exception table at the specified position in 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.
- addArrayDim(int) - Method in class javassist.compiler.ast.Declarator
- 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 theCode_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(String) - Method in class javassist.bytecode.Bytecode
-
Appends CHECKCAST.
- addCheckcast(CtClass) - Method in class javassist.bytecode.Bytecode
-
Appends CHECKCAST.
- addClassInfo(int) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new
CONSTANT_Class_info
structure. - addClassInfo(String) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new
CONSTANT_Class_info
structure. - addClassInfo(String) - Method in class javassist.bytecode.ConstPool
-
Adds a new
CONSTANT_Class_info
structure. - addClassInfo(String[]) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Makes
CONSTANT_Class_info
objects for each class name. - addClassInfo(CtClass) - 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>
- addDynamicInfo(int, int) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new
CONSTANT_Dynamic_info
structure. - addDynamicInfo(int, int) - Method in class javassist.bytecode.ConstPool
-
Adds a new
CONSTANT_Dynamic_info
structure. - addEntry(int, int, int, int, int) - Method in class javassist.bytecode.LocalVariableAttribute
-
Appends a new entry to
local_variable_table
. - addExceptionHandler(int, int, int, int) - 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, CtClass) - 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, int) - Method in class javassist.bytecode.ConstPool
-
Adds a new
CONSTANT_Fieldref_info
structure. - addFieldrefInfo(int, String, String) - 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(String, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends GETFIELD.
- addGetfield(CtClass, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends GETFIELD.
- addGetstatic(String, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends GETSTATIC.
- addGetstatic(CtClass, 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, int) - Method in class javassist.bytecode.ConstPool
-
Adds a new
CONSTANT_InterfaceMethodref_info
structure. - addInterfaceMethodrefInfo(int, String, String) - 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(int, 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(CtClass, String, String, int) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKEINTERFACE.
- addInvokeinterface(CtClass, String, CtClass, CtClass[], int) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKEINTERFACE.
- addInvokespecial(boolean, int, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKESPECIAL.
- addInvokespecial(int, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKESPECIAL.
- addInvokespecial(int, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKESPECIAL.
- addInvokespecial(String, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKESPECIAL.
- addInvokespecial(CtClass, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKESPECIAL.
- addInvokespecial(CtClass, String, CtClass, CtClass[]) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKESPECIAL.
- addInvokestatic(int, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKESTATIC.
- addInvokestatic(String, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKESTATIC.
- addInvokestatic(CtClass, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKESTATIC.
- addInvokestatic(CtClass, String, CtClass, CtClass[]) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKESTATIC.
- addInvokevirtual(int, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKEVIRTUAL.
- addInvokevirtual(String, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKEVIRTUAL.
- addInvokevirtual(CtClass, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKEVIRTUAL.
- addInvokevirtual(CtClass, String, CtClass, CtClass[]) - 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(int) - Method in class javassist.bytecode.Bytecode
-
Appends LDC or LDC_W.
- addLdc(String) - Method in class javassist.bytecode.Bytecode
-
Appends LDC or LDC_W.
- addLdc2w(double) - Method in class javassist.bytecode.Bytecode
-
Appends LDC2_W.
- addLdc2w(long) - 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, int) - Method in class javassist.bytecode.ConstPool
-
Adds a new
CONSTANT_Methodref_info
structure. - addMethodrefInfo(int, String, String) - 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. - addModuleInfo(int) - Method in class javassist.bytecode.ConstPool
-
Adds a new
CONSTANT_Module_info
- addMultiNewarray(String, int) - Method in class javassist.bytecode.Bytecode
-
Appends MULTINEWARRAY.
- addMultiNewarray(CtClass, int) - Method in class javassist.bytecode.Bytecode
-
Appends MULTINEWARRAY.
- addMultiNewarray(CtClass, int[]) - Method in class javassist.bytecode.Bytecode
-
Appends MULTINEWARRAY.
- addNameAndTypeInfo(int, int) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new
CONSTANT_NameAndType_info
structure. - addNameAndTypeInfo(int, int) - Method in class javassist.bytecode.ConstPool
-
Adds a new
CONSTANT_NameAndType_info
structure. - addNameAndTypeInfo(String, String) - 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. - addNew(String) - Method in class javassist.bytecode.Bytecode
-
Appends NEW.
- addNew(CtClass) - 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.
- addPackageInfo(int) - Method in class javassist.bytecode.ConstPool
-
Adds a new
CONSTANT_Package_info
- 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(String, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends PUTFIELD.
- addPutfield(CtClass, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends PUTFIELD.
- addPutstatic(String, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends PUTSTATIC.
- addPutstatic(CtClass, 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. - agentmain(String, Instrumentation) - Static method in class javassist.util.HotSwapAgent
-
The entry point invoked when this agent is started after the JVM starts.
- 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(int, int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes
annotation
. - annotation(String, int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes
annotation
. - 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 - Static variable in class javassist.bytecode.AccessFlag
- ANNOTATION - Static variable in class javassist.Modifier
- AnnotationDefaultAttribute - Class in javassist.bytecode
-
A class representing
AnnotationDefault_attribute
. - AnnotationDefaultAttribute(ConstPool) - Constructor for class javassist.bytecode.AnnotationDefaultAttribute
-
Constructs an empty
AnnotationDefault_attribute
. - AnnotationDefaultAttribute(ConstPool, byte[]) - Constructor for class javassist.bytecode.AnnotationDefaultAttribute
-
Constructs an
AnnotationDefault_attribute
. - AnnotationImpl - Class in javassist.bytecode.annotation
-
Internal-use only.
- AnnotationMemberValue - Class in javassist.bytecode.annotation
-
Nested annotation.
- AnnotationMemberValue(Annotation, ConstPool) - Constructor for class javassist.bytecode.annotation.AnnotationMemberValue
-
Constructs an annotation member.
- AnnotationMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.AnnotationMemberValue
-
Constructs an annotation member.
- AnnotationsAttribute - Class in javassist.bytecode
-
A class representing
RuntimeVisibleAnnotations_attribute
andRuntimeInvisibleAnnotations_attribute
. - AnnotationsAttribute(ConstPool, String) - Constructor for class javassist.bytecode.AnnotationsAttribute
-
Constructs an empty
Runtime(In)VisibleAnnotations_attribute
. - AnnotationsAttribute(ConstPool, String, byte[]) - Constructor for class javassist.bytecode.AnnotationsAttribute
-
Constructs a
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
andannotation_value
inelement_value
. - append(byte[]) - Method in class javassist.bytecode.CodeIterator
-
Appends the given bytecode sequence at the end.
- append(int, int, int, int) - Method in class javassist.bytecode.InnerClassesAttribute
-
Appends a new entry.
- append(String, String, String, int) - Method in class javassist.bytecode.InnerClassesAttribute
-
Appends a new entry.
- 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(ASTList, ASTree) - Static method in class javassist.compiler.ast.ASTList
-
Appends an object to a list.
- appendClassPath(String) - Method in class javassist.ClassPool
-
Appends a directory or a jar (or zip) file to the end of the search path.
- appendClassPath(ClassPath) - Method in class javassist.ClassPool
-
Appends a
ClassPath
object to the end of the search path. - appendFrame(int, int[], int[]) - Method in class javassist.bytecode.StackMapTable.Writer
-
Writes a
append_frame
. - appendFrame(int, int, int[], int[]) - Method in class javassist.bytecode.StackMapTable.Walker
-
Invoked if the visited frame is 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(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.
- AppletServer(String) - 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.
- ArrayInit - Class in javassist.compiler.ast
-
Array initializer such as
{ 1, 2, 3 }
. - ArrayInit(ASTree) - Constructor for class javassist.compiler.ast.ArrayInit
-
Constructs an object.
- ARRAYLENGTH - Static variable in interface javassist.bytecode.Opcode
- ArrayMemberValue - Class in javassist.bytecode.annotation
-
Array member.
- ArrayMemberValue(MemberValue, ConstPool) - Constructor for class javassist.bytecode.annotation.ArrayMemberValue
-
Constructs an array.
- ArrayMemberValue(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
andarray_value
inelement_value
. - AssignExpr - Class in javassist.compiler.ast
-
Assignment expression.
- ASTList - Class in javassist.compiler.ast
-
A linked list.
- ASTList(ASTree) - Constructor for class javassist.compiler.ast.ASTList
- ASTList(ASTree, ASTList) - Constructor for class javassist.compiler.ast.ASTList
- 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
- ASTree - Class in javassist.compiler.ast
-
Abstract Syntax Tree.
- ASTree() - Constructor for class javassist.compiler.ast.ASTree
- astToClassName(ASTList, char) - Static method in class javassist.compiler.ast.Declarator
- atArrayInit(ArrayInit) - Method in class javassist.compiler.ast.Visitor
- atAssignExpr(AssignExpr) - Method in class javassist.compiler.ast.Visitor
- atASTList(ASTList) - Method in class javassist.compiler.ast.Visitor
- atBinExpr(BinExpr) - Method in class javassist.compiler.ast.Visitor
- atCallExpr(CallExpr) - Method in class javassist.compiler.ast.Visitor
- atCastExpr(CastExpr) - Method in class javassist.compiler.ast.Visitor
- atCondExpr(CondExpr) - Method in class javassist.compiler.ast.Visitor
- atDeclarator(Declarator) - Method in class javassist.compiler.ast.Visitor
- atDoubleConst(DoubleConst) - Method in class javassist.compiler.ast.Visitor
- atExpr(Expr) - Method in class javassist.compiler.ast.Visitor
- atFieldDecl(FieldDecl) - Method in class javassist.compiler.ast.Visitor
- ATHROW - Static variable in interface javassist.bytecode.Opcode
- atInstanceOfExpr(InstanceOfExpr) - Method in class javassist.compiler.ast.Visitor
- atIntConst(IntConst) - Method in class javassist.compiler.ast.Visitor
- atKeyword(Keyword) - Method in class javassist.compiler.ast.Visitor
- atMember(Member) - Method in class javassist.compiler.ast.Visitor
- atMethodDecl(MethodDecl) - Method in class javassist.compiler.ast.Visitor
- atNewExpr(NewExpr) - Method in class javassist.compiler.ast.Visitor
- atPair(Pair) - Method in class javassist.compiler.ast.Visitor
- atStmnt(Stmnt) - Method in class javassist.compiler.ast.Visitor
- atStringL(StringL) - Method in class javassist.compiler.ast.Visitor
- atSymbol(Symbol) - Method in class javassist.compiler.ast.Visitor
- AttributeInfo - Class in javassist.bytecode
-
attribute_info
structure. - AttributeInfo(ConstPool, String, byte[]) - Constructor for class javassist.bytecode.AttributeInfo
-
Constructs an
attribute_info
structure. - atVariable(Variable) - Method in class javassist.compiler.ast.Visitor
B
- BadBytecode - Exception Class in javassist.bytecode
-
Signals that a bad bytecode sequence has been found.
- BadBytecode(int) - Constructor for exception class javassist.bytecode.BadBytecode
- BadBytecode(String) - Constructor for exception class javassist.bytecode.BadBytecode
- BadBytecode(String, Throwable) - Constructor for exception class javassist.bytecode.BadBytecode
- BadBytecode(MethodInfo, Throwable) - Constructor for exception class javassist.bytecode.BadBytecode
- BadHttpRequest - Exception Class in javassist.tools.web
-
Thrown when receiving an invalid HTTP request.
- BadHttpRequest() - Constructor for exception class javassist.tools.web.BadHttpRequest
- BadHttpRequest(Exception) - Constructor for exception class javassist.tools.web.BadHttpRequest
- BALOAD - Static variable in interface javassist.bytecode.Opcode
- BaseType(String) - Constructor for class javassist.bytecode.SignatureAttribute.BaseType
-
Constructs a
BaseType
. - basicBlocks() - Method in class javassist.bytecode.analysis.ControlFlow
-
Returns all the basic blocks in the method body.
- BASTORE - Static variable in interface javassist.bytecode.Opcode
- begin() - Method in class javassist.bytecode.CodeIterator
-
Moves to the first instruction.
- begin(int, int, int, int[], ClassFileWriter.AttributeWriter) - Method in class javassist.bytecode.ClassFileWriter.MethodWriter
-
Starts adding a new method.
- begin(int, String, String, String[], ClassFileWriter.AttributeWriter) - Method in class javassist.bytecode.ClassFileWriter.MethodWriter
-
Starts Adding a new method.
- BinExpr - Class in javassist.compiler.ast
-
Binary expression.
- BIPUSH - Static variable in interface javassist.bytecode.Opcode
- block() - Method in class javassist.bytecode.analysis.ControlFlow.Catcher
-
Returns the first block of the catch clause.
- block() - Method in class javassist.bytecode.analysis.ControlFlow.Node
-
Returns the basic block indicated by this node.
- BOGUS - Static variable in class javassist.bytecode.analysis.Type
-
Represents a non-accessible value.
- BOOLEAN - Static variable in class javassist.bytecode.analysis.Type
-
Represents the boolean primitive type
- BooleanMemberValue - Class in javassist.bytecode.annotation
-
Boolean constant value.
- BooleanMemberValue(boolean, ConstPool) - Constructor for class javassist.bytecode.annotation.BooleanMemberValue
-
Constructs a boolean constant value.
- BooleanMemberValue(int, ConstPool) - Constructor for class javassist.bytecode.annotation.BooleanMemberValue
-
Constructs a boolean constant value.
- BooleanMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.BooleanMemberValue
-
Constructs a boolean constant value.
- booleanType - Static variable in class javassist.CtClass
-
The
CtClass
object representing theboolean
type. - BootstrapMethod(int, int[]) - Constructor for class javassist.bytecode.BootstrapMethodsAttribute.BootstrapMethod
-
Constructs an element of
bootstrap_methods
. - BootstrapMethodsAttribute - Class in javassist.bytecode
- BootstrapMethodsAttribute(ConstPool, BootstrapMethodsAttribute.BootstrapMethod[]) - Constructor for class javassist.bytecode.BootstrapMethodsAttribute
-
Constructs a BootstrapMethods attribute.
- BootstrapMethodsAttribute.BootstrapMethod - Class in javassist.bytecode
-
An element of
bootstrap_methods
. - BRIDGE - Static variable in class javassist.bytecode.AccessFlag
- byCall(CtClass, String) - Static method in class javassist.CtField.Initializer
-
Makes an initializer calling a static method.
- byCall(CtClass, String, String[]) - Static method in class javassist.CtField.Initializer
-
Makes an initializer calling a static method.
- byCallWithParams(CtClass, String) - Static method in class javassist.CtField.Initializer
-
Makes an initializer calling a static method.
- byCallWithParams(CtClass, String, String[]) - Static method in class javassist.CtField.Initializer
-
Makes an initializer calling a static method.
- byExpr(String) - Static method in class javassist.CtField.Initializer
-
Makes an initializer.
- byNew(CtClass) - Static method in class javassist.CtField.Initializer
-
Makes an initializer creating a new object.
- byNew(CtClass, String[]) - Static method in class javassist.CtField.Initializer
-
Makes an initializer creating a new object.
- byNewArray(CtClass, int) - Static method in class javassist.CtField.Initializer
-
Makes an initializer creating a new array.
- byNewArray(CtClass, int[]) - Static method in class javassist.CtField.Initializer
-
Makes an initializer creating a new multi-dimensional array.
- byNewWithParams(CtClass) - Static method in class javassist.CtField.Initializer
-
Makes an initializer creating a new object.
- byNewWithParams(CtClass, String[]) - Static method in class javassist.CtField.Initializer
-
Makes an initializer creating a new object.
- byParameter(int) - Static method in class javassist.CtField.Initializer
-
Makes an initializer using a constructor parameter.
- BYTE - Static variable in class javassist.bytecode.analysis.Type
-
Represents the byte primitive type
- ByteArray - Class in javassist.bytecode
-
A collection of static methods for reading and writing a byte array.
- ByteArray() - Constructor for class javassist.bytecode.ByteArray
- ByteArrayClassPath - Class in javassist
-
A
ByteArrayClassPath
contains bytes that is served as a class file to aClassPool
. - ByteArrayClassPath(String, byte[]) - Constructor for class javassist.ByteArrayClassPath
- byteAt(int) - Method in class javassist.bytecode.CodeIterator
-
Returns the unsigned 8bit value at the given index.
- Bytecode - Class in javassist.bytecode
-
A utility class for producing a bytecode sequence.
- Bytecode(ConstPool) - Constructor for class javassist.bytecode.Bytecode
-
Constructs a
Bytecode
object with an empty bytecode sequence. - Bytecode(ConstPool, int, int) - Constructor for class javassist.bytecode.Bytecode
-
Constructs a
Bytecode
object with an empty bytecode sequence. - ByteMemberValue - Class in javassist.bytecode.annotation
-
Byte constant value.
- ByteMemberValue(byte, ConstPool) - Constructor for class javassist.bytecode.annotation.ByteMemberValue
-
Constructs a byte constant value.
- ByteMemberValue(int, ConstPool) - Constructor for class javassist.bytecode.annotation.ByteMemberValue
-
Constructs a byte constant value.
- ByteMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.ByteMemberValue
-
Constructs a byte constant value.
- byteOrBooleanRead() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
Returns the name of a static method with the signature
(Ljava/lang/Object;I)B
to replace reading from a byte[]. - byteOrBooleanRead() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
Returns "arrayReadByteOrBoolean" as the name of the static method with the signature (Ljava/lang/Object;I)B to replace reading from a byte[].
- byteOrBooleanWrite() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
Returns the name of a static method with the signature
(Ljava/lang/Object;IB)V
to replace writing to a byte[]. - byteOrBooleanWrite() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
Returns "arrayWriteByteOrBoolean" as the name of the static method with the signature (Ljava/lang/Object;IB)V to replace writing to a byte[].
- byteType - Static variable in class javassist.CtClass
-
The
CtClass
object representing thebyte
type.
C
- cacheOpenedJarFile - Static variable in class javassist.ClassPool
-
If true, the contents of a jar file are cached after the jar file is opened.
- 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
- CallExpr - Class in javassist.compiler.ast
-
Method call expression.
- 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 Class in javassist
-
Thrown when bytecode transformation has failed.
- CannotCompileException(ClassFormatError, String) - Constructor for exception class javassist.CannotCompileException
-
Constructs a CannotCompileException with a ClassFormatError.
- CannotCompileException(ClassNotFoundException, String) - Constructor for exception class javassist.CannotCompileException
-
Constructs a CannotCompileException with a
ClassNotFoundException
. - CannotCompileException(String) - Constructor for exception class javassist.CannotCompileException
-
Constructs a CannotCompileException with a message.
- CannotCompileException(String, Throwable) - Constructor for exception class javassist.CannotCompileException
-
Constructs a CannotCompileException with a detailed message and an
Exception
representing the cause. - CannotCompileException(Throwable) - Constructor for exception class javassist.CannotCompileException
-
Constructs a CannotCompileException with an
Exception
representing the cause. - CannotCompileException(CompileError) - Constructor for exception class javassist.CannotCompileException
-
Constructs a CannotCompileException with an
CompileError
. - CannotCompileException(NotFoundException) - Constructor for exception class javassist.CannotCompileException
-
Constructs a CannotCompileException with a
NotFoundException
. - CannotCreateException - Exception Class in javassist.tools.reflect
-
Signals that
ClassMetaobject.newInstance()
fails. - CannotCreateException(Exception) - Constructor for exception class javassist.tools.reflect.CannotCreateException
- CannotCreateException(String) - Constructor for exception class javassist.tools.reflect.CannotCreateException
- CannotInvokeException - Exception Class in javassist.tools.reflect
-
Thrown when method invocation using the reflection API has thrown an exception.
- CannotInvokeException(ClassNotFoundException) - Constructor for exception class javassist.tools.reflect.CannotInvokeException
-
Constructs a CannotInvokeException with an ClassNotFoundException.
- CannotInvokeException(IllegalAccessException) - Constructor for exception class javassist.tools.reflect.CannotInvokeException
-
Constructs a CannotInvokeException with an IllegalAccessException.
- CannotInvokeException(InvocationTargetException) - Constructor for exception class javassist.tools.reflect.CannotInvokeException
-
Constructs a CannotInvokeException with an InvocationTargetException.
- CannotInvokeException(String) - Constructor for exception class javassist.tools.reflect.CannotInvokeException
-
Constructs a CannotInvokeException with an error message.
- CannotReflectException - Exception Class in javassist.tools.reflect
-
Thrown by
makeReflective()
inReflection
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 class javassist.tools.reflect.CannotReflectException
- Cast - Class in javassist.expr
-
Explicit type cast.
- CastExpr - Class in javassist.compiler.ast
-
Cast expression.
- CastExpr(int, int, ASTree) - Constructor for class javassist.compiler.ast.CastExpr
- CastExpr(ASTList, int, ASTree) - Constructor for class javassist.compiler.ast.CastExpr
- 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
andcatch_target
oftarget_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(char, ConstPool) - Constructor for class javassist.bytecode.annotation.CharMemberValue
-
Constructs a char constant value.
- CharMemberValue(int, 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 thechar
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) - Method in class javassist.bytecode.StackMapTable.Writer
-
Writes a
chop_frame
. - chopFrame(int, int, int) - Method in class javassist.bytecode.StackMapTable.Walker
-
Invoked if the visited frame is a
chop_frame
. - ClassClassPath - Class in javassist
-
A search-path for obtaining a class file by
getResourceAsStream()
injava.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(boolean, String, String) - Constructor for class javassist.bytecode.ClassFile
-
Constructs a class file including no members.
- ClassFile(DataInputStream) - Constructor for class javassist.bytecode.ClassFile
-
Constructs a class file from a byte stream.
- 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(int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes
tag
andclass_info_index
inelement_value
. - classInfoIndex(String) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes
tag
andclass_info_index
inelement_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 - Variable in class javassist.tools.rmi.RemoteRef
- className() - Method in class javassist.bytecode.EnclosingMethodAttribute
-
Returns the name of the class specified by
class_index
. - 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[]) - Constructor for class javassist.bytecode.SignatureAttribute.ClassSignature
-
Constructs a class signature.
- ClassSignature(SignatureAttribute.TypeParameter[], SignatureAttribute.ClassType, SignatureAttribute.ClassType[]) - Constructor for class javassist.bytecode.SignatureAttribute.ClassSignature
-
Constructs a class signature.
- ClassType(String) - Constructor for class javassist.bytecode.SignatureAttribute.ClassType
-
Constructs a
ClassType
. - ClassType(String, SignatureAttribute.TypeArgument[]) - 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.bytecode.annotation.AnnotationsWriter
-
Closes the output stream.
- 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 Class in javassist.bytecode
-
An exception that may be thrown by
copy()
inCodeAttribute
. - 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
- compute(int, ASTree) - Method in class javassist.compiler.ast.DoubleConst
- compute(int, ASTree) - Method in class javassist.compiler.ast.IntConst
- computeMaxStack() - Method in class javassist.bytecode.CodeAttribute
-
Computes the maximum stack size and sets
max_stack
to the computed size. - concat(ASTList, ASTList) - Static method in class javassist.compiler.ast.ASTList
-
Concatenates two lists.
- condExpr() - Method in class javassist.compiler.ast.CondExpr
- CondExpr - Class in javassist.compiler.ast
-
Conditional expression.
- CondExpr(ASTree, ASTree, ASTree) - Constructor for class javassist.compiler.ast.CondExpr
- CONST_Class - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_Class
- CONST_Double - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_Double
- CONST_Dynamic - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_Dynamic
- CONST_DynamicCallSite - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_DynamicCallSite
, also known asCONSTANT_InvokeDynamic
- 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
- 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_Module - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_Module
- CONST_NameAndType - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_NameAndType
- CONST_Package - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_Package
- CONST_String - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_String
- CONST_Utf8 - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_Utf8
- constant(boolean) - Static method in class javassist.CtField.Initializer
-
Makes an initializer that assigns a constant boolean value.
- constant(double) - Static method in class javassist.CtField.Initializer
-
Makes an initializer that assigns a constant double value.
- constant(float) - Static method in class javassist.CtField.Initializer
-
Makes an initializer that assigns a constant float value.
- constant(int) - Static method in class javassist.CtField.Initializer
-
Makes an initializer that assigns a constant integer value.
- constant(long) - Static method in class javassist.CtField.Initializer
-
Makes an initializer that assigns a constant long 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(DataInputStream) - Constructor for class javassist.bytecode.ConstPool
-
Constructs a constant pool table from the given byte stream.
- ConstPool(String) - Constructor for class javassist.bytecode.ConstPool
-
Constructs a constant pool table.
- ConstructorCall - Class in javassist.expr
-
Constructor call such as
this()
andsuper()
within a constructor body. - constValueIndex(boolean) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes
tag
andconst_value_index
inelement_value
. - constValueIndex(byte) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes
tag
andconst_value_index
inelement_value
. - constValueIndex(char) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes
tag
andconst_value_index
inelement_value
. - constValueIndex(double) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes
tag
andconst_value_index
inelement_value
. - constValueIndex(float) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes
tag
andconst_value_index
inelement_value
. - constValueIndex(int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes
tag
andconst_value_index
inelement_value
. - constValueIndex(int, int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes
tag
andconst_value_index
inelement_value
. - constValueIndex(long) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes
tag
andconst_value_index
inelement_value
. - constValueIndex(short) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes
tag
andconst_value_index
inelement_value
. - constValueIndex(String) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes
tag
andconst_value_index
inelement_value
. - ControlFlow - Class in javassist.bytecode.analysis
-
Represents the control flow graph of a given method.
- ControlFlow(CtClass, MethodInfo) - Constructor for class javassist.bytecode.analysis.ControlFlow
-
Constructs a control-flow analyzer.
- ControlFlow(CtMethod) - Constructor for class javassist.bytecode.analysis.ControlFlow
-
Constructs a control-flow analyzer for the given method.
- 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() - Method in class javassist.bytecode.Bytecode
- copy(int, ConstPool, Map<String, String>) - Method in class javassist.bytecode.ConstPool
-
Copies the n-th item in this ConstPool object into the destination ConstPool object.
- copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.AnnotationDefaultAttribute
-
Copies this attribute and returns a new copy.
- copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.AnnotationsAttribute
-
Copies this attribute and returns a new copy.
- copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.AttributeInfo
-
Makes a copy.
- copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.BootstrapMethodsAttribute
-
Makes a copy.
- copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.CodeAttribute
-
Makes a copy.
- copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.ConstantAttribute
-
Makes a copy.
- copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.DeprecatedAttribute
-
Makes a copy.
- copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.EnclosingMethodAttribute
-
Makes a copy.
- copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.ExceptionsAttribute
-
Makes a copy.
- copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.ExceptionTable
-
Makes a copy of this
exception_table[]
. - copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.InnerClassesAttribute
-
Makes a copy.
- copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.LineNumberAttribute
-
Makes a copy.
- copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.LocalVariableAttribute
-
Makes a copy.
- copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.MethodParametersAttribute
-
Makes a copy.
- copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.NestHostAttribute
-
Makes a copy.
- copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.NestMembersAttribute
-
Makes a copy.
- copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.ParameterAnnotationsAttribute
-
Copies this attribute and returns a new copy.
- copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.SignatureAttribute
-
Makes a copy.
- copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.SourceFileAttribute
-
Makes a copy.
- copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.StackMap
-
Makes a copy.
- copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.StackMapTable
-
Makes a copy.
- copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.SyntheticAttribute
-
Makes a copy.
- copy(ConstPool, Map<String, String>) - 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, String, CtClass, ClassMap) - Static method in class javassist.CtNewMethod
-
Creates a copy of a method with a new name.
- copy(CtMethod, CtClass, ClassMap) - Static method in class javassist.CtNewMethod
-
Creates a copy of a method.
- copyStack() - Method in class javassist.bytecode.analysis.Frame
-
Makes a shallow copy of the stack portion of this frame.
- create(Class<?>[], Object[]) - Method in class javassist.util.proxy.ProxyFactory
-
Creates a proxy class and returns an instance of that class.
- create(Class<?>[], Object[], MethodHandler) - Method in class javassist.util.proxy.ProxyFactory
-
Creates a proxy class and returns an instance of that class.
- createAgentJarFile(String) - Static method in class javassist.util.HotSwapAgent
-
Creates an agent file for using
HotSwapAgent
. - createClass() - Method in class javassist.util.proxy.ProxyFactory
-
Generates a proxy class using the current filter.
- createClass(MethodHandles.Lookup) - Method in class javassist.util.proxy.ProxyFactory
-
Generates a proxy class using the current filter.
- createClass(MethodHandles.Lookup, MethodFilter) - Method in class javassist.util.proxy.ProxyFactory
-
Generates a proxy class using the supplied 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.
D
- D2F - Static variable in interface javassist.bytecode.Opcode
- D2I - Static variable in interface javassist.bytecode.Opcode
- D2L - Static variable in interface javassist.bytecode.Opcode
- DADD - Static variable in interface javassist.bytecode.Opcode
- DALOAD - Static variable in interface javassist.bytecode.Opcode
- DASTORE - Static variable in interface javassist.bytecode.Opcode
- dataSize - Static variable in class javassist.util.proxy.FactoryHelper
-
The data size of primitive types.
- dataSize(String) - Static method in class javassist.bytecode.Descriptor
-
Computes the data size specified by the given descriptor.
- DCMPG - Static variable in interface javassist.bytecode.Opcode
- DCMPL - Static variable in interface javassist.bytecode.Opcode
- DCONST_0 - Static variable in interface javassist.bytecode.Opcode
- DCONST_1 - Static variable in interface javassist.bytecode.Opcode
- DDIV - Static variable in interface javassist.bytecode.Opcode
- debugDir - Variable in class javassist.tools.web.Webserver
-
If this field is not null, the class files taken from
ClassPool
are written out under the directory specified by this field. - debugDump - Static variable in class javassist.CtClass
-
If the value of this field is not null, then all class files modified by Javassist are saved under the directory specified by this variable.
- debugWriteFile() - Method in class javassist.CtClass
-
Writes a class file as
writeFile()
does although this method does not prune or freeze the class after writing the class file. - debugWriteFile(String) - Method in class javassist.CtClass
-
Writes a class file as
writeFile()
does although this method does not prune or freeze the class after writing the class file. - Declarator - Class in javassist.compiler.ast
-
Variable declarator.
- Declarator(int, int) - Constructor for class javassist.compiler.ast.Declarator
- Declarator(int, String, int, int, Symbol) - Constructor for class javassist.compiler.ast.Declarator
- Declarator(ASTList, int) - Constructor for class javassist.compiler.ast.Declarator
- default_interceptor - Static variable in class javassist.util.proxy.RuntimeSupport
-
A method handler that only executes a method.
- DefaultArrayAccessReplacementMethodNames() - Constructor for class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
- defaultConstructor(CtClass) - Static method in class javassist.CtNewConstructor
-
Creates a default (public) constructor.
- DefineClassHelper - Class in javassist.util.proxy
-
Helper class for invoking
ClassLoader.defineClass(String,byte[],int,int)
. - definePackage(String, ClassLoader) - Static method in class javassist.util.proxy.DefinePackageHelper
-
Defines a new package.
- DefinePackageHelper - Class in javassist.util.proxy
-
Helper class for invoking
ClassLoader.defineClass(String,byte[],int,int)
. - defrost() - Method in class javassist.CtClass
-
Defrosts the class so that the class can be modified again.
- delegateLoadingOf(String) - Method in class javassist.Loader
-
Records a class so that the loading of that class is delegated to the parent class loader.
- delegator(CtMethod, CtClass) - Static method in class javassist.CtNewMethod
-
Creates a method forwarding to a delegate in a super class.
- DeprecatedAttribute - Class in javassist.bytecode
-
Deprecated_attribute
. - DeprecatedAttribute(ConstPool) - Constructor for class javassist.bytecode.DeprecatedAttribute
-
Constructs a Deprecated attribute.
- Desc - Class in javassist.runtime
-
A support class for implementing
$sig
and$type
. - Desc() - Constructor for class javassist.runtime.Desc
- descriptor(int) - Method in class javassist.bytecode.LocalVariableAttribute
-
Returns the type descriptor of the local variable specified by
local_variable_table[i].descriptor_index
. - Descriptor - Class in javassist.bytecode
-
A support class for dealing with descriptors.
- Descriptor() - Constructor for class javassist.bytecode.Descriptor
- Descriptor.Iterator - Class in javassist.bytecode
-
An Iterator over a descriptor.
- descriptorIndex(int) - Method in class javassist.bytecode.LocalVariableAttribute
-
Returns the value of
local_variable_table[i].descriptor_index
. - detach() - Method in class javassist.CtClass
-
Removes this
CtClass
object from theClassPool
. - DLOAD - Static variable in interface javassist.bytecode.Opcode
- DLOAD_0 - Static variable in interface javassist.bytecode.Opcode
- DLOAD_1 - Static variable in interface javassist.bytecode.Opcode
- DLOAD_2 - Static variable in interface javassist.bytecode.Opcode
- DLOAD_3 - Static variable in interface javassist.bytecode.Opcode
- DMUL - Static variable in interface javassist.bytecode.Opcode
- DNEG - Static variable in interface javassist.bytecode.Opcode
- doDelegation - Variable in class javassist.Loader
-
Specifies the algorithm of class loading.
- doit(CtClass, MethodInfo) - Method in class javassist.expr.ExprEditor
-
Undocumented method.
- dominatorTree() - Method in class javassist.bytecode.analysis.ControlFlow
-
Constructs a dominator tree.
- doPreverify - Static variable in class javassist.bytecode.MethodInfo
-
If this value is true, Javassist maintains a
StackMap
attribute generated by thepreverify
tool of J2ME (CLDC). - doPruning - Static variable in class javassist.ClassPool
-
Turning the automatic pruning on/off.
- doReply(InputStream, OutputStream, String) - Method in class javassist.tools.rmi.AppletServer
-
Processes a request from a web browser (an ObjectImporter).
- doReply(InputStream, OutputStream, String) - Method in class javassist.tools.web.Webserver
-
Proceses a HTTP request from a client.
- DotClass - Class in javassist.runtime
-
A support class for implementing
.class
notation. - DotClass() - Constructor for class javassist.runtime.DotClass
- DOUBLE - Static variable in class javassist.bytecode.analysis.Type
-
Represents the double primitive type
- DOUBLE - Static variable in class javassist.bytecode.StackMap
-
Double_variable_info.tag
. - DOUBLE - Static variable in class javassist.bytecode.StackMapTable
-
Double_variable_info.tag
. - DoubleConst - Class in javassist.compiler.ast
-
Double constant.
- DoubleConst(double, int) - Constructor for class javassist.compiler.ast.DoubleConst
- DoubleMemberValue - Class in javassist.bytecode.annotation
-
Double floating-point number constant value.
- DoubleMemberValue(double, ConstPool) - Constructor for class javassist.bytecode.annotation.DoubleMemberValue
-
Constructs a double constant value.
- DoubleMemberValue(int, ConstPool) - Constructor for class javassist.bytecode.annotation.DoubleMemberValue
-
Constructs a double constant value.
- DoubleMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.DoubleMemberValue
-
Constructs a double constant value.
- doubleRead() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
Returns the name of a static method with the signature
(Ljava/lang/Object;I)D
to replace reading from a double[]. - doubleRead() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
Returns "arrayReadDouble" as the name of the static method with the signature (Ljava/lang/Object;I)D to replace reading from a double[].
- doubleType - Static variable in class javassist.CtClass
-
The
CtClass
object representing thedouble
type. - doubleWrite() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
Returns the name of a static method with the signature
(Ljava/lang/Object;ID)V
to replace writing to a double[]. - doubleWrite() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
Returns "arrayWriteDouble" as the name of the static method with the signature (Ljava/lang/Object;ID)V to replace writing to a double[].
- DREM - Static variable in interface javassist.bytecode.Opcode
- DRETURN - Static variable in interface javassist.bytecode.Opcode
- DSTORE - Static variable in interface javassist.bytecode.Opcode
- DSTORE_0 - Static variable in interface javassist.bytecode.Opcode
- DSTORE_1 - Static variable in interface javassist.bytecode.Opcode
- DSTORE_2 - Static variable in interface javassist.bytecode.Opcode
- DSTORE_3 - Static variable in interface javassist.bytecode.Opcode
- DSUB - Static variable in interface javassist.bytecode.Opcode
- Dump - Class in javassist.tools
-
Dump is a tool for viewing the class definition in the given class file.
- DUP - Static variable in interface javassist.bytecode.Opcode
- DUP_X1 - Static variable in interface javassist.bytecode.Opcode
- DUP_X2 - Static variable in interface javassist.bytecode.Opcode
- DUP2 - Static variable in interface javassist.bytecode.Opcode
- DUP2_X1 - Static variable in interface javassist.bytecode.Opcode
- DUP2_X2 - Static variable in interface javassist.bytecode.Opcode
- DuplicateMemberException - Exception Class in javassist.bytecode
-
An exception thrown when adding a duplicate member is requested.
- DuplicateMemberException(String) - Constructor for exception class javassist.bytecode.DuplicateMemberException
E
- edit(Cast) - Method in class javassist.expr.ExprEditor
-
Edits an expression for explicit type casting (overridable).
- edit(ConstructorCall) - Method in class javassist.expr.ExprEditor
-
Edits a constructor call (overridable).
- edit(FieldAccess) - Method in class javassist.expr.ExprEditor
-
Edits a field-access expression (overridable).
- edit(Handler) - Method in class javassist.expr.ExprEditor
-
Edits a catch clause (overridable).
- edit(Instanceof) - Method in class javassist.expr.ExprEditor
-
Edits an instanceof expression (overridable).
- edit(MethodCall) - Method in class javassist.expr.ExprEditor
-
Edits a method call (overridable).
- edit(NewArray) - Method in class javassist.expr.ExprEditor
-
Edits an expression for array creation (overridable).
- edit(NewExpr) - Method in class javassist.expr.ExprEditor
-
Edits a
new
expression (overridable). - elseExpr() - Method in class javassist.compiler.ast.CondExpr
- emptyTarget(int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
Writes
target_type
andempty_target
oftarget_info
union. - EnclosingMethodAttribute - Class in javassist.bytecode
-
EnclosingMethod_attribute
. - EnclosingMethodAttribute(ConstPool, String) - Constructor for class javassist.bytecode.EnclosingMethodAttribute
-
Constructs an EnclosingMethod attribute.
- EnclosingMethodAttribute(ConstPool, String, String, String) - Constructor for class javassist.bytecode.EnclosingMethodAttribute
-
Constructs an EnclosingMethod attribute.
- encode() - Method in class javassist.bytecode.SignatureAttribute.ClassSignature
-
Returns the encoded string representing the method type signature.
- encode() - Method in class javassist.bytecode.SignatureAttribute.MethodSignature
-
Returns the encoded string representing the method type signature.
- encode() - Method in class javassist.bytecode.SignatureAttribute.ObjectType
-
Returns the encoded string representing the object type signature.
- end() - Method in class javassist.tools.web.Webserver
-
Closes the socket.
- end(int, int, int, int[], ClassFileWriter.AttributeWriter) - Method in class javassist.bytecode.ClassFileWriter
-
Ends writing and returns the contents of the class file.
- end(DataOutputStream, int, int, int, int[], ClassFileWriter.AttributeWriter) - Method in class javassist.bytecode.ClassFileWriter
-
Ends writing and writes the contents of the class file into the given output stream.
- end(StackMapTable.Writer, ClassFileWriter.AttributeWriter) - Method in class javassist.bytecode.ClassFileWriter.MethodWriter
-
Ends adding a new method.
- endPc(int) - Method in class javassist.bytecode.ExceptionTable
-
Returns
endPc
of the n-th entry. - enter() - Method in class javassist.runtime.Cflow
-
Increments the counter.
- ENUM - Static variable in class javassist.bytecode.AccessFlag
- ENUM - Static variable in class javassist.Modifier
- enumConstValue(int, int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes
tag
andenum_const_value
inelement_value
. - enumConstValue(String, String) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes
tag
andenum_const_value
inelement_value
. - EnumMemberValue - Class in javassist.bytecode.annotation
-
Enum constant value.
- EnumMemberValue(int, int, ConstPool) - Constructor for class javassist.bytecode.annotation.EnumMemberValue
-
Constructs an enum constant value.
- EnumMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.EnumMemberValue
-
Constructs an enum constant value.
- eqMember(String, String, int) - Method in class javassist.bytecode.ConstPool
-
Determines whether
CONSTANT_Methodref_info
,CONSTANT_Fieldref_info
, orCONSTANT_InterfaceMethodref_info
structure at the given index has the name and the descriptor given as the arguments. - eqParamTypes(String, String) - Static method in class javassist.bytecode.Descriptor
-
Returns true if the list of the parameter types of desc1 is equal to that of desc2.
- equals(Object) - Method in class javassist.bytecode.analysis.MultiArrayType
- equals(Object) - Method in class javassist.bytecode.analysis.MultiType
- equals(Object) - Method in class javassist.bytecode.analysis.Type
- equals(Object) - Method in class javassist.bytecode.annotation.Annotation
-
Returns true if the given object represents the same annotation as this object.
- equals(Object) - Method in class javassist.CtMethod
-
Indicates whether
obj
has the same name and the same signature as this method. - ExceptionsAttribute - Class in javassist.bytecode
-
Exceptions_attribute
. - ExceptionsAttribute(ConstPool) - Constructor for class javassist.bytecode.ExceptionsAttribute
-
Constructs a new exceptions attribute.
- ExceptionTable - Class in javassist.bytecode
-
exception_table[]
ofCode_attribute
. - ExceptionTable(ConstPool) - Constructor for class javassist.bytecode.ExceptionTable
-
Constructs an
exception_table[]
. - execute(MethodInfo, int, CodeIterator, Frame, Subroutine) - Method in class javassist.bytecode.analysis.Executor
-
Execute the instruction, modeling the effects on the specified frame and subroutine.
- Executor - Class in javassist.bytecode.analysis
-
Executor is responsible for modeling the effects of a JVM instruction on a frame.
- Executor(ClassPool, ConstPool) - Constructor for class javassist.bytecode.analysis.Executor
- exit() - Method in class javassist.runtime.Cflow
-
Decrements the counter.
- exit(int) - Method in class javassist.bytecode.analysis.ControlFlow.Block
-
Returns the n-th block that may be executed after this block.
- exits() - Method in class javassist.bytecode.analysis.ControlFlow.Block
-
Return the number of the blocks that may be executed after this block.
- exportObject(String, Object) - Method in class javassist.tools.rmi.AppletServer
-
Exports an object.
- Expr - Class in javassist.compiler.ast
-
Expression.
- Expr - Class in javassist.expr
-
Expression.
- ExprEditor - Class in javassist.expr
-
A translator of method bodies.
- ExprEditor() - Constructor for class javassist.expr.ExprEditor
-
Default constructor.
F
- F2D - Static variable in interface javassist.bytecode.Opcode
- F2I - Static variable in interface javassist.bytecode.Opcode
- F2L - Static variable in interface javassist.bytecode.Opcode
- FactoryHelper - Class in javassist.util.proxy
-
A helper class for implementing
ProxyFactory
. - FactoryHelper() - Constructor for class javassist.util.proxy.FactoryHelper
- FADD - Static variable in interface javassist.bytecode.Opcode
- fail(ClassNotFoundException) - Static method in class javassist.runtime.DotClass
- FALOAD - Static variable in interface javassist.bytecode.Opcode
- FASTORE - Static variable in interface javassist.bytecode.Opcode
- FCMPG - Static variable in interface javassist.bytecode.Opcode
- FCMPL - Static variable in interface javassist.bytecode.Opcode
- FCONST_0 - Static variable in interface javassist.bytecode.Opcode
- FCONST_1 - Static variable in interface javassist.bytecode.Opcode
- FCONST_2 - Static variable in interface javassist.bytecode.Opcode
- FDIV - Static variable in interface javassist.bytecode.Opcode
- fetchClass(String, int, String, String) - Static method in class javassist.URLClassPath
-
Reads a class file on an http server.
- FieldAccess - Class in javassist.expr
-
Expression for accessing a field.
- FieldDecl - Class in javassist.compiler.ast
- FieldDecl(ASTree, ASTList) - Constructor for class javassist.compiler.ast.FieldDecl
- FieldInfo - Class in javassist.bytecode
-
field_info
structure. - FieldInfo(ConstPool, String, String) - Constructor for class javassist.bytecode.FieldInfo
-
Constructs a
field_info
structure. - FINAL - Static variable in class javassist.bytecode.AccessFlag
- FINAL - Static variable in class javassist.Modifier
- find(String) - Method in class javassist.ByteArrayClassPath
-
Obtains the URL.
- find(String) - Method in class javassist.bytecode.InnerClassesAttribute
-
Finds the entry for the given inner class.
- find(String) - Method in class javassist.ClassClassPath
-
Obtains the URL of the specified class file.
- find(String) - Method in interface javassist.ClassPath
-
Returns the uniform resource locator (URL) of the class file with the specified name.
- find(String) - Method in class javassist.ClassPool
-
Searches the class path to obtain the URL of the class file specified by classname.
- find(String) - Method in class javassist.LoaderClassPath
-
Obtains the URL of the specified class file.
- find(String) - Method in class javassist.URLClassPath
-
Returns the URL.
- find2Methods(Class<?>, String, String, int, String, Method[]) - Static method in class javassist.util.proxy.RuntimeSupport
-
Finds two methods specified by the parameters and stores them into the given array.
- find2Methods(Object, String, String, int, String, Method[]) - Static method in class javassist.util.proxy.RuntimeSupport
-
Deprecated.
- findMethod(Class<?>, String, String) - Static method in class javassist.util.proxy.RuntimeSupport
-
Finds a method with the given name and descriptor.
- findMethod(Object, String, String) - Static method in class javassist.util.proxy.RuntimeSupport
-
Deprecated.replaced by
RuntimeSupport.findMethod(Class, String, String)
- findSuperClassMethod(Class<?>, String, String) - Static method in class javassist.util.proxy.RuntimeSupport
-
Finds a method that has the given name and descriptor and is declared in the super class.
- findSuperMethod(Object, String, String) - Static method in class javassist.util.proxy.RuntimeSupport
-
Finds a method that has the given name and descriptor and is declared in the super class.
- fix(String) - Method in class javassist.ClassMap
-
Prevents a mapping from the specified class name to another name.
- fix(CtClass) - Method in class javassist.ClassMap
-
Prevents a mapping from the specified class name to another name.
- FLOAD - Static variable in interface javassist.bytecode.Opcode
- FLOAD_0 - Static variable in interface javassist.bytecode.Opcode
- FLOAD_1 - Static variable in interface javassist.bytecode.Opcode
- FLOAD_2 - Static variable in interface javassist.bytecode.Opcode
- FLOAD_3 - Static variable in interface javassist.bytecode.Opcode
- FLOAT - Static variable in class javassist.bytecode.analysis.Type
-
Represents the float primitive type
- FLOAT - Static variable in class javassist.bytecode.StackMap
-
Float_variable_info.tag
. - FLOAT - Static variable in class javassist.bytecode.StackMapTable
-
Float_variable_info.tag
. - FloatMemberValue - Class in javassist.bytecode.annotation
-
Floating-point number constant value.
- FloatMemberValue(float, ConstPool) - Constructor for class javassist.bytecode.annotation.FloatMemberValue
-
Constructs a float constant value.
- FloatMemberValue(int, ConstPool) - Constructor for class javassist.bytecode.annotation.FloatMemberValue
-
Constructs a float constant value.
- FloatMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.FloatMemberValue
-
Constructs a float constant value.
- floatRead() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
Returns the name of a static method with the signature
(Ljava/lang/Object;I)F
to replace reading from a float[]. - floatRead() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
Returns "arrayReadFloat" as the name of the static method with the signature (Ljava/lang/Object;I)F to replace reading from a float[].
- floatType - Static variable in class javassist.CtClass
-
The
CtClass
object representing thefloat
type. - floatWrite() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
Returns the name of a static method with the signature
(Ljava/lang/Object;IF)V
to replace writing to a float[]. - floatWrite() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
Returns "arrayWriteFloat" as the name of the static method with the signature (Ljava/lang/Object;IF)V to replace writing to a float[].
- FMUL - Static variable in interface javassist.bytecode.Opcode
- FNEG - Static variable in interface javassist.bytecode.Opcode
- formalParameterTarget(int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
Writes
target_type
andtype_parameter_target
oftarget_info
union. - forward(Object[], int) - Method in class javassist.tools.rmi.Sample
- forwardStatic(Object[], int) - Static method in class javassist.tools.rmi.Sample
- Frame - Class in javassist.bytecode.analysis
-
Represents the stack frame and local variable table at a particular point in time.
- Frame(int, int) - Constructor for class javassist.bytecode.analysis.Frame
-
Create a new frame with the specified local variable table size, and max stack size
- frameAt(int) - Method in class javassist.bytecode.analysis.ControlFlow
-
Returns the types of the local variables and stack frame entries available at the given position.
- framedump - Class in javassist.tools
-
framedump is a tool for viewing a merged combination of the instructions and frame state of all methods in a class.
- FramePrinter - Class in javassist.bytecode.analysis
-
A utility class for printing a merged view of the frame state and the instructions of a method.
- FramePrinter(PrintStream) - Constructor for class javassist.bytecode.analysis.FramePrinter
-
Constructs a bytecode printer.
- freeze() - Method in class javassist.CtClass
-
Makes the class frozen.
- FREM - Static variable in interface javassist.bytecode.Opcode
- FRETURN - Static variable in interface javassist.bytecode.Opcode
- FSTORE - Static variable in interface javassist.bytecode.Opcode
- FSTORE_0 - Static variable in interface javassist.bytecode.Opcode
- FSTORE_1 - Static variable in interface javassist.bytecode.Opcode
- FSTORE_2 - Static variable in interface javassist.bytecode.Opcode
- FSTORE_3 - Static variable in interface javassist.bytecode.Opcode
- FSUB - Static variable in interface javassist.bytecode.Opcode
- fullFrame(int, int[], int[], int[], int[]) - Method in class javassist.bytecode.StackMapTable.Writer
-
Writes a
full_frame
. - fullFrame(int, int, int[], int[], int[], int[]) - Method in class javassist.bytecode.StackMapTable.Walker
-
Invoked if the visited frame is
full_frame
.
G
- Gap() - Constructor for class javassist.bytecode.CodeIterator.Gap
- get() - Method in class javassist.bytecode.AttributeInfo
-
Returns the
info
field of thisattribute_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() - Method in class javassist.compiler.ast.DoubleConst
- get() - Method in class javassist.compiler.ast.IntConst
- get() - Method in class javassist.compiler.ast.Keyword
- get() - Method in class javassist.compiler.ast.StringL
- get() - Method in class javassist.compiler.ast.Symbol
- 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 interface javassist.util.proxy.ProxyFactory.UniqueName
-
Returns a unique class name.
- 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(CtClass) - Static method in class javassist.bytecode.analysis.Type
-
Obtain the Type for a given class.
- get(ProxyFactory) - Method in interface javassist.util.proxy.ProxyFactory.ClassLoaderProvider
-
Returns a class loader.
- 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(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.
- getAnnotation(String) - Method in class javassist.bytecode.AnnotationsAttribute
-
Parses the annotations and returns a data structure representing the annotation with the specified 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.
- getArguments() - Method in class javassist.compiler.ast.NewExpr
- getArrayDim() - Method in class javassist.compiler.ast.CastExpr
- getArrayDim() - Method in class javassist.compiler.ast.Declarator
- getArraySize() - Method in class javassist.compiler.ast.NewExpr
- getArrayType() - Method in class javassist.compiler.ast.NewExpr
- 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.
- getBody() - Method in class javassist.compiler.ast.MethodDecl
- getCause() - Method in exception class 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()
inCtClass
, etc. - getClassMetaobject() - Method in class javassist.tools.reflect.Metaobject
-
Obtains the class metaobject associated with this metaobject.
- getClassName() - Method in exception class 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.compiler.ast.CastExpr
- getClassName() - Method in class javassist.compiler.ast.Declarator
- getClassName() - Method in class javassist.compiler.ast.NewExpr
- 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
ofCode_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() - 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.
- getConstructor(String) - Method in class javassist.CtClass
-
Returns the constructor with the given signature, which is represented by a character string called method descriptor.
- 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.
- getDeclarator() - Method in class javassist.compiler.ast.FieldDecl
- getDeclarator() - Method in class javassist.compiler.ast.Variable
- 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) - Method in class javassist.CtClass
-
Retrieves the method with the specified name among the methods 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.
- 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. - getDynamicBootstrap(int) - Method in class javassist.bytecode.ConstPool
-
Reads the
bootstrap_method_attr_index
field of theCONSTANT_Dynamic_info
structure at the given index. - getDynamicNameAndType(int) - Method in class javassist.bytecode.ConstPool
-
Reads the
name_and_type_index
field of theCONSTANT_Dynamic_info
structure at the given index. - getDynamicType(int) - Method in class javassist.bytecode.ConstPool
-
Reads the
descriptor_index
field of theCONSTANT_NameAndType_info
structure indirectly specified by 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
-
Deprecated.The enclosing method might be a constructor. Use
CtClass.getEnclosingBehavior()
. - 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() - Method in class javassist.compiler.ast.Member
- getField() - Method in class javassist.expr.FieldAccess
-
Returns the field accessed by this expression.
- 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 - Static variable in interface javassist.bytecode.Opcode
- 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 theCONSTANT_Fieldref_info
structure at the given index. - getFieldrefClassName(int) - Method in class javassist.bytecode.ConstPool
-
Reads the
class_index
field of theCONSTANT_Fieldref_info
structure at the given index. - getFieldrefName(int) - Method in class javassist.bytecode.ConstPool
-
Reads the
name_index
field of theCONSTANT_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 theCONSTANT_Fieldref_info
structure at the given index. - getFieldrefType(int) - Method in class javassist.bytecode.ConstPool
-
Reads the
descriptor_index
field of theCONSTANT_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() - Method in interface javassist.util.proxy.ProxyObject
-
Get the handler.
- getHandler(Proxy) - Static method in class javassist.util.proxy.ProxyFactory
-
Obtains the method handler of the given proxy object.
- getImportedPackages() - Method in class javassist.ClassPool
-
Returns all the package names recorded by
importPackage()
. - getInit() - Method in class javassist.compiler.ast.FieldDecl
- getInitializer() - Method in class javassist.compiler.ast.Declarator
- getInitializer() - Method in class javassist.compiler.ast.NewExpr
- 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 theCONSTANT_InterfaceMethodref_info
structure at the given index. - getInterfaceMethodrefClassName(int) - Method in class javassist.bytecode.ConstPool
-
Reads the
class_index
field of theCONSTANT_InterfaceMethodref_info
structure at the given index. - getInterfaceMethodrefName(int) - Method in class javassist.bytecode.ConstPool
-
Reads the
name_index
field of theCONSTANT_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 theCONSTANT_InterfaceMethodref_info
structure at the given index. - getInterfaceMethodrefType(int) - Method in class javassist.bytecode.ConstPool
-
Reads the
descriptor_index
field of theCONSTANT_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 theCONSTANT_InvokeDynamic_info
structure at the given index. - getInvokeDynamicNameAndType(int) - Method in class javassist.bytecode.ConstPool
-
Reads the
name_and_type_index
field of theCONSTANT_InvokeDynamic_info
structure at the given index. - getInvokeDynamicType(int) - Method in class javassist.bytecode.ConstPool
-
Reads the
descriptor_index
field of theCONSTANT_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. - getLeft() - Method in class javassist.compiler.ast.ASTList
- getLeft() - Method in class javassist.compiler.ast.ASTree
- getLeft() - Method in class javassist.compiler.ast.Pair
- 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. - 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.
- getLocal(int) - Method in class javassist.bytecode.analysis.Frame
-
Returns the local varaible table entry at index.
- getLocalVar() - Method in class javassist.compiler.ast.Declarator
- 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
. - getMark2() - Method in class javassist.bytecode.CodeIterator
-
Gets the index of the position of the mark set by
setMark2
. - 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 theCONSTANT_Fieldref_info
,CONSTANT_Methodref_info
, orCONSTANT_Interfaceref_info
, structure at the given index. - getMemberNameAndType(int) - Method in class javassist.bytecode.ConstPool
-
Reads the
name_and_type_index
field of theCONSTANT_Fieldref_info
,CONSTANT_Methodref_info
, orCONSTANT_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() - Method in class javassist.compiler.ast.CallExpr
- 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 byidentifier
. - 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.
- getMethodHandleIndex(int) - Method in class javassist.bytecode.ConstPool
-
Reads the
reference_index
field of theCONSTANT_MethodHandle_info
structure at the given index. - getMethodHandleKind(int) - Method in class javassist.bytecode.ConstPool
-
Reads the
reference_kind
field of theCONSTANT_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 theCONSTANT_Methodref_info
structure at the given index. - getMethodrefClassName(int) - Method in class javassist.bytecode.ConstPool
-
Reads the
class_index
field of theCONSTANT_Methodref_info
structure at the given index. - getMethodrefName(int) - Method in class javassist.bytecode.ConstPool
-
Reads the
name_index
field of theCONSTANT_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 theCONSTANT_Methodref_info
structure at the given index. - getMethodrefType(int) - Method in class javassist.bytecode.ConstPool
-
Reads the
descriptor_index
field of theCONSTANT_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 theCONSTANT_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.compiler.ast.FieldDecl
- getModifiers() - Method in class javassist.compiler.ast.MethodDecl
- 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.
- getModuleInfo(int) - Method in class javassist.bytecode.ConstPool
-
Reads the
name_index
field of theCONSTANT_Module_info
structure at the given index. - 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.compiler.ast.Expr
- 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 theCONSTANT_NameAndType_info
structure at the given index. - getNameAndTypeName(int) - Method in class javassist.bytecode.ConstPool
-
Reads the
name_index
field of theCONSTANT_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.
- getOperator() - Method in class javassist.compiler.ast.Expr
- getOperator() - Method in class javassist.compiler.ast.Stmnt
- getOprand() - Method in class javassist.compiler.ast.CastExpr
- 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. - getPackageInfo(int) - Method in class javassist.bytecode.ConstPool
-
Reads the
name_index
field of theCONSTANT_Package_info
structure at the given index. - 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() - 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 byidentifier
. - getParameterTypes(int) - Method in class javassist.tools.reflect.Metaobject
-
Returns an array of
Class
objects representing the formal parameter types of the method specified byidentifier
. - getParameterTypes(String, ClassPool) - Static method in class javassist.bytecode.Descriptor
-
Returns the
CtClass
objects representing the parameter types specified by the given descriptor. - getParams() - Method in class javassist.compiler.ast.MethodDecl
- 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 class javassist.CannotCompileException
-
Gets a long message if it is available.
- getReason() - Method in exception class javassist.tools.reflect.CannotInvokeException
-
Returns the cause of this exception.
- getRefClasses() - Method in class javassist.CtClass
-
Returns a collection of the names of all the classes referenced in this class.
- getRefClasses(Map<String, String>) - Method in class javassist.bytecode.ClassFile
-
Internal-use only.
- getReflectiveMethods() - Method in class javassist.tools.reflect.ClassMetaobject
-
Returns an array of the methods defined on the given reflective object.
- getReturn() - Method in class javassist.compiler.ast.MethodDecl
- getReturnOp() - Method in class javassist.CtPrimitiveType
-
Returns the opcode for returning a value of the type.
- 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 byidentifier
. - getReturnType(int) - Method in class javassist.tools.reflect.Metaobject
-
Returns a
Class
objects representing the return type of the method specified byidentifier
. - getReturnType(String, ClassPool) - Static method in class javassist.bytecode.Descriptor
-
Returns the
CtClass
object representing the return type specified by the given descriptor. - getRight() - Method in class javassist.compiler.ast.ASTList
- getRight() - Method in class javassist.compiler.ast.ASTree
- getRight() - Method in class javassist.compiler.ast.Pair
- 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.Bytecode
- 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.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()
. - getSuperClass() - Method in class javassist.bytecode.SignatureAttribute.ClassSignature
-
Returns the super class.
- getSuperclassId() - Method in class javassist.bytecode.ClassFile
-
Returns the index of the constant pool entry representing the super class.
- getTag() - Method in class javassist.compiler.ast.ArrayInit
- getTag() - Method in class javassist.compiler.ast.CastExpr
- getTag() - Method in class javassist.compiler.ast.CondExpr
- getTag() - Method in class javassist.compiler.ast.Declarator
- getTag() - Method in class javassist.compiler.ast.InstanceOfExpr
- 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. - getThrows() - Method in class javassist.compiler.ast.MethodDecl
- 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.compiler.ast.CastExpr
- getType() - Method in class javassist.compiler.ast.Declarator
- getType() - Method in class javassist.compiler.ast.DoubleConst
- getType() - Method in class javassist.compiler.ast.IntConst
- 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.
- getVariable() - Method in class javassist.compiler.ast.Declarator
- 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.
H
- Handler - Class in javassist.expr
-
A
catch
clause or afinally
block. - handlerPc(int) - Method in class javassist.bytecode.ExceptionTable
-
Returns
handlerPc
of the n-th entry. - hasAnnotation(Class<?>) - Method in class javassist.CtClass
-
Returns true if the class has the specified annotation type.
- hasAnnotation(Class<?>) - Method in class javassist.CtMember
-
Returns true if the class has the specified annotation type.
- hasAnnotation(String) - Method in class javassist.CtBehavior
-
Returns true if the class has the specified annotation type.
- hasAnnotation(String) - Method in class javassist.CtClass
-
Returns true if the class has the specified annotation type.
- hasAnnotation(String) - Method in class javassist.CtField
-
Returns true if the class has the specified annotation type.
- hasAnnotation(String) - Method in class javassist.CtMember
-
Returns true if the class has the specified annotation type.
- hashCode() - Method in class javassist.bytecode.analysis.MultiArrayType
- hashCode() - Method in class javassist.bytecode.analysis.MultiType
- hashCode() - Method in class javassist.bytecode.analysis.Type
- hashCode() - Method in class javassist.bytecode.annotation.Annotation
- hashCode() - Method in class javassist.bytecode.annotation.AnnotationImpl
-
Returns a hash code value for this object.
- hashCode() - Method in class javassist.CtMethod
-
Returns a hash code value for the method.
- hasNext() - Method in class javassist.bytecode.CodeIterator
-
Returns true if there is more instructions.
- hasNext() - Method in class javassist.bytecode.Descriptor.Iterator
-
Returns true if the iteration has more elements.
- head() - Method in class javassist.compiler.ast.ASTList
-
Returns the car part of the list.
- hostClassIndex() - Method in class javassist.bytecode.NestHostAttribute
-
Returns
host_class_index
. - HotSwapAgent - Class in javassist.util
-
A utility class for dynamically adding a new method or modifying an existing method body.
- HotSwapAgent() - Constructor for class javassist.util.HotSwapAgent
- HotSwapper - Class in javassist.util
-
A utility class for dynamically reloading a class by the Java Platform Debugger Architecture (JPDA), or HotSwap.
- HotSwapper(int) - Constructor for class javassist.util.HotSwapper
-
Connects to the JVM.
- HotSwapper(String) - Constructor for class javassist.util.HotSwapper
-
Connects to the JVM.
- htmlfileBase - Variable in class javassist.tools.web.Webserver
-
The top directory of html (and .gif, .class, ...) files.
I
- 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 - Variable in class javassist.bytecode.LineNumberAttribute.Pc
-
The index into the code array.
- 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(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 class javassist.CannotCompileException
-
Initializes the cause of this throwable.
- Initializer() - Constructor for class javassist.CtField.Initializer
- initName - Static variable in class javassist.compiler.ast.MethodDecl
- 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 tonext()
). - 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(String, boolean, 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, boolean, String) - Method in class javassist.CtBehavior
-
Inserts bytecode at the specified line in the body.
- 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(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(String) - Method in class javassist.ClassPool
-
Inserts a directory or a jar (or zip) file at the head of the search path.
- insertClassPath(ClassPath) - Method in class javassist.ClassPool
-
Insert a
ClassPath
object 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 tonext()
). - 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 tonext()
). - 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 tonext()
). - 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) - Method in class javassist.CtBehavior
-
Inserts a new parameter, which becomes the first parameter.
- 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.
- Instanceof - Class in javassist.expr
-
Instanceof operator.
- INSTANCEOF - Static variable in interface javassist.bytecode.Opcode
- InstanceOfExpr - Class in javassist.compiler.ast
-
Instanceof expression.
- InstanceOfExpr(int, int, ASTree) - Constructor for class javassist.compiler.ast.InstanceOfExpr
- InstanceOfExpr(ASTList, int, ASTree) - Constructor for class javassist.compiler.ast.InstanceOfExpr
- 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(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.CtBehavior
-
Modifies the method/constructor body.
- instrument(ExprEditor) - Method in class javassist.CtClass
-
Modifies the bodies of all methods and constructors declared in the class.
- instrumentation() - Method in class javassist.util.HotSwapAgent
-
Obtains the
Instrumentation
object. - IntConst - Class in javassist.compiler.ast
-
Integer constant.
- IntConst(long, int) - Constructor for class javassist.compiler.ast.IntConst
- 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.
- 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
. - 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) - 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.
- 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 theint
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, 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, Object[]) - Method in class javassist.bytecode.annotation.AnnotationImpl
-
Executes a method invocation on a proxy instance.
- 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.
- invokeDefineClass(CtClass) - Method in class javassist.Loader.Simple
-
Invokes the protected
defineClass()
inClassLoader
. - 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.compiler.ast.NewExpr
- 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() - Method in class javassist.bytecode.MethodInfo
-
Returns true if this is a constructor.
- isConstructor() - Method in class javassist.compiler.ast.MethodDecl
- isConstructor() - Method in class javassist.CtConstructor
-
Returns true if this object represents a constructor.
- 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. - 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
- isKotlin() - Method in class javassist.CtClass
-
Returns
true
if this object represents a Kotlin class. - isMember(String, String, int) - Method in class javassist.bytecode.ConstPool
-
Determines whether
CONSTANT_Methodref_info
,CONSTANT_Fieldref_info
, orCONSTANT_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
, orprivate
. - 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(Class<?>) - Static method in class javassist.util.proxy.ProxyFactory
-
determine if a class is a javassist proxy class
- isProxyClass(String) - Method in class javassist.tools.rmi.StubGenerator
-
Returns
true
if the specified class is a proxy class recorded bymakeProxyClass()
. - 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()
butsuper()
(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
- isVarArgs(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers include the
varargs
(variable number of arguments) modifier. - 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
J
- JAVA_1 - Static variable in class javassist.bytecode.ClassFile
-
The major version number of class files for JDK 1.1.
- JAVA_10 - Static variable in class javassist.bytecode.ClassFile
-
The major version number of class files for JDK 10.
- JAVA_11 - Static variable in class javassist.bytecode.ClassFile
-
The major version number of class files for JDK 11.
- JAVA_2 - Static variable in class javassist.bytecode.ClassFile
-
The major version number of class files for JDK 1.2.
- JAVA_3 - Static variable in class javassist.bytecode.ClassFile
-
The major version number of class files for JDK 1.3.
- JAVA_4 - Static variable in class javassist.bytecode.ClassFile
-
The major version number of class files for JDK 1.4.
- JAVA_5 - Static variable in class javassist.bytecode.ClassFile
-
The major version number of class files for JDK 1.5.
- JAVA_6 - Static variable in class javassist.bytecode.ClassFile
-
The major version number of class files for JDK 1.6.
- JAVA_7 - Static variable in class javassist.bytecode.ClassFile
-
The major version number of class files for JDK 1.7.
- JAVA_8 - Static variable in class javassist.bytecode.ClassFile
-
The major version number of class files for JDK 1.8.
- JAVA_9 - Static variable in class javassist.bytecode.ClassFile
-
The major version number of class files for JDK 1.9.
- javassist - package javassist
-
The Javassist Core API.
- javassist.bytecode - package javassist.bytecode
-
Bytecode-level API.
- javassist.bytecode.analysis - package javassist.bytecode.analysis
-
Bytecode Analysis API.
- javassist.bytecode.annotation - package javassist.bytecode.annotation
-
Bytecode-level Annotations API.
- javassist.compiler.ast - package javassist.compiler.ast
- javassist.expr - package javassist.expr
-
This package contains the classes for modifying a method body.
- javassist.runtime - package javassist.runtime
-
Runtime support classes required by modified bytecode.
- javassist.tools - package javassist.tools
-
Covenient tools.
- javassist.tools.reflect - package javassist.tools.reflect
-
Runtime Behavioral Reflection.
- javassist.tools.rmi - package javassist.tools.rmi
-
Sample implementation of remote method invocation.
- javassist.tools.web - package javassist.tools.web
-
Simple web server for running sample code.
- javassist.util - package javassist.util
-
Utility classes.
- javassist.util.proxy - package javassist.util.proxy
-
Dynamic proxy (similar to
Enhancer
of cglib). - JSR - Static variable in interface javassist.bytecode.Opcode
- JSR_W - Static variable in interface javassist.bytecode.Opcode
- jvmTypeName() - Method in class javassist.bytecode.SignatureAttribute.ClassType
-
Returns the type name in the JVM internal style.
- jvmTypeName() - Method in class javassist.bytecode.SignatureAttribute.Type
-
Returns the type name in the JVM internal style.
K
- Keyword - Class in javassist.compiler.ast
-
Keyword.
- Keyword(int) - Constructor for class javassist.compiler.ast.Keyword
L
- L2D - Static variable in interface javassist.bytecode.Opcode
- L2F - Static variable in interface javassist.bytecode.Opcode
- L2I - Static variable in interface javassist.bytecode.Opcode
- LADD - Static variable in interface javassist.bytecode.Opcode
- LALOAD - Static variable in interface javassist.bytecode.Opcode
- LAND - Static variable in interface javassist.bytecode.Opcode
- LASTORE - Static variable in interface javassist.bytecode.Opcode
- LCMP - Static variable in interface javassist.bytecode.Opcode
- LCONST_0 - Static variable in interface javassist.bytecode.Opcode
- LCONST_1 - Static variable in interface javassist.bytecode.Opcode
- LDC - Static variable in interface javassist.bytecode.Opcode
- LDC_W - Static variable in interface javassist.bytecode.Opcode
- LDC2_W - Static variable in interface javassist.bytecode.Opcode
- LDIV - Static variable in interface javassist.bytecode.Opcode
- length - Variable in class javassist.bytecode.CodeIterator.Gap
-
The length of the gap.
- length() - Method in class javassist.bytecode.analysis.ControlFlow.Block
-
Returns the length of this block.
- length() - Method in class javassist.bytecode.AttributeInfo
-
Returns the length of this
attribute_info
structure. - length() - Method in class javassist.bytecode.Bytecode
-
Returns the length of the bytecode sequence.
- length() - Method in class javassist.bytecode.CodeAttribute
-
Returns the length of this
attribute_info
structure. - length() - Method in class javassist.compiler.ast.ASTList
-
Returns the number of the elements in this list.
- length(ASTList) - Static method in class javassist.compiler.ast.ASTList
- line - Variable in class javassist.bytecode.LineNumberAttribute.Pc
-
The line number.
- lineNumber(int) - Method in class javassist.bytecode.LineNumberAttribute
-
Returns
line_number_table[i].line_number
. - LineNumberAttribute - Class in javassist.bytecode
-
LineNumberTable_attribute
. - LineNumberAttribute.Pc - Class in javassist.bytecode
-
Used as a return type of
toNearPc()
. - LLOAD - Static variable in interface javassist.bytecode.Opcode
- LLOAD_0 - Static variable in interface javassist.bytecode.Opcode
- LLOAD_1 - Static variable in interface javassist.bytecode.Opcode
- LLOAD_2 - Static variable in interface javassist.bytecode.Opcode
- LLOAD_3 - Static variable in interface javassist.bytecode.Opcode
- LMUL - Static variable in interface javassist.bytecode.Opcode
- LNEG - Static variable in interface javassist.bytecode.Opcode
- Loader - Class in javassist
-
The class loader for Javassist.
- Loader - Class in javassist.tools.reflect
-
A class loader for reflection.
- Loader() - Constructor for class javassist.Loader
-
Creates a new class loader.
- Loader() - Constructor for class javassist.tools.reflect.Loader
-
Constructs a new class loader.
- Loader(ClassLoader, ClassPool) - Constructor for class javassist.Loader
-
Creates a new class loader using the specified parent class loader for delegation.
- Loader(ClassPool) - Constructor for class javassist.Loader
-
Creates a new class loader.
- Loader.Simple - Class in javassist
-
A simpler class loader.
- LoaderClassPath - Class in javassist
-
A class search-path representing a class loader.
- LoaderClassPath(ClassLoader) - Constructor for class javassist.LoaderClassPath
-
Creates a search path representing a class loader.
- locals(int, int, int) - Method in class javassist.bytecode.StackMap.Walker
-
Invoked when
locals
ofstack_map_frame
is visited. - localsLength() - Method in class javassist.bytecode.analysis.Frame
-
Returns the number of local variable table entries, specified at construction.
- LocalVariableAttribute - Class in javassist.bytecode
-
LocalVariableTable_attribute
. - LocalVariableAttribute(ConstPool) - Constructor for class javassist.bytecode.LocalVariableAttribute
-
Constructs an empty LocalVariableTable.
- LocalVariableAttribute(ConstPool, String) - Constructor for class javassist.bytecode.LocalVariableAttribute
-
Deprecated.
- LocalVariableTypeAttribute - Class in javassist.bytecode
-
LocalVariableTypeTable_attribute
. - LocalVariableTypeAttribute(ConstPool) - Constructor for class javassist.bytecode.LocalVariableTypeAttribute
-
Constructs an empty LocalVariableTypeTable.
- localVarTarget(int, int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
Writes
target_type
andlocalvar_target
oftarget_info
union. - localVarTargetTable(int, int, int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
Writes an element of
table[]
oflocalvar_target
oftarget_info
union. - logging(String) - Method in class javassist.tools.web.Webserver
-
Prints a log message.
- logging(String, String) - Method in class javassist.tools.web.Webserver
-
Prints a log message.
- logging(String, String, String) - Method in class javassist.tools.web.Webserver
-
Prints a log message.
- logging2(String) - Method in class javassist.tools.web.Webserver
-
Prints a log message with indentation.
- LONG - Static variable in class javassist.bytecode.analysis.Type
-
Represents the long primitive type
- LONG - Static variable in class javassist.bytecode.StackMap
-
Long_variable_info.tag
. - LONG - Static variable in class javassist.bytecode.StackMapTable
-
Long_variable_info.tag
. - LongMemberValue - Class in javassist.bytecode.annotation
-
Long integer constant value.
- LongMemberValue(int, ConstPool) - Constructor for class javassist.bytecode.annotation.LongMemberValue
-
Constructs a long constant value.
- LongMemberValue(long, ConstPool) - Constructor for class javassist.bytecode.annotation.LongMemberValue
-
Constructs a long constant value.
- LongMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.LongMemberValue
-
Constructs a long constant value.
- longRead() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
Returns the name of a static method with the signature
(Ljava/lang/Object;I)J
to replace reading from a long[]. - longRead() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
Returns "arrayReadLong" as the name of the static method with the signature (Ljava/lang/Object;I)J to replace reading from a long[].
- longType - Static variable in class javassist.CtClass
-
The
CtClass
object representing thelong
type. - longWrite() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
Returns the name of a static method with the signature
(Ljava/lang/Object;IJ)V
to replace writing to a long[]. - longWrite() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
Returns "arrayWriteLong" as the name of the static method with the signature (Ljava/lang/Object;IJ)V to replace writing to a long[].
- lookAhead() - Method in class javassist.bytecode.CodeIterator
-
Obtains the value that the next call to
next()
will return. - lookupCflow(String) - Method in class javassist.ClassPool
-
Undocumented method.
- lookupObject(String) - Method in class javassist.tools.rmi.ObjectImporter
-
Finds the object exported by the server with the specified name.
- LOOKUPSWITCH - Static variable in interface javassist.bytecode.Opcode
- LOR - Static variable in interface javassist.bytecode.Opcode
- LREM - Static variable in interface javassist.bytecode.Opcode
- LRETURN - Static variable in interface javassist.bytecode.Opcode
- LSHL - Static variable in interface javassist.bytecode.Opcode
- LSHR - Static variable in interface javassist.bytecode.Opcode
- LSTORE - Static variable in interface javassist.bytecode.Opcode
- LSTORE_0 - Static variable in interface javassist.bytecode.Opcode
- LSTORE_1 - Static variable in interface javassist.bytecode.Opcode
- LSTORE_2 - Static variable in interface javassist.bytecode.Opcode
- LSTORE_3 - Static variable in interface javassist.bytecode.Opcode
- LSUB - Static variable in interface javassist.bytecode.Opcode
- LUSHR - Static variable in interface javassist.bytecode.Opcode
- LXOR - Static variable in interface javassist.bytecode.Opcode
M
- main(String[]) - Static method in class javassist.CtClass
-
Prints the version number and the copyright notice.
- main(String[]) - Static method in class javassist.Loader
-
Loads a class with an instance of
Loader
and callsmain()
of that class. - main(String[]) - Static method in class javassist.tools.Dump
-
Main method.
- main(String[]) - Static method in class javassist.tools.framedump
-
Main method.
- main(String[]) - Static method in class javassist.tools.reflect.Compiler
- main(String[]) - Static method in class javassist.tools.reflect.Loader
-
Loads a class with an instance of
Loader
and callsmain()
in that class. - main(String[]) - Static method in class javassist.tools.web.Viewer
-
Starts a program.
- main(String[]) - Static method in class javassist.tools.web.Webserver
-
Starts a web server.
- MAJOR_VERSION - Static variable in class javassist.bytecode.ClassFile
-
The major version number of class files created from scratch.
- make(int, ASTree) - Static method in class javassist.compiler.ast.Expr
- make(int, ASTree, ASTree) - Static method in class javassist.compiler.ast.Expr
- make(int, ASTree, ASTree) - Static method in class javassist.compiler.ast.Stmnt
- make(int, ASTree, ASTree, ASTree) - Static method in class javassist.compiler.ast.Stmnt
- make(int, CtClass, String, CtClass[], CtClass[], String, CtClass) - Static method in class javassist.CtNewMethod
-
Creates a method.
- make(ClassLoader, Class<?>, ClassPool, Annotation) - Static method in class javassist.bytecode.annotation.AnnotationImpl
-
Constructs an annotation object.
- make(String, CtClass) - Static method in class javassist.CtField
-
Compiles the given source code and creates a field.
- make(String, CtClass) - Static method in class javassist.CtMethod
-
Compiles the given source code and creates a method.
- make(String, CtClass) - Static method in class javassist.CtNewConstructor
-
Compiles the given source code and creates a constructor.
- make(String, CtClass) - Static method in class javassist.CtNewMethod
-
Compiles the given source code and creates a method.
- make(String, CtClass, String, String) - Static method in class javassist.CtNewMethod
-
Compiles the given source code and creates a method.
- make(MethodInfo, CtClass) - Static method in class javassist.CtMethod
-
Creates a method from a
MethodInfo
object. - make(ASTree, ASTree, ASTree) - Static method in class javassist.compiler.ast.ASTList
- make(Symbol, int, ASTree) - Method in class javassist.compiler.ast.Declarator
- make(CtClass[], CtClass[], int, CtMethod, CtMethod.ConstParameter, CtClass) - Static method in class javassist.CtNewConstructor
-
Creates a public constructor.
- make(CtClass[], CtClass[], String, CtClass) - Static method in class javassist.CtNewConstructor
-
Creates a public constructor.
- make(CtClass[], CtClass[], CtClass) - Static method in class javassist.CtNewConstructor
-
Creates a public constructor that only calls a constructor in the super class.
- make(CtClass, String, CtClass[], CtClass[], String, CtClass) - Static method in class javassist.CtNewMethod
-
Creates a public (non-static) method.
- makeAnnotation(String) - Method in class javassist.ClassPool
-
Creates a new annotation.
- makeAssign(int, ASTree, ASTree) - Static method in class javassist.compiler.ast.AssignExpr
- makeBin(int, ASTree, ASTree) - Static method in class javassist.compiler.ast.BinExpr
- makeCall(ASTree, ASTree) - Static method in class javassist.compiler.ast.CallExpr
- makeClass(InputStream) - Method in class javassist.ClassPool
-
Creates a new class (or interface) from the given class file.
- makeClass(InputStream, boolean) - Method in class javassist.ClassPool
-
Creates a new class (or interface) from the given class file.
- makeClass(String) - Method in class javassist.ClassPool
-
Creates a new public class.
- makeClass(String, CtClass) - Method in class javassist.ClassPool
-
Creates a new public class.
- makeClass(ClassFile) - Method in class javassist.ClassPool
-
Creates a new class (or interface) from the given class file.
- makeClass(ClassFile, boolean) - Method in class javassist.ClassPool
-
Creates a new class (or interface) from the given class file.
- makeClassIfNew(InputStream) - Method in class javassist.ClassPool
-
Creates a new class (or interface) from the given class file.
- makeClassInitializer() - Method in class javassist.CtClass
-
Makes an empty class initializer (static constructor).
- makeDescriptor(Class<?>[], Class<?>) - Static method in class javassist.util.proxy.RuntimeSupport
-
Makes a descriptor for a given method.
- makeDescriptor(Method) - Static method in class javassist.util.proxy.RuntimeSupport
-
Makes a descriptor for a given method.
- makeDescriptor(String, Class<?>) - Static method in class javassist.util.proxy.RuntimeSupport
-
Makes a descriptor for a given method.
- makeInterface(String) - Method in class javassist.ClassPool
-
Creates a new public interface.
- makeInterface(String, CtClass) - Method in class javassist.ClassPool
-
Creates a new public interface.
- makeNestedClass(String, boolean) - Method in class javassist.CtClass
-
Makes a new public nested class.
- makeObjectArray(ASTList, ASTList, ArrayInit) - Static method in class javassist.compiler.ast.NewExpr
- makePackage(ClassLoader, String) - Method in class javassist.ClassPool
-
Deprecated.
- makeProxyClass(Class<?>) - Method in class javassist.tools.rmi.StubGenerator
-
Makes a proxy class.
- makeReflective(Class<?>, Class<?>, Class<?>) - Method in class javassist.tools.reflect.Reflection
-
Produces a reflective class.
- makeReflective(String, String, String) - Method in class javassist.tools.reflect.Loader
-
Produces a reflective class.
- makeReflective(String, String, String) - Method in class javassist.tools.reflect.Reflection
-
Produces a reflective class.
- makeReflective(CtClass, CtClass, CtClass) - Method in class javassist.tools.reflect.Reflection
-
Produces a reflective class.
- makeSerializedProxy(Object) - Static method in class javassist.util.proxy.RuntimeSupport
-
Converts a proxy object to an object that is writable to an object stream.
- makeUniqueName(String) - Method in class javassist.CtClass
-
Makes a unique member name.
- MANDATED - Static variable in class javassist.bytecode.AccessFlag
- mayThrow() - Method in class javassist.expr.Cast
-
Returns the list of exceptions that the expression may throw.
- mayThrow() - Method in class javassist.expr.Expr
-
Returns the list of exceptions that the expression may throw.
- mayThrow() - Method in class javassist.expr.FieldAccess
-
Returns the list of exceptions that the expression may throw.
- mayThrow() - Method in class javassist.expr.Handler
-
Returns the list of exceptions that the catch clause may throw.
- mayThrow() - Method in class javassist.expr.Instanceof
-
Returns the list of exceptions that the expression may throw.
- mayThrow() - Method in class javassist.expr.MethodCall
-
Returns the list of exceptions that the expression may throw.
- mayThrow() - Method in class javassist.expr.NewArray
-
Returns the list of exceptions that the expression may throw.
- mayThrow() - Method in class javassist.expr.NewExpr
-
Returns the list of exceptions that the expression may throw.
- Member - Class in javassist.compiler.ast
-
Member name.
- Member(String) - Constructor for class javassist.compiler.ast.Member
- memberClass(int) - Method in class javassist.bytecode.NestMembersAttribute
-
Returns
classes[index]
. - MemberValue - Class in javassist.bytecode.annotation
-
The value of a member declared in an annotation.
- memberValuePair(int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes an element of a
element_value_pairs
array inannotation
. - memberValuePair(String) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes an element of a
element_value_pairs
array inannotation
. - MemberValueVisitor - Interface in javassist.bytecode.annotation
-
Visitor for traversing member values included in an annotation.
- merge(Frame) - Method in class javassist.bytecode.analysis.Frame
-
Merges all types on the stack and local variable table of this frame with that of the specified type.
- merge(Type) - Method in class javassist.bytecode.analysis.MultiType
- merge(Type) - Method in class javassist.bytecode.analysis.Type
-
Finds the common base type, or interface which both this and the specified type can be assigned.
- mergeStack(Frame) - Method in class javassist.bytecode.analysis.Frame
-
Merges all types on the stack of this frame instance with that of the specified frame.
- Metalevel - Interface in javassist.tools.reflect
-
An interface to access a metaobject and a class metaobject.
- Metaobject - Class in javassist.tools.reflect
-
A runtime metaobject.
- Metaobject(Object, Object[]) - Constructor for class javassist.tools.reflect.Metaobject
-
Constructs a
Metaobject
. - MethodCall - Class in javassist.expr
-
Method invocation (caller-side expression).
- MethodDecl - Class in javassist.compiler.ast
- MethodDecl(ASTree, ASTList) - Constructor for class javassist.compiler.ast.MethodDecl
- methodDescriptor() - Method in class javassist.bytecode.EnclosingMethodAttribute
-
Returns the method descriptor specified by
method_index
. - MethodFilter - Interface in javassist.util.proxy
-
Selector of the methods implemented by a handler.
- MethodHandler - Interface in javassist.util.proxy
-
The interface implemented by the invocation handler of a proxy instance.
- methodIndex() - Method in class javassist.bytecode.EnclosingMethodAttribute
-
Returns the value of
method_index
. - MethodInfo - Class in javassist.bytecode
-
method_info
structure. - MethodInfo(ConstPool, String, String) - Constructor for class javassist.bytecode.MethodInfo
-
Constructs a
method_info
structure. - MethodInfo(ConstPool, String, MethodInfo, Map<String, String>) - Constructor for class javassist.bytecode.MethodInfo
-
Constructs a copy of
method_info
structure. - methodName() - Method in class javassist.bytecode.EnclosingMethodAttribute
-
Returns the method name specified by
method_index
. - MethodParametersAttribute - Class in javassist.bytecode
-
MethodParameters_attribute
. - MethodParametersAttribute(ConstPool, String[], int[]) - Constructor for class javassist.bytecode.MethodParametersAttribute
-
Constructs an attribute.
- methodRef - Variable in class javassist.bytecode.BootstrapMethodsAttribute.BootstrapMethod
-
bootstrap_method_ref
. - MethodSignature(SignatureAttribute.TypeParameter[], SignatureAttribute.Type[], SignatureAttribute.Type, SignatureAttribute.ObjectType[]) - Constructor for class javassist.bytecode.SignatureAttribute.MethodSignature
-
Constructs a method type signature.
- Mnemonic - Interface in javassist.bytecode
-
JVM Instruction Names.
- Modifier - Class in javassist
-
The Modifier class provides static methods and constants to decode class and member access modifiers.
- Modifier() - Constructor for class javassist.Modifier
- MODULE - Static variable in class javassist.bytecode.AccessFlag
- MONITORENTER - Static variable in interface javassist.bytecode.Opcode
- MONITOREXIT - Static variable in interface javassist.bytecode.Opcode
- move(int) - Method in class javassist.bytecode.CodeIterator
-
Moves to the given index.
- MULTIANEWARRAY - Static variable in interface javassist.bytecode.Opcode
- MultiArrayType - Class in javassist.bytecode.analysis
-
Represents an array of
MultiType
instances. - MultiArrayType(MultiType, int) - Constructor for class javassist.bytecode.analysis.MultiArrayType
- MultiType - Class in javassist.bytecode.analysis
-
MultiType represents an unresolved type.
- MultiType(Map<String, CtClass>) - Constructor for class javassist.bytecode.analysis.MultiType
- MultiType(Map<String, CtClass>, Type) - Constructor for class javassist.bytecode.analysis.MultiType
N
- name(int) - Method in class javassist.bytecode.MethodParametersAttribute
-
Returns the value of
name_index
of the i-th element ofparameters
. - nameClinit - Static variable in class javassist.bytecode.MethodInfo
-
The name of class initializer (static initializer):
<clinit>
. - nameGenerator - Static variable in class javassist.util.proxy.ProxyFactory
-
A unique class name generator.
- nameIndex(int) - Method in class javassist.bytecode.LocalVariableAttribute
-
Returns the value of
local_variable_table[i].name_index
. - nameInit - Static variable in class javassist.bytecode.MethodInfo
-
The name of constructors:
<init>
. - NATIVE - Static variable in class javassist.bytecode.AccessFlag
- NATIVE - Static variable in class javassist.Modifier
- NestedClassType(SignatureAttribute.ClassType, String, SignatureAttribute.TypeArgument[]) - Constructor for class javassist.bytecode.SignatureAttribute.NestedClassType
-
Constructs a
NestedClassType
. - NestHostAttribute - Class in javassist.bytecode
-
NestHost_attribute
. - NestMembersAttribute - Class in javassist.bytecode
-
NestMembers_attribute
. - NEW - Static variable in interface javassist.bytecode.Opcode
- NewArray - Class in javassist.expr
-
Array creation.
- NEWARRAY - Static variable in interface javassist.bytecode.Opcode
- NewExpr - Class in javassist.compiler.ast
-
New Expression.
- NewExpr - Class in javassist.expr
-
Object creation (
new
expression). - NewExpr(int, ASTList, ArrayInit) - Constructor for class javassist.compiler.ast.NewExpr
- NewExpr(ASTList, ASTList) - Constructor for class javassist.compiler.ast.NewExpr
- newInstance(Object[]) - Method in class javassist.tools.reflect.ClassMetaobject
-
Creates a new instance of the class.
- next() - Method in class javassist.bytecode.CodeIterator
-
Returns the index of the next instruction (not the operand following the current opcode).
- next() - Method in class javassist.bytecode.Descriptor.Iterator
-
Returns the position of the next type character.
- NOP - Static variable in interface javassist.bytecode.Opcode
- NoSuchClassError - Exception Class in javassist.bytecode.annotation
-
Thrown if the linkage fails.
- NoSuchClassError(String, Error) - Constructor for exception class javassist.bytecode.annotation.NoSuchClassError
-
Constructs an exception.
- NotFoundException - Exception Class in javassist
-
Signals that something could not be found.
- NotFoundException(String) - Constructor for exception class javassist.NotFoundException
- NotFoundException(String, Exception) - Constructor for exception class javassist.NotFoundException
- NULL - Static variable in class javassist.bytecode.StackMap
-
Null_variable_info.tag
. - NULL - Static variable in class javassist.bytecode.StackMapTable
-
Null_variable_info.tag
. - numAnnotations() - Method in class javassist.bytecode.AnnotationsAttribute
-
Returns
num_annotations
. - numAnnotations() - Method in class javassist.bytecode.TypeAnnotationsAttribute
-
Returns
num_annotations
. - numAnnotations(int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes
num_annotations
inRuntime(In)VisibleAnnotations_attribute
. - numAnnotations(int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
Writes
num_annotations
inRuntime(In)VisibleTypeAnnotations_attribute
. - numberOfClasses() - Method in class javassist.bytecode.NestMembersAttribute
-
Returns
number_of_classes
. - numOfEntries() - Method in class javassist.bytecode.StackMap
-
Returns
number_of_entries
. - numOfParameters(String) - Static method in class javassist.bytecode.Descriptor
-
Returns the number of the prameters included in the given descriptor.
- numParameters() - Method in class javassist.bytecode.ParameterAnnotationsAttribute
-
Returns
num_parameters
. - numParameters(int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes
num_parameters
inRuntime(In)VisibleParameterAnnotations_attribute
.
O
- OBJECT - Static variable in class javassist.bytecode.analysis.Type
-
Represents the java.lang.Object reference type
- OBJECT - Static variable in class javassist.bytecode.SignatureAttribute.ClassType
-
A class type representing
java.lang.Object
. - OBJECT - Static variable in class javassist.bytecode.StackMap
-
Object_variable_info.tag
. - OBJECT - Static variable in class javassist.bytecode.StackMapTable
-
Object_variable_info.tag
. - ObjectImporter - Class in javassist.tools.rmi
-
The object importer enables applets to call a method on a remote object running on the
Webserver
(the main class of this package). - ObjectImporter(Applet) - Constructor for class javassist.tools.rmi.ObjectImporter
-
Constructs an object importer.
- ObjectImporter(String, int) - Constructor for class javassist.tools.rmi.ObjectImporter
-
Constructs an object importer.
- ObjectNotFoundException - Exception Class in javassist.tools.rmi
- ObjectNotFoundException(String) - Constructor for exception class javassist.tools.rmi.ObjectNotFoundException
- ObjectNotFoundException(String, Exception) - Constructor for exception class javassist.tools.rmi.ObjectNotFoundException
- objectOrUninitialized(int, int, int) - Method in class javassist.bytecode.StackMapTable.Walker
-
Invoked if
Object_variable_info
orUninitialized_variable_info
is visited. - objectRead() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
Returns the name of a static method with the signature
(Ljava/lang/Object;I)Ljava/lang/Object;
to replace reading from a Object[] (or any subclass of object). - objectRead() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
Returns "arrayReadObject" as the name of the static method with the signature (Ljava/lang/Object;I)Ljava/lang/Object; to replace reading from a Object[] (or any subclass of object).
- ObjectType() - Constructor for class javassist.bytecode.SignatureAttribute.ObjectType
- objectVariable(int, int) - Method in class javassist.bytecode.StackMap.Walker
-
Invoked when an element of type
Object_variable_info
is visited. - objectWrite() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
Returns the name of a static method with the signature
(Ljava/lang/Object;ILjava/lang/Object;)V
to replace writing to a Object[] (or any subclass of object). - objectWrite() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
Returns "arrayWriteObject" as the name of the static method with the signature (Ljava/lang/Object;ILjava/lang/Object;)V to replace writing to a Object[] (or any subclass of object).
- of(int) - Static method in class javassist.bytecode.AccessFlag
-
Converts a javassist.Modifier into a javassist.bytecode.AccessFlag.
- of(String) - Static method in class javassist.bytecode.Descriptor
-
Converts to a descriptor from a Java class name
- of(CtClass) - Static method in class javassist.bytecode.Descriptor
-
Returns the descriptor representing the given type.
- ofConstructor(CtClass[]) - Static method in class javassist.bytecode.Descriptor
-
Returns the descriptor representing a constructor receiving the given parameter types.
- offsetTarget(int, int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
Writes
target_type
andoffset_target
oftarget_info
union. - ofMethod(CtClass, CtClass[]) - Static method in class javassist.bytecode.Descriptor
-
Returns the descriptor representing a method that receives the given parameter types and returns the given type.
- ofParameters(CtClass[]) - Static method in class javassist.bytecode.Descriptor
-
Returns the descriptor representing a list of parameter types.
- oid - Variable in class javassist.tools.rmi.RemoteRef
- onLoad(ClassPool, String) - Method in class javassist.tools.reflect.Reflection
-
Inserts hooks for intercepting accesses to the fields declared in reflective classes.
- onLoad(ClassPool, String) - Method in class javassist.tools.rmi.StubGenerator
-
Does nothing.
- onLoad(ClassPool, String) - Method in interface javassist.Translator
-
Is invoked by a
Loader
for notifying that a class is loaded. - onlyPublicMethods - Static variable in class javassist.util.proxy.ProxyFactory
-
If true, only public/protected methods are forwarded to a proxy object.
- Opcode - Interface in javassist.bytecode
-
JVM Instruction Set.
- OPCODE - Static variable in interface javassist.bytecode.Mnemonic
-
The instruction names (mnemonics) sorted by the opcode.
- openClassfile(String) - Method in class javassist.ByteArrayClassPath
-
Opens the class file.
- openClassfile(String) - Method in class javassist.ClassClassPath
-
Obtains a class file by
getResourceAsStream()
. - openClassfile(String) - Method in interface javassist.ClassPath
-
Opens a class file.
- openClassfile(String) - Method in class javassist.LoaderClassPath
-
Obtains a class file from the class loader.
- openClassfile(String) - Method in class javassist.URLClassPath
-
Opens a class file with http.
- oprand1() - Method in class javassist.compiler.ast.Expr
- oprand2() - Method in class javassist.compiler.ast.Expr
- outerClass(int) - Method in class javassist.bytecode.InnerClassesAttribute
-
Returns the class name indicated by
classes[nth].outer_class_info_index
. - outerClassIndex(int) - Method in class javassist.bytecode.InnerClassesAttribute
-
Returns
classes[nth].outer_class_info_index
.
P
- Pair - Class in javassist.compiler.ast
-
A node of a a binary tree.
- Pair(ASTree, ASTree) - Constructor for class javassist.compiler.ast.Pair
- ParameterAnnotationsAttribute - Class in javassist.bytecode
-
A class representing
RuntimeVisibleAnnotations_attribute
andRuntimeInvisibleAnnotations_attribute
. - ParameterAnnotationsAttribute(ConstPool, String) - Constructor for class javassist.bytecode.ParameterAnnotationsAttribute
-
Constructs an empty
Runtime(In)VisibleParameterAnnotations_attribute
. - ParameterAnnotationsAttribute(ConstPool, String, byte[]) - Constructor for class javassist.bytecode.ParameterAnnotationsAttribute
-
Constructs a
Runtime(In)VisibleParameterAnnotations_attribute
. - parameterName(int) - Method in class javassist.bytecode.MethodParametersAttribute
-
Returns the name of the i-th element of
parameters
. - paramSize(String) - Static method in class javassist.bytecode.Descriptor
-
Computes the data size of parameters.
- parent() - Method in class javassist.bytecode.analysis.ControlFlow.Node
-
Returns the parent of this node.
- parse() - Method in class javassist.bytecode.StackMapTable.Walker
-
Visits each entry of the stack map frames.
- PASS_ARRAY - Static variable in class javassist.CtNewConstructor
-
Specifies that parameters are converted into an array of
Object
and passed to a super-class' constructor. - PASS_NONE - Static variable in class javassist.CtNewConstructor
-
Specifies that no parameters are passed to a super-class' constructor.
- PASS_PARAMS - Static variable in class javassist.CtNewConstructor
-
Specifies that parameters are passed as is to a super-class' constructor.
- Pc() - Constructor for class javassist.bytecode.LineNumberAttribute.Pc
- peek() - Method in class javassist.bytecode.analysis.Frame
-
Gets the top of the stack without altering it
- pop() - Method in class javassist.bytecode.analysis.Frame
-
Alters the stack to contain one less element and return it.
- POP - Static variable in interface javassist.bytecode.Opcode
- POP2 - Static variable in interface javassist.bytecode.Opcode
- position - Variable in class javassist.bytecode.CodeIterator.Gap
-
The position of the gap.
- position() - Method in class javassist.bytecode.analysis.ControlFlow.Block
-
Returns the position of the first instruction in this block.
- postDominatorTree() - Method in class javassist.bytecode.analysis.ControlFlow
-
Constructs a post dominator tree.
- premain(String, Instrumentation) - Static method in class javassist.util.HotSwapAgent
-
The entry point invoked when this agent is started by
-javaagent
. - primitiveTypes - Static variable in class javassist.util.proxy.FactoryHelper
-
Class
objects representing primitive types. - print() - Method in class javassist.bytecode.ConstPool
-
Prints the contents of the constant pool table.
- print(PrintWriter) - Method in class javassist.bytecode.ConstPool
-
Prints the contents of the constant pool table.
- print(PrintWriter) - Method in class javassist.bytecode.StackMap
-
Prints this stack map.
- print(ClassFile) - Static method in class javassist.bytecode.ClassFilePrinter
-
Prints the contents of a class file to the standard output stream.
- print(ClassFile, PrintWriter) - Static method in class javassist.bytecode.ClassFilePrinter
-
Prints the contents of a class file.
- print(CtClass) - Method in class javassist.bytecode.analysis.FramePrinter
-
Prints all the methods declared in the given class.
- print(CtClass, PrintStream) - Static method in class javassist.bytecode.analysis.FramePrinter
-
Prints all the methods declared in the given class.
- print(CtMethod) - Method in class javassist.bytecode.analysis.FramePrinter
-
Prints the instructions and the frame states of the given method.
- print(CtMethod) - Method in class javassist.bytecode.InstructionPrinter
-
Prints the bytecode instructions of a given method.
- print(CtMethod, PrintStream) - Static method in class javassist.bytecode.InstructionPrinter
-
Prints the bytecode instructions of a given method.
- println(PrintStream) - Method in class javassist.bytecode.StackMapTable
-
Prints the stack table map.
- println(PrintWriter) - Method in class javassist.bytecode.StackMapTable
-
Prints the stack table map.
- PRIVATE - Static variable in class javassist.bytecode.AccessFlag
- PRIVATE - Static variable in class javassist.Modifier
- PROTECTED - Static variable in class javassist.bytecode.AccessFlag
- PROTECTED - Static variable in class javassist.Modifier
- Proxy - Interface in javassist.tools.rmi
-
An interface implemented by proxy classes.
- Proxy - Interface in javassist.util.proxy
-
The interface implemented by proxy classes.
- ProxyFactory - Class in javassist.util.proxy
-
Factory of dynamic proxy classes.
- ProxyFactory() - Constructor for class javassist.util.proxy.ProxyFactory
-
Constructs a factory of proxy class.
- ProxyFactory.ClassLoaderProvider - Interface in javassist.util.proxy
-
A provider of class loaders.
- ProxyFactory.UniqueName - Interface in javassist.util.proxy
-
A unique class name generator.
- ProxyObject - Interface in javassist.util.proxy
-
The interface implemented by proxy classes.
- ProxyObjectInputStream - Class in javassist.util.proxy
-
An input stream class which knows how to deserialize proxies created via
ProxyFactory
and serializedo via aProxyObjectOutputStream
. - ProxyObjectInputStream(InputStream) - Constructor for class javassist.util.proxy.ProxyObjectInputStream
-
create an input stream which can be used to deserialize an object graph which includes proxies created using class ProxyFactory.
- ProxyObjectOutputStream - Class in javassist.util.proxy
-
An input stream class which knows how to serialize proxies created via
ProxyFactory
. - ProxyObjectOutputStream(OutputStream) - Constructor for class javassist.util.proxy.ProxyObjectOutputStream
-
create an output stream which can be used to serialize an object graph which includes proxies created using class ProxyFactory
- prune() - Method in class javassist.bytecode.ClassFile
-
Discards all attributes, associated with both the class file and the members such as a code attribute and exceptions attribute.
- prune() - Method in class javassist.CtClass
-
Discards unnecessary attributes, in particular,
CodeAttribute
s (method bodies) of the class, to minimize the memory footprint. - PUBLIC - Static variable in class javassist.bytecode.AccessFlag
- PUBLIC - Static variable in class javassist.Modifier
- push(Type) - Method in class javassist.bytecode.analysis.Frame
-
Alters the stack by placing the passed type on the top
- put(String, String) - Method in class javassist.ClassMap
-
Maps a class name to another name in this hashtable.
- put(CtClass, CtClass) - Method in class javassist.ClassMap
-
Maps a class name to another name in this hashtable.
- PUTFIELD - Static variable in interface javassist.bytecode.Opcode
- putIfNone(String, String) - Method in class javassist.ClassMap
-
Is equivalent to
put()
except that the given mapping is not recorded into the hashtable if another mapping fromoldname
is already included. - PUTSTATIC - Static variable in interface javassist.bytecode.Opcode
R
- read(int) - Method in class javassist.bytecode.Bytecode
-
Reads a signed 8bit value at the offset from the beginning of the bytecode sequence.
- read16bit(int) - Method in class javassist.bytecode.Bytecode
-
Reads a signed 16bit value at the offset from the beginning of the bytecode sequence.
- read32bit(byte[], int) - Static method in class javassist.bytecode.ByteArray
-
Reads a 32bit integer at the index.
- read32bit(int) - Method in class javassist.bytecode.Bytecode
-
Reads a signed 32bit value at the offset from the beginning of the bytecode sequence.
- readS16bit(byte[], int) - Static method in class javassist.bytecode.ByteArray
-
Reads a signed 16bit integer at the index.
- readU16bit(byte[], int) - Static method in class javassist.bytecode.ByteArray
-
Reads an unsigned 16bit integer at the index.
- rebuildClassFile() - Method in class javassist.CtClass
-
If this method is called, the class file will be rebuilt when it is finally generated by
toBytecode()
andwriteFile()
. - rebuildClassFile(ClassFile) - Method in class javassist.tools.reflect.Reflection
- rebuildStackMap(ClassPool) - Method in class javassist.bytecode.MethodInfo
-
Rebuilds a stack map table.
- rebuildStackMapForME(ClassPool) - Method in class javassist.bytecode.MethodInfo
-
Rebuilds a stack map table for J2ME (CLDC).
- rebuildStackMapIf6(ClassPool, ClassFile) - Method in class javassist.bytecode.MethodInfo
-
Rebuilds a stack map table if the class file is for Java 6 or later.
- recordInvalidClassName(String) - Method in class javassist.ClassPool
-
Deprecated.
- redefine(Class<?>[], CtClass[]) - Static method in class javassist.util.HotSwapAgent
-
Redefines classes.
- redefine(Class<?>, CtClass) - Static method in class javassist.util.HotSwapAgent
-
Redefines a class.
- redirectFieldAccess(CtField, CtClass, String) - Method in class javassist.CodeConverter
-
Modify a method body so that field read/write expressions access a different field from the original one.
- redirectMethodCall(String, CtMethod) - Method in class javassist.CodeConverter
-
Correct invocations to a method that has been renamed.
- redirectMethodCall(CtMethod, CtMethod) - Method in class javassist.CodeConverter
-
Modify method invocations in a method body so that a different method will be invoked.
- redirectMethodCallToStatic(CtMethod, CtMethod) - Method in class javassist.CodeConverter
-
Redirect non-static method invocations in a method body to a static method.
- REF_getField - Static variable in class javassist.bytecode.ConstPool
-
reference_kind
ofCONSTANT_MethodHandle_info
. - REF_getStatic - Static variable in class javassist.bytecode.ConstPool
-
reference_kind
ofCONSTANT_MethodHandle_info
. - REF_invokeInterface - Static variable in class javassist.bytecode.ConstPool
-
reference_kind
ofCONSTANT_MethodHandle_info
. - REF_invokeSpecial - Static variable in class javassist.bytecode.ConstPool
-
reference_kind
ofCONSTANT_MethodHandle_info
. - REF_invokeStatic - Static variable in class javassist.bytecode.ConstPool
-
reference_kind
ofCONSTANT_MethodHandle_info
. - REF_invokeVirtual - Static variable in class javassist.bytecode.ConstPool
-
reference_kind
ofCONSTANT_MethodHandle_info
. - REF_newInvokeSpecial - Static variable in class javassist.bytecode.ConstPool
-
reference_kind
ofCONSTANT_MethodHandle_info
. - REF_putField - Static variable in class javassist.bytecode.ConstPool
-
reference_kind
ofCONSTANT_MethodHandle_info
. - REF_putStatic - Static variable in class javassist.bytecode.ConstPool
-
reference_kind
ofCONSTANT_MethodHandle_info
. - Reflection - Class in javassist.tools.reflect
-
The class implementing the behavioral reflection mechanism.
- Reflection() - Constructor for class javassist.tools.reflect.Reflection
-
Constructs a new
Reflection
object. - releaseUnmodifiedClassFile - Static variable in class javassist.ClassPool
-
If true, unmodified and not-recently-used class files are periodically released for saving memory.
- reload(String, byte[]) - Method in class javassist.util.HotSwapper
-
Reloads a class.
- reload(Map<String, byte[]>) - Method in class javassist.util.HotSwapper
-
Reloads a class.
- RemoteException - Exception Class in javassist.tools.rmi
-
RemoteException
represents any exception thrown during remote method invocation. - RemoteException(Exception) - Constructor for exception class javassist.tools.rmi.RemoteException
- RemoteException(String) - Constructor for exception class javassist.tools.rmi.RemoteException
- RemoteRef - Class in javassist.tools.rmi
-
Remote reference.
- RemoteRef(int) - Constructor for class javassist.tools.rmi.RemoteRef
- RemoteRef(int, String) - Constructor for class javassist.tools.rmi.RemoteRef
- remove(int) - Method in class javassist.bytecode.ExceptionTable
-
Removes the entry at the specified position in the table.
- remove(int) - Method in class javassist.bytecode.InnerClassesAttribute
-
Removes the
nth
entry. - removeAnnotation(String) - Method in class javassist.bytecode.AnnotationsAttribute
-
Removes an annotation by type.
- removeAttribute(String) - Method in class javassist.bytecode.ClassFile
-
Removes an attribute with the specified name.
- removeAttribute(String) - Method in class javassist.bytecode.FieldInfo
-
Removes an attribute with the specified name.
- removeAttribute(String) - Method in class javassist.bytecode.MethodInfo
-
Removes an attribute with the specified name.
- removeClassPath(ClassPath) - Method in class javassist.ClassPool
-
Detatches the
ClassPath
object from the search path. - removeCodeAttribute() - Method in class javassist.bytecode.MethodInfo
-
Removes a Code attribute.
- removeConstructor(CtConstructor) - Method in class javassist.CtClass
-
Removes a constructor declared in this class.
- removeExceptionsAttribute() - Method in class javassist.bytecode.MethodInfo
-
Removes an Exception attribute.
- removeField(CtField) - Method in class javassist.CtClass
-
Removes a field declared in this class.
- removeMethod(CtMethod) - Method in class javassist.CtClass
-
Removes a method declared in this class.
- removeNew(int) - Method in class javassist.bytecode.StackMap
-
Undocumented method.
- removeNew(int) - Method in class javassist.bytecode.StackMapTable
-
Undocumented method.
- rename(String, String, String) - Static method in class javassist.bytecode.Descriptor
-
Substitutes a class name in the given descriptor string.
- rename(String, Map<String, String>) - Static method in class javassist.bytecode.Descriptor
-
Substitutes class names in the given descriptor string according to the given
map
. - renameClass(String, String) - Method in class javassist.bytecode.annotation.ArrayMemberValue
- renameClass(String, String) - Method in class javassist.bytecode.annotation.ClassMemberValue
- renameClass(String, String) - Method in class javassist.bytecode.annotation.EnumMemberValue
- renameClass(String, String) - Method in class javassist.bytecode.annotation.MemberValue
- renameClass(String, String) - Method in class javassist.bytecode.ClassFile
-
Replaces all occurrences of a class name in the class file.
- renameClass(String, String) - Method in class javassist.bytecode.ConstPool
-
Replaces all occurrences of a class name.
- renameClass(Map<String, String>) - Method in class javassist.bytecode.annotation.ArrayMemberValue
- renameClass(Map<String, String>) - Method in class javassist.bytecode.annotation.ClassMemberValue
- renameClass(Map<String, String>) - Method in class javassist.bytecode.annotation.EnumMemberValue
- renameClass(Map<String, String>) - Method in class javassist.bytecode.annotation.MemberValue
- renameClass(Map<String, String>) - Method in class javassist.bytecode.ClassFile
-
Replaces all occurrences of several class names in the class file.
- renameClass(Map<String, String>) - Method in class javassist.bytecode.ConstPool
-
Replaces all occurrences of class names.
- replace(String) - Method in class javassist.expr.Cast
-
Replaces the explicit cast operator with the bytecode derived from the given source text.
- replace(String) - Method in class javassist.expr.Expr
-
Replaces this expression with the bytecode derived from the given source text.
- replace(String) - Method in class javassist.expr.FieldAccess
-
Replaces the method call with the bytecode derived from the given source text.
- replace(String) - Method in class javassist.expr.Handler
-
This method has not been implemented yet.
- replace(String) - Method in class javassist.expr.Instanceof
-
Replaces the instanceof operator with the bytecode derived from the given source text.
- replace(String) - Method in class javassist.expr.MethodCall
-
Replaces the method call with the bytecode derived from the given source text.
- replace(String) - Method in class javassist.expr.NewArray
-
Replaces the array creation with the bytecode derived from the given source text.
- replace(String) - Method in class javassist.expr.NewExpr
-
Replaces the
new
expression with the bytecode derived from the given source text. - replace(String, ExprEditor) - Method in class javassist.expr.Expr
-
Replaces this expression with the bytecode derived from the given source text and
ExprEditor
. - replaceArrayAccess(CtClass, CodeConverter.ArrayAccessReplacementMethodNames) - Method in class javassist.CodeConverter
-
Modify a method body, so that ALL accesses to an array are replaced with calls to static methods within another class.
- replaceClassName(String, String) - Method in class javassist.CtClass
-
Substitutes
newName
for all occurrences of a class nameoldName
in the class file. - replaceClassName(ClassMap) - Method in class javassist.CtClass
-
Changes class names appearing in the class file according to the given
map
. - replaceFieldRead(CtField, CtClass, String) - Method in class javassist.CodeConverter
-
Modify a method body so that an expression reading the specified field is replaced with a call to the specified static method.
- replaceFieldWrite(CtField, CtClass, String) - Method in class javassist.CodeConverter
-
Modify a method body so that an expression writing the specified field is replaced with a call to the specified static method.
- replaceNew(CtClass, CtClass) - Method in class javassist.CodeConverter
-
Modify a method body so that instantiation of the class specified by
oldClass
is replaced with instantiation of another classnewClass
. - replaceNew(CtClass, CtClass, String) - Method in class javassist.CodeConverter
-
Modify a method body so that instantiation of the specified class is replaced with a call to the specified static method.
- resetUseContextClassLoaderLocally() - Static method in class javassist.runtime.Desc
-
Changes so that the current thread will not use the context class loader when a class is loaded.
- result(Object[]) - Method in class javassist.tools.Callback
-
Gets called when bytecode is executed
- RET - Static variable in interface javassist.bytecode.Opcode
- RETURN - Static variable in interface javassist.bytecode.Opcode
- RETURN_ADDRESS - Static variable in class javassist.bytecode.analysis.Type
-
Represents an internal JVM return address, which is used by the RET instruction to return to a JSR that invoked the subroutine.
- run() - Method in class javassist.tools.rmi.AppletServer
-
Begins the HTTP service.
- run() - Method in class javassist.tools.web.Webserver
-
Begins the HTTP service.
- run(String[]) - Method in class javassist.Loader
-
Loads a class and calls
main()
in that class. - run(String, String[]) - Method in class javassist.Loader
-
Loads a class and calls
main()
in that class. - run(String, String[]) - Method in class javassist.tools.web.Viewer
-
Invokes main() in the class specified by
classname
. - RuntimeCopyException(String) - Constructor for exception class javassist.bytecode.CodeAttribute.RuntimeCopyException
-
Constructs an exception.
- RuntimeCopyException(String) - Constructor for exception class javassist.bytecode.StackMapTable.RuntimeCopyException
-
Constructs an exception.
- RuntimeSupport - Class in javassist.util.proxy
-
Runtime support routines that the classes generated by ProxyFactory use.
- RuntimeSupport() - Constructor for class javassist.util.proxy.RuntimeSupport
S
- 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) - Method in class javassist.bytecode.StackMapTable.Writer
-
Writes a
same_frame
or asame_frame_extended
. - sameFrame(int, int) - Method in class javassist.bytecode.StackMapTable.Walker
-
Invoked if the visited frame is a
same_frame
or asame_frame_extended
. - sameLocals(int, int, int) - Method in class javassist.bytecode.StackMapTable.Writer
-
Writes a
same_locals_1_stack_item
or asame_locals_1_stack_item_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 asame_locals_1_stack_item_frame_extended
. - Sample - Class in javassist.tools.reflect
-
A template used for defining a reflective class.
- Sample - Class in javassist.tools.rmi
-
A template used for defining a proxy class.
- Sample() - Constructor for class javassist.tools.reflect.Sample
- 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 thisattribute_info
structure. - set(byte[]) - Method in class javassist.bytecode.CodeAttribute
-
This method is not available.
- set(double) - Method in class javassist.compiler.ast.DoubleConst
- set(long) - Method in class javassist.compiler.ast.IntConst
- 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) - Method in class javassist.bytecode.MethodInfo
-
Sets access flags.
- setAccessFlags(int, int) - Method in class javassist.bytecode.InnerClassesAttribute
-
Sets
classes[nth].inner_class_access_flags
to the given index. - 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(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.
- setAttribute(StackMap) - Method in class javassist.bytecode.CodeAttribute
-
Adds a stack map table for J2ME (CLDC).
- setAttribute(StackMapTable) - Method in class javassist.bytecode.CodeAttribute
-
Adds a stack map table.
- setBody(String) - Method in class javassist.CtBehavior
-
Sets a method/constructor body.
- setBody(String) - Method in class javassist.CtConstructor
-
Sets a constructor body.
- setBody(String, String, String) - Method in class javassist.CtBehavior
-
Sets a method/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
- setClassName(String) - Method in class javassist.compiler.ast.Declarator
- 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.
- setCond(ASTree) - Method in class javassist.compiler.ast.CondExpr
- 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.
- setElse(ASTree) - Method in class javassist.compiler.ast.CondExpr
- 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.
- setField(CtField) - Method in class javassist.compiler.ast.Member
- 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.
- setGenericSignature(String) - Method in class javassist.util.proxy.ProxyFactory
-
Sets the generic signature for the proxy class.
- setHandler(MethodHandler) - Method in interface javassist.util.proxy.Proxy
-
Sets a handler.
- setHandler(MethodHandler) - Method in class javassist.util.proxy.ProxyFactory
-
Deprecated.since 3.12 use of this method is incompatible with proxy class caching. instead clients should call method
Proxy.setHandler(MethodHandler)
to set the handler for each newly created proxy instance. calling this method will automatically disable caching of classes created by the proxy factory. - 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. - setHead(ASTree) - Method in class javassist.compiler.ast.ASTList
- 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(Class<?>[]) - Method in class javassist.util.proxy.ProxyFactory
-
Sets the interfaces of a proxy class.
- setInterfaces(String[]) - Method in class javassist.bytecode.ClassFile
-
Sets the interfaces.
- setInterfaces(CtClass[]) - Method in class javassist.CtClass
-
Sets implemented interfaces.
- setLeft(ASTree) - Method in class javassist.compiler.ast.ASTList
- setLeft(ASTree) - Method in class javassist.compiler.ast.ASTree
- setLeft(ASTree) - Method in class javassist.compiler.ast.Pair
- setLocal(int, Type) - Method in class javassist.bytecode.analysis.Frame
-
Sets the local variable table entry at index to a type.
- setLocalVar(int) - Method in class javassist.compiler.ast.Declarator
- 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.
- setMark2(int) - Method in class javassist.bytecode.CodeIterator
-
Sets a mark to the bytecode at the given index.
- setMaxLocals(boolean, CtClass[], int) - Method in class javassist.bytecode.Bytecode
-
Sets
max_locals
. - setMaxLocals(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
. - setMethod(MemberResolver.Method) - Method in class javassist.compiler.ast.CallExpr
- 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.
- setOperator(int) - Method in class javassist.compiler.ast.Expr
- setOprand(ASTree) - Method in class javassist.compiler.ast.CastExpr
- setOprand1(ASTree) - Method in class javassist.compiler.ast.Expr
- setOprand2(ASTree) - Method in class javassist.compiler.ast.Expr
- 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
-
Turns 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
-
Turns the public bit on.
- setPublic(int) - Static method in class javassist.Modifier
-
Truns the public bit on.
- setRight(ASTree) - Method in class javassist.compiler.ast.ASTList
- setRight(ASTree) - Method in class javassist.compiler.ast.ASTree
- setRight(ASTree) - Method in class javassist.compiler.ast.Pair
- 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(Class<?>) - Method in class javassist.util.proxy.ProxyFactory
-
Sets the super class of a proxy class.
- 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.
- setTail(ASTList) - Method in class javassist.compiler.ast.ASTList
- setter(String, CtField) - Static method in class javassist.CtNewMethod
-
Creates a public setter method.
- setThen(ASTree) - Method in class javassist.compiler.ast.CondExpr
- 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
- setUseContextClassLoaderLocally() - Static method in class javassist.runtime.Desc
-
Changes so that the current thread will use the context class loader when a class is loaded.
- setUseWriteReplace(boolean) - Method in class javassist.util.proxy.ProxyFactory
-
configure whether this factory should add a writeReplace method to created classes
- 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(double) - Method in class javassist.bytecode.annotation.DoubleMemberValue
-
Sets the value of the member.
- 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.ClassMemberValue
-
Sets the value of the member.
- setValue(String) - Method in class javassist.bytecode.annotation.EnumMemberValue
-
Changes the name of the enum constant value.
- setValue(String) - Method in class javassist.bytecode.annotation.StringMemberValue
-
Sets the value of the member.
- 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.
- setVariable(Symbol) - Method in class javassist.compiler.ast.Declarator
- 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 increasesindex
bydelta
. - 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 theshort
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.
- Simple() - Constructor for class javassist.Loader.Simple
-
Constructs a class loader.
- Simple(ClassLoader) - Constructor for class javassist.Loader.Simple
-
Constructs a class loader.
- 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 theexception_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.
- size() - Method in class javassist.compiler.ast.ArrayInit
-
Gets the number of the elements.
- 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()
orthis()
. - 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
ofstack_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 Class in javassist.bytecode
-
An exception that may be thrown by
copy()
inStackMapTable
. - 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 theLoader
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
- Stmnt - Class in javassist.compiler.ast
-
Statement.
- Stmnt(int) - Constructor for class javassist.compiler.ast.Stmnt
- Stmnt(int, ASTree) - Constructor for class javassist.compiler.ast.Stmnt
- Stmnt(int, ASTree, ASTList) - Constructor for class javassist.compiler.ast.Stmnt
- 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. - StringL - Class in javassist.compiler.ast
-
String literal.
- StringL(String) - Constructor for class javassist.compiler.ast.StringL
- 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.
- sublist(int) - Method in class javassist.compiler.ast.ASTList
-
Returns a sub list of the list.
- 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
- subst(ASTree, ASTree) - Method in class javassist.compiler.ast.ASTList
-
Substitutes
newObj
foroldObj
in the list. - subtypeOf(CtClass) - Method in class javassist.CtClass
-
Returns
true
if this class extends or implementsclazz
. - 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
andsupertype_target
oftarget_info
union. - SWAP - Static variable in interface javassist.bytecode.Opcode
- Symbol - Class in javassist.compiler.ast
-
Identifier.
- Symbol(String) - Constructor for class javassist.compiler.ast.Symbol
- 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
- 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.NestHostAttribute
-
The name of this attribute
"NestHost"
. - tag - Static variable in class javassist.bytecode.NestMembersAttribute
-
The name of this attribute
"NestMembers"
. - 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"
. - tail() - Method in class javassist.compiler.ast.ASTList
-
Returns the cdr part of the list.
- thenExpr() - Method in class javassist.compiler.ast.CondExpr
- THIS - Static variable in class javassist.bytecode.Bytecode
-
Represents the
CtClass
file using the constant pool table given to thisBytecode
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
andthrows_target
oftarget_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() - Method in class javassist.CtClass
-
Converts this class to a
java.lang.Class
object. - toClass(Class<?>) - Method in class javassist.CtClass
-
Converts this class to a
java.lang.Class
object. - toClass(Class<?>, byte[]) - Static method in class javassist.util.proxy.DefineClassHelper
-
Loads a class file by
java.lang.invoke.MethodHandles.Lookup
. - toClass(ClassLoader) - Method in class javassist.CtClass
-
Deprecated.Replaced by
CtClass.toClass(ClassLoader,ProtectionDomain)
- toClass(ClassLoader, ProtectionDomain) - Method in class javassist.CtClass
-
Converts this class to a
java.lang.Class
object. - toClass(MethodHandles.Lookup) - Method in class javassist.CtClass
-
Converts this class to a
java.lang.Class
object. - toClass(MethodHandles.Lookup, byte[]) - Static method in class javassist.util.proxy.DefineClassHelper
-
Loads a class file by
java.lang.invoke.MethodHandles.Lookup
. - toClass(String, Class<?>, ClassLoader, ProtectionDomain, byte[]) - Static method in class javassist.util.proxy.DefineClassHelper
-
Loads a class file by a given class loader.
- toClass(ClassFile, Class<?>, ClassLoader, ProtectionDomain) - Static method in class javassist.util.proxy.FactoryHelper
-
Loads a class file by a given class loader.
- toClass(ClassFile, ClassLoader) - Static method in class javassist.util.proxy.FactoryHelper
-
Deprecated.
- toClass(ClassFile, ClassLoader, ProtectionDomain) - Static method in class javassist.util.proxy.FactoryHelper
-
Deprecated.
- toClass(ClassFile, MethodHandles.Lookup) - Static method in class javassist.util.proxy.FactoryHelper
-
Loads a class file by a given lookup.
- toClass(CtClass) - Method in class javassist.ClassPool
-
Converts the given class to a
java.lang.Class
object. - toClass(CtClass, Class<?>) - Method in class javassist.ClassPool
-
Converts the class to a
java.lang.Class
object. - toClass(CtClass, Class<?>, ClassLoader, ProtectionDomain) - Method in class javassist.ClassPool
-
Converts the class to a
java.lang.Class
object. - toClass(CtClass, ClassLoader) - Method in class javassist.ClassPool
-
Deprecated.Replaced by
ClassPool.toClass(CtClass,Class,ClassLoader,ProtectionDomain)
. A subclass ofClassPool
that has been overriding this method should be modified. It should overrideClassPool.toClass(CtClass,Class,ClassLoader,ProtectionDomain)
. - toClass(CtClass, ClassLoader, ProtectionDomain) - Method in class javassist.ClassPool
-
Deprecated.
- toClass(CtClass, MethodHandles.Lookup) - Method in class javassist.ClassPool
-
Converts the class to a
java.lang.Class
object. - 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(String) - Static method in class javassist.ClassMap
-
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.
- 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() - 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.compiler.ast.ASTList
- toString() - Method in class javassist.compiler.ast.ASTree
- toString() - Method in class javassist.compiler.ast.DoubleConst
- toString() - Method in class javassist.compiler.ast.IntConst
- toString() - Method in class javassist.compiler.ast.Keyword
- toString() - Method in class javassist.compiler.ast.Pair
- toString() - Method in class javassist.compiler.ast.StringL
- toString() - Method in class javassist.compiler.ast.Symbol
- toString() - Method in class javassist.compiler.ast.Variable
- 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() - Method in class javassist.tools.Callback
- toString() - Method in exception class javassist.tools.web.BadHttpRequest
- toString() - Method in class javassist.URLClassPath
- toString(int) - Static method in class javassist.Modifier
-
Return a string describing the access modifier flags in the specified modifier.
- toString(String) - Static method in class javassist.bytecode.Descriptor
-
Returns a human-readable representation of the given descriptor.
- 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 andRuntimeInvisibleTypeAnnotations
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() - Constructor for class javassist.bytecode.SignatureAttribute.TypeArgument
-
Constructs a
TypeArgument
representing<?>
. - TypeArgument(SignatureAttribute.ObjectType) - Constructor for class javassist.bytecode.SignatureAttribute.TypeArgument
-
Constructs a
TypeArgument
. - typeArgumentTarget(int, int, int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
Writes
target_type
andtype_argument_target
oftarget_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
(exceptObject_variable_info
andUninitialized_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) - Constructor for class javassist.bytecode.SignatureAttribute.TypeParameter
-
Constructs a
TypeParameter
representing a type parameter like<T>
. - TypeParameter(String, SignatureAttribute.ObjectType, SignatureAttribute.ObjectType[]) - Constructor for class javassist.bytecode.SignatureAttribute.TypeParameter
-
Constructs a
TypeParameter
representing a type parametre like<T extends ...
- typeParameterBoundTarget(int, int, int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
Writes
target_type
andtype_parameter_bound_target
oftarget_info
union. - typeParameterTarget(int, int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
Writes
target_type
andtype_parameter_target
oftarget_info
union. - typePath(int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
Writes
path_length
oftype_path
. - typePathPath(int, int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
Writes an element of
path[]
oftype_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
.
U
- u16bitAt(int) - Method in class javassist.bytecode.CodeIterator
-
Returns the unsigned 16bit value at the given index.
- UNINIT - Static variable in class javassist.bytecode.analysis.Type
-
Represents an unknown, or null type.
- UNINIT - Static variable in class javassist.bytecode.StackMap
-
Uninitialized_variable_info.tag
. - UNINIT - Static variable in class javassist.bytecode.StackMapTable
-
Uninitialized_variable_info.tag
. - uninitialized(int, int) - Method in class javassist.bytecode.StackMap.Walker
-
Invoked when an element of type
Uninitialized_variable_info
is visited. - unwarpMethods - Static variable in class javassist.util.proxy.FactoryHelper
-
The names of methods for obtaining a primitive value from a wrapper object.
- unwrapDesc - Static variable in class javassist.util.proxy.FactoryHelper
-
The descriptors of the unwrapping methods contained in
unwrapMethods
. - URLClassPath - Class in javassist
-
A class search-path specified with URL (http).
- URLClassPath(String, int, String, String) - Constructor for class javassist.URLClassPath
-
Creates a search path specified with URL (http).
- useCache - Static variable in class javassist.util.proxy.ProxyFactory
-
If true, a generated proxy class is cached and it will be reused when generating the proxy class with the same properties is requested.
- useCflow(String) - Method in class javassist.CtBehavior
-
Declares to use
$cflow
for this method/constructor. - useContextClassLoader - Static variable in class javassist.runtime.Desc
-
Specifies how a
java.lang.Class
object is loaded. - useContextClassLoader - Static variable in class javassist.tools.reflect.ClassMetaobject
-
Specifies how a
java.lang.Class
object is loaded. - useWriteReplace - Static variable in class javassist.util.proxy.ProxyFactory
-
If true, a generated proxy class will implement method writeReplace enabling serialization of its proxies to a conventional ObjectOutputStream.
- Util - Class in javassist.bytecode.analysis
-
A set of common utility methods.
- Util() - Constructor for class javassist.bytecode.analysis.Util
V
- value() - Method in class javassist.runtime.Cflow
-
Returns the value of the counter.
- VARARGS - Static variable in class javassist.bytecode.AccessFlag
- VARARGS - Static variable in class javassist.Modifier
- Variable - Class in javassist.compiler.ast
-
Variable.
- Variable(String, Declarator) - Constructor for class javassist.compiler.ast.Variable
- variableName(int) - Method in class javassist.bytecode.LocalVariableAttribute
-
Returns the name of the local variable specified by
local_variable_table[i].name_index
. - variableNameByIndex(int) - Method in class javassist.bytecode.LocalVariableAttribute
-
Returns the name of the local variable with given index.
- version - Static variable in class javassist.CtClass
-
The version number of this release.
- Viewer - Class in javassist.tools.web
-
A sample applet viewer.
- Viewer(String, int) - Constructor for class javassist.tools.web.Viewer
-
Constructs a viewer.
- visibleFrom(CtClass) - Method in class javassist.CtMember
-
Returns true if this member is accessible from the given class.
- visibleTag - Static variable in class javassist.bytecode.AnnotationsAttribute
-
The name of the
RuntimeVisibleAnnotations
attribute. - visibleTag - Static variable in class javassist.bytecode.ParameterAnnotationsAttribute
-
The name of the
RuntimeVisibleParameterAnnotations
attribute. - visibleTag - Static variable in class javassist.bytecode.TypeAnnotationsAttribute
-
The name of the
RuntimeVisibleTypeAnnotations
attribute. - visit() - Method in class javassist.bytecode.StackMap.Walker
-
Visits each entry of the stack map frames.
- visitAnnotationMemberValue(AnnotationMemberValue) - Method in interface javassist.bytecode.annotation.MemberValueVisitor
- visitArrayMemberValue(ArrayMemberValue) - Method in interface javassist.bytecode.annotation.MemberValueVisitor
- visitBooleanMemberValue(BooleanMemberValue) - Method in interface javassist.bytecode.annotation.MemberValueVisitor
- visitByteMemberValue(ByteMemberValue) - Method in interface javassist.bytecode.annotation.MemberValueVisitor
- visitCharMemberValue(CharMemberValue) - Method in interface javassist.bytecode.annotation.MemberValueVisitor
- visitClassMemberValue(ClassMemberValue) - Method in interface javassist.bytecode.annotation.MemberValueVisitor
- visitDoubleMemberValue(DoubleMemberValue) - Method in interface javassist.bytecode.annotation.MemberValueVisitor
- visitEnumMemberValue(EnumMemberValue) - Method in interface javassist.bytecode.annotation.MemberValueVisitor
- visitFloatMemberValue(FloatMemberValue) - Method in interface javassist.bytecode.annotation.MemberValueVisitor
- visitIntegerMemberValue(IntegerMemberValue) - Method in interface javassist.bytecode.annotation.MemberValueVisitor
- visitLongMemberValue(LongMemberValue) - Method in interface javassist.bytecode.annotation.MemberValueVisitor
- Visitor - Class in javassist.compiler.ast
-
The visitor pattern.
- Visitor() - Constructor for class javassist.compiler.ast.Visitor
- visitShortMemberValue(ShortMemberValue) - Method in interface javassist.bytecode.annotation.MemberValueVisitor
- visitStringMemberValue(StringMemberValue) - Method in interface javassist.bytecode.annotation.MemberValueVisitor
- VOID - Static variable in class javassist.bytecode.analysis.Type
-
Represents the void primitive type
- voidType - Static variable in class javassist.CtClass
-
The
CtClass
object representing thevoid
type. - VOLATILE - Static variable in class javassist.bytecode.AccessFlag
- VOLATILE - Static variable in class javassist.Modifier
W
- Walker(byte[]) - Constructor for class javassist.bytecode.StackMapTable.Walker
-
Constructs a walker.
- Walker(StackMap) - Constructor for class javassist.bytecode.StackMap.Walker
-
Constructs a walker.
- Walker(StackMapTable) - Constructor for class javassist.bytecode.StackMapTable.Walker
-
Constructs a walker.
- Webserver - Class in javassist.tools.web
-
A web server for running sample programs.
- Webserver(int) - Constructor for class javassist.tools.web.Webserver
-
Constructs a web server.
- Webserver(String) - Constructor for class javassist.tools.web.Webserver
-
Constructs a web server.
- where() - Method in class javassist.expr.Cast
-
Returns the method or constructor containing the type cast expression represented by this object.
- where() - Method in class javassist.expr.Expr
-
Returns the constructor or method containing the expression.
- where() - Method in class javassist.expr.FieldAccess
-
Returns the method or constructor containing the field-access expression represented by this object.
- where() - Method in class javassist.expr.Handler
-
Returns the method or constructor containing the catch clause.
- where() - Method in class javassist.expr.Instanceof
-
Returns the method or constructor containing the instanceof expression represented by this object.
- where() - Method in class javassist.expr.MethodCall
-
Returns the method or constructor containing the method-call expression represented by this object.
- where() - Method in class javassist.expr.NewArray
-
Returns the method or constructor containing the array creation represented by this object.
- where() - Method in class javassist.expr.NewExpr
-
Returns the method or constructor containing the
new
expression represented by this object. - WIDE - Static variable in interface javassist.bytecode.Opcode
- wrapped(CtClass, String, CtClass[], CtClass[], CtMethod, CtMethod.ConstParameter, CtClass) - Static method in class javassist.CtNewMethod
-
Creates a wrapped method.
- wrapperDesc - Static variable in class javassist.util.proxy.FactoryHelper
-
The descriptors of the constructors of wrapper classes.
- wrapperTypes - Static variable in class javassist.util.proxy.FactoryHelper
-
The fully-qualified names of wrapper classes for primitive types.
- write(byte[], int) - Method in class javassist.bytecode.CodeIterator
-
Writes a byte array at the index.
- write(int, int) - Method in class javassist.bytecode.Bytecode
-
Writes an 8bit value at the offset from the beginning of the bytecode sequence.
- write(DataOutputStream) - Method in class javassist.bytecode.ClassFile
-
Writes a class file represented by this object into an output stream.
- write(DataOutputStream) - Method in interface javassist.bytecode.ClassFileWriter.AttributeWriter
-
Writes all the contents of the attributes.
- write(DataOutputStream) - Method in class javassist.bytecode.ConstPool
-
Writes the contents of the constant pool table.
- write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.Annotation
-
Writes this annotation.
- write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.AnnotationMemberValue
-
Writes the value.
- write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.ArrayMemberValue
-
Writes the value.
- write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.BooleanMemberValue
-
Writes the value.
- write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.ByteMemberValue
-
Writes the value.
- write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.CharMemberValue
-
Writes the value.
- write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.ClassMemberValue
-
Writes the value.
- write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.DoubleMemberValue
-
Writes the value.
- write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.EnumMemberValue
-
Writes the value.
- write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.FloatMemberValue
-
Writes the value.
- write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.IntegerMemberValue
-
Writes the value.
- write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.LongMemberValue
-
Writes the value.
- write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.MemberValue
-
Writes the value.
- write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.ShortMemberValue
-
Writes the value.
- write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.StringMemberValue
-
Writes the value.
- write16bit(int) - Method in class javassist.bytecode.StackMap.Writer
-
Writes a 16bit value.
- write16bit(int, byte[], int) - Static method in class javassist.bytecode.ByteArray
-
Writes a 16bit integer at the index.
- write16bit(int, int) - Method in class javassist.bytecode.Bytecode
-
Writes an 16bit value at the offset from the beginning of the bytecode sequence.
- write16bit(int, int) - Method in class javassist.bytecode.CodeIterator
-
Writes a 16 bit integer at the index.
- write32bit(int, byte[], int) - Static method in class javassist.bytecode.ByteArray
-
Writes a 32bit integer at the index.
- write32bit(int, int) - Method in class javassist.bytecode.Bytecode
-
Writes an 32bit value at the offset from the beginning of the bytecode sequence.
- write32bit(int, int) - Method in class javassist.bytecode.CodeIterator
-
Writes a 32bit integer at the index.
- writeByte(int, int) - Method in class javassist.bytecode.CodeIterator
-
Writes an 8bit value at the given index.
- writeDirectory - Variable in class javassist.util.proxy.ProxyFactory
-
If the value of this variable is not null, the class file of the generated proxy class is written under the directory specified by this variable.
- writeFile() - Method in class javassist.CtClass
-
Writes a class file represented by this
CtClass
object in the current directory. - writeFile(String) - Method in class javassist.CtClass
-
Writes a class file represented by this
CtClass
object on a local disk. - writeFile(ClassFile, String) - Static method in class javassist.util.proxy.FactoryHelper
-
Writes a class file.
- Writer() - Constructor for class javassist.bytecode.StackMap.Writer
-
Constructs a writer.
- Writer(int) - Constructor for class javassist.bytecode.StackMapTable.Writer
-
Constructs a writer.
- writeVerifyTypeInfo(int, int) - Method in class javassist.bytecode.StackMap.Writer
-
Writes a
union verification_type_info
value.
_
- _getClass() - Method in interface javassist.tools.reflect.Metalevel
-
Obtains the class metaobject associated with this object.
- _getMetaobject() - Method in interface javassist.tools.reflect.Metalevel
-
Obtains the metaobject associated with this object.
- _getObjectId() - Method in interface javassist.tools.rmi.Proxy
- _setMetaobject(Metaobject) - Method in interface javassist.tools.reflect.Metalevel
-
Changes the metaobject associated with this object.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
RuntimeSupport.find2Methods(Class, String, String, int, String, Method[])