- 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 interface javassist.compiler.TokenId
-
- 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, rivate, ...
- AccessFlag() - Constructor for class javassist.bytecode.AccessFlag
-
- accessFlags(int) - Method in class javassist.bytecode.InnerClassesAttribute
-
Returns classes[nth].inner_class_access_flags
.
- AccessorMaker - Class in javassist.compiler
-
AccessorMaker maintains accessors to private members of an enclosing
class.
- AccessorMaker(CtClass) - Constructor for class javassist.compiler.AccessorMaker
-
- ACONST_NULL - Static variable in interface javassist.bytecode.Opcode
-
- add(int) - Method in class javassist.bytecode.Bytecode
-
Appends an 8bit value to the end of the bytecode sequence.
- add(int, String, String, ClassFileWriter.AttributeWriter) - Method in class javassist.bytecode.ClassFileWriter.FieldWriter
-
Adds a new field.
- add(int, int, int, ClassFileWriter.AttributeWriter) - Method in class javassist.bytecode.ClassFileWriter.FieldWriter
-
Adds a new field.
- add(int) - Method in class javassist.bytecode.ClassFileWriter.MethodWriter
-
Appends an 8bit value of bytecode.
- add(int, ExceptionTable, int) - Method in class javassist.bytecode.ExceptionTable
-
Copies the given exception table at the specified position
in the table.
- add(int, int, int, int, int) - Method in class javassist.bytecode.ExceptionTable
-
Adds a new entry at the specified position in the table.
- add(int, int, int, int) - Method in class javassist.bytecode.ExceptionTable
-
Appends a new entry at the end of the table.
- add16(int) - Method in class javassist.bytecode.ClassFileWriter.MethodWriter
-
Appends a 16bit value of bytecode.
- add32(int) - Method in class javassist.bytecode.ClassFileWriter.MethodWriter
-
Appends a 32bit value of bytecode.
- add32bit(int) - Method in class javassist.bytecode.Bytecode
-
Appends a 32bit value to the end of the bytecode sequence.
- addAload(int) - Method in class javassist.bytecode.Bytecode
-
Appends ALOAD or (WIDE) ALOAD_<n>
- addAnewarray(String) - Method in class javassist.bytecode.Bytecode
-
Appends ANEWARRAY.
- addAnewarray(CtClass, int) - Method in class javassist.bytecode.Bytecode
-
Appends ICONST and ANEWARRAY.
- addAnnotation(Annotation) - Method in class javassist.bytecode.AnnotationsAttribute
-
Adds an annotation.
- 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 the
Code_attribute
.
- addCatch(String, CtClass) - Method in class javassist.CtBehavior
-
Adds a catch clause that handles an exception thrown in the
body.
- addCatch(String, CtClass, String) - Method in class javassist.CtBehavior
-
Adds a catch clause that handles an exception thrown in the
body.
- addCheckcast(CtClass) - Method in class javassist.bytecode.Bytecode
-
Appends CHECKCAST.
- addCheckcast(String) - Method in class javassist.bytecode.Bytecode
-
Appends CHECKCAST.
- addClassInfo(String[]) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Makes CONSTANT_Class_info
objects for each class name.
- addClassInfo(String) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_Class_info
structure.
- addClassInfo(int) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_Class_info
structure.
- addClassInfo(CtClass) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_Class_info
structure.
- addClassInfo(String) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_Class_info
structure.
- addConstructor(CtConstructor) - Method in class javassist.CtClass
-
Adds a constructor.
- addConstZero(CtClass) - Method in class javassist.bytecode.Bytecode
-
Appends an instruction for pushing zero or null on the stack.
- addDconst(double) - Method in class javassist.bytecode.Bytecode
-
Appends DCONST or DCONST_<n>
- addDload(int) - Method in class javassist.bytecode.Bytecode
-
Appends DLOAD or (WIDE) DLOAD_<n>
- addDoubleInfo(double) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_Double_info
structure.
- addDoubleInfo(double) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_Double_info
structure.
- addDstore(int) - Method in class javassist.bytecode.Bytecode
-
Appends DSTORE or (WIDE) DSTORE_<n>
- addEntry(int, int, int, int, int) - Method in class javassist.bytecode.LocalVariableAttribute
-
Appends a new entry to local_variable_table
.
- addExceptionHandler(int, int, int, CtClass) - Method in class javassist.bytecode.Bytecode
-
Adds a new entry of exception_table
.
- addExceptionHandler(int, int, int, String) - Method in class javassist.bytecode.Bytecode
-
Adds a new entry of exception_table
.
- addExceptionHandler(int, int, int, int) - Method in class javassist.bytecode.Bytecode
-
Adds a new entry of exception_table
.
- addFconst(float) - Method in class javassist.bytecode.Bytecode
-
Appends FCONST or FCONST_<n>
- addField(FieldInfo) - Method in class javassist.bytecode.ClassFile
-
Appends a field to the class.
- addField(CtField) - Method in class javassist.CtClass
-
Adds a field.
- addField(CtField, String) - Method in class javassist.CtClass
-
Adds a field with an initial value.
- addField(CtField, CtField.Initializer) - Method in class javassist.CtClass
-
Adds a field with an initial value.
- addField2(FieldInfo) - Method in class javassist.bytecode.ClassFile
-
Just appends a field to the class.
- addFieldrefInfo(int, int) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_Fieldref_info
structure.
- addFieldrefInfo(int, String, String) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_Fieldref_info
structure.
- addFieldrefInfo(int, int) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_Fieldref_info
structure.
- addFload(int) - Method in class javassist.bytecode.Bytecode
-
Appends FLOAD or (WIDE) FLOAD_<n>
- addFloatInfo(float) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_Float_info
structure.
- addFloatInfo(float) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_Float_info
structure.
- addFstore(int) - Method in class javassist.bytecode.Bytecode
-
Appends FSTORE or FSTORE_<n>
- addGap(int) - Method in class javassist.bytecode.Bytecode
-
Appends the length-byte gap to the end of the bytecode sequence.
- addGetfield(CtClass, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends GETFIELD.
- addGetfield(String, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends GETFIELD.
- addGetstatic(CtClass, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends GETSTATIC.
- addGetstatic(String, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends GETSTATIC.
- addIconst(int) - Method in class javassist.bytecode.Bytecode
-
Appends ICONST or ICONST_<n>
- addIload(int) - Method in class javassist.bytecode.Bytecode
-
Appends ILOAD or (WIDE) ILOAD_<n>
- addIndex(int) - Method in class javassist.bytecode.Bytecode
-
Appends a 16bit value to the end of the bytecode sequence.
- addInstanceof(String) - Method in class javassist.bytecode.Bytecode
-
Appends INSTANCEOF.
- addIntegerInfo(int) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_Integer_info
structure.
- addIntegerInfo(int) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_Integer_info
structure.
- addInterface(String) - Method in class javassist.bytecode.ClassFile
-
Appends an interface to the interfaces implemented by the class.
- addInterface(CtClass) - Method in class javassist.CtClass
-
Adds an interface.
- addInterfaceMethodrefInfo(int, int) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_InterfaceMethodref_info
structure.
- addInterfaceMethodrefInfo(int, String, String) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_InterfaceMethodref_info
structure.
- addInterfaceMethodrefInfo(int, int) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_InterfaceMethodref_info
structure.
- addInvoke(int, String, String, String) - Method in class javassist.bytecode.ClassFileWriter.MethodWriter
-
Appends a invokevirtual, inovkespecial, or invokestatic bytecode.
- addInvokeinterface(CtClass, String, CtClass, CtClass[], int) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKEINTERFACE.
- addInvokeinterface(CtClass, String, String, int) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKEINTERFACE.
- addInvokeinterface(String, String, String, int) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKEINTERFACE.
- addInvokeinterface(int, String, String, int) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKEINTERFACE.
- addInvokespecial(CtClass, String, CtClass, CtClass[]) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKESPECIAL.
- addInvokespecial(CtClass, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKESPECIAL.
- addInvokespecial(String, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKESPECIAL.
- addInvokespecial(int, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKESPECIAL.
- addInvokestatic(CtClass, String, CtClass, CtClass[]) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKESTATIC.
- addInvokestatic(CtClass, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKESTATIC.
- addInvokestatic(String, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKESTATIC.
- addInvokestatic(int, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKESTATIC.
- addInvokevirtual(CtClass, String, CtClass, CtClass[]) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKEVIRTUAL.
- addInvokevirtual(CtClass, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKEVIRTUAL.
- addInvokevirtual(String, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKEVIRTUAL.
- addInvokevirtual(int, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends INVOKEVIRTUAL.
- addIstore(int) - Method in class javassist.bytecode.Bytecode
-
Appends ISTORE or (WIDE) ISTORE_<n>
- addLconst(long) - Method in class javassist.bytecode.Bytecode
-
Appends LCONST or LCONST_<n>
- addLdc(String) - Method in class javassist.bytecode.Bytecode
-
Appends LDC or LDC_W.
- addLdc(int) - Method in class javassist.bytecode.Bytecode
-
Appends LDC or LDC_W.
- addLdc2w(long) - Method in class javassist.bytecode.Bytecode
-
Appends LDC2_W.
- addLdc2w(double) - Method in class javassist.bytecode.Bytecode
-
Appends LDC2_W.
- addLload(int) - Method in class javassist.bytecode.Bytecode
-
Appends LLOAD or (WIDE) LLOAD_<n>
- addLoad(int, CtClass) - Method in class javassist.bytecode.Bytecode
-
Appends an instruction for loading a value from the
local variable at the index n
.
- addLoadParameters(CtClass[], int) - Method in class javassist.bytecode.Bytecode
-
Appends instructions for loading all the parameters onto the
operand stack.
- addLocalVariable(String, CtClass) - Method in class javassist.CtBehavior
-
Declares a new local variable.
- addLongInfo(long) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_Long_info
structure.
- addLongInfo(long) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_Long_info
structure.
- addLstore(int) - Method in class javassist.bytecode.Bytecode
-
Appends LSTORE or LSTORE_<n>
- addMemberValue(int, MemberValue) - Method in class javassist.bytecode.annotation.Annotation
-
Adds a new member.
- addMemberValue(String, MemberValue) - Method in class javassist.bytecode.annotation.Annotation
-
Adds a new member.
- addMethod(MethodInfo) - Method in class javassist.bytecode.ClassFile
-
Appends a method to the class.
- addMethod(CtMethod) - Method in class javassist.CtClass
-
Adds a method.
- addMethod2(MethodInfo) - Method in class javassist.bytecode.ClassFile
-
Just appends a method to the class.
- addMethodrefInfo(int, int) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_Methodref_info
structure.
- addMethodrefInfo(int, String, String) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_Methodref_info
structure.
- addMethodrefInfo(int, int) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_Methodref_info
structure.
- addMultiNewarray(CtClass, int[]) - Method in class javassist.bytecode.Bytecode
-
Appends MULTINEWARRAY.
- addMultiNewarray(CtClass, int) - Method in class javassist.bytecode.Bytecode
-
Appends MULTINEWARRAY.
- addMultiNewarray(String, int) - Method in class javassist.bytecode.Bytecode
-
Appends MULTINEWARRAY.
- addNameAndTypeInfo(String, String) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_NameAndType_info
structure.
- addNameAndTypeInfo(int, int) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_NameAndType_info
structure.
- addNameAndTypeInfo(String, String) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_NameAndType_info
structure.
- addNameAndTypeInfo(int, int) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_NameAndType_info
structure.
- addNew(CtClass) - Method in class javassist.bytecode.Bytecode
-
Appends NEW.
- addNew(String) - Method in class javassist.bytecode.Bytecode
-
Appends NEW.
- addNewarray(int, int) - Method in class javassist.bytecode.Bytecode
-
Appends NEWARRAY for primitive types.
- addNullIfVoid() - Method in class javassist.compiler.JvstCodeGen
-
- addNullIfVoid() - Method in class javassist.compiler.JvstTypeChecker
-
- addOpcode(int) - Method in class javassist.bytecode.Bytecode
-
Appends an 8bit opcode to the end of the bytecode sequence.
- addParameter(CtClass) - Method in class javassist.CtBehavior
-
Appends a new parameter, which becomes the last parameter.
- addPrintln(String) - Method in class javassist.bytecode.Bytecode
-
Appends instructions for executing
java.lang.System.println(message)
.
- addPutfield(CtClass, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends PUTFIELD.
- addPutfield(String, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends PUTFIELD.
- addPutstatic(CtClass, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends PUTSTATIC.
- addPutstatic(String, String, String) - Method in class javassist.bytecode.Bytecode
-
Appends PUTSTATIC.
- addRet(int) - Method in class javassist.bytecode.Bytecode
-
Appends RET.
- addReturn(CtClass) - Method in class javassist.bytecode.Bytecode
-
Appends ARETURN, IRETURN, .., or RETURN.
- addStore(int, CtClass) - Method in class javassist.bytecode.Bytecode
-
Appends an instruction for storing a value into the
local variable at the index n
.
- addStringInfo(String) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_String_info
structure.
- addStringInfo(String) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_String_info
structure.
- addTranslator(ClassPool, Translator) - Method in class javassist.Loader
-
Adds a translator, which is called whenever a class is loaded.
- addTranslator(ClassPool, Translator) - Method in class javassist.tools.web.Webserver
-
Adds a translator, which is called whenever a client requests
a class file.
- addUtf8Info(String) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
Adds a new CONSTANT_Utf8_info
structure.
- addUtf8Info(String) - Method in class javassist.bytecode.ConstPool
-
Adds a new CONSTANT_Utf8_info
structure.
- ALOAD - Static variable in interface javassist.bytecode.Opcode
-
- ALOAD_0 - Static variable in interface javassist.bytecode.Opcode
-
- ALOAD_1 - Static variable in interface javassist.bytecode.Opcode
-
- ALOAD_2 - Static variable in interface javassist.bytecode.Opcode
-
- ALOAD_3 - Static variable in interface javassist.bytecode.Opcode
-
- alreadySet() - Method in class javassist.bytecode.stackmap.TypedBlock
-
- 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.
- analyze(CodeIterator, int, int) - Method in class javassist.bytecode.stackmap.Liveness
-
- 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
-
- AND_E - Static variable in interface javassist.compiler.TokenId
-
- ANDAND - Static variable in interface javassist.compiler.TokenId
-
- ANEWARRAY - Static variable in interface javassist.bytecode.Opcode
-
- ANNOTATION - Static variable in class javassist.bytecode.AccessFlag
-
- Annotation - Class in javassist.bytecode.annotation
-
The annotation
structure.
- Annotation(int, ConstPool) - Constructor for class javassist.bytecode.annotation.Annotation
-
Constructs an annotation including no members.
- Annotation(String, ConstPool) - Constructor for class javassist.bytecode.annotation.Annotation
-
Constructs an annotation including no members.
- Annotation(ConstPool, CtClass) - Constructor for class javassist.bytecode.annotation.Annotation
-
Constructs an annotation that can be accessed through the interface
represented by clazz
.
- annotation(String, int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes annotation
.
- annotation(int, int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes annotation
.
- ANNOTATION - Static variable in class javassist.Modifier
-
- AnnotationDefaultAttribute - Class in javassist.bytecode
-
A class representing AnnotationDefault_attribute
.
- AnnotationDefaultAttribute(ConstPool, byte[]) - Constructor for class javassist.bytecode.AnnotationDefaultAttribute
-
Constructs an AnnotationDefault_attribute
.
- AnnotationDefaultAttribute(ConstPool) - Constructor for class javassist.bytecode.AnnotationDefaultAttribute
-
Constructs an empty AnnotationDefault_attribute
.
- AnnotationImpl - Class in javassist.bytecode.annotation
-
Internal-use only.
- AnnotationMemberValue - Class in javassist.bytecode.annotation
-
Nested annotation.
- AnnotationMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.AnnotationMemberValue
-
Constructs an annotation member.
- AnnotationMemberValue(Annotation, ConstPool) - Constructor for class javassist.bytecode.annotation.AnnotationMemberValue
-
Constructs an annotation member.
- AnnotationsAttribute - Class in javassist.bytecode
-
A class representing
RuntimeVisibleAnnotations_attribute
and
RuntimeInvisibleAnnotations_attribute
.
- AnnotationsAttribute(ConstPool, String, byte[]) - Constructor for class javassist.bytecode.AnnotationsAttribute
-
Constructs a Runtime(In)VisibleAnnotations_attribute
.
- AnnotationsAttribute(ConstPool, String) - Constructor for class javassist.bytecode.AnnotationsAttribute
-
Constructs an empty
Runtime(In)VisibleAnnotations_attribute
.
- AnnotationsWriter - Class in javassist.bytecode.annotation
-
A convenience class for constructing a
..Annotations_attribute
.
- AnnotationsWriter(OutputStream, ConstPool) - Constructor for class javassist.bytecode.annotation.AnnotationsWriter
-
Constructs with the given output stream.
- annotationValue() - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and annotation_value
in member_value
.
- append(byte[]) - Method in class javassist.bytecode.CodeIterator
-
Appends the given bytecode sequence at the end.
- append(ExceptionTable, int) - Method in class javassist.bytecode.CodeIterator
-
Copies and appends the entries in the given exception table
at the end of the exception table in the code attribute
edited by this object.
- append(String, String, String, int) - Method in class javassist.bytecode.InnerClassesAttribute
-
Appends a new entry.
- append(int, int, int, int) - Method in class javassist.bytecode.InnerClassesAttribute
-
Appends a new entry.
- append(ASTList, ASTree) - Static method in class javassist.compiler.ast.ASTList
-
Appends an object to a list.
- append(String, int) - Method in class javassist.compiler.KeywordTable
-
- append(String, Declarator) - Method in class javassist.compiler.SymbolTable
-
- appendClassPath(ClassPath) - Method in class javassist.ClassPool
-
Appends a ClassPath
object to the end of the
search path.
- appendClassPath(String) - Method in class javassist.ClassPool
-
Appends a directory or a jar (or zip) file to the end of the
search path.
- appendFrame(int, int, int[], int[]) - Method in class javassist.bytecode.StackMapTable.Walker
-
Invoked if the visited frame is a append_frame
.
- appendFrame(int, int[], int[]) - Method in class javassist.bytecode.StackMapTable.Writer
-
Writes a append_frame
.
- appendGap(int) - Method in class javassist.bytecode.CodeIterator
-
Appends a gap at the end of the bytecode sequence.
- appendParameter(String, String) - Static method in class javassist.bytecode.Descriptor
-
Appends a parameter type to the parameter list represented
by the given descriptor.
- appendParameter(CtClass, String) - Static method in class javassist.bytecode.Descriptor
-
Appends a parameter type to the parameter list represented
by the given descriptor.
- appendPathList(String) - Method in class javassist.ClassPool
-
Appends directories and jar files for search.
- appendSystemPath() - Method in class javassist.ClassPool
-
Appends the system search path to the end of the
search path.
- AppletServer - Class in javassist.tools.rmi
-
An AppletServer object is a web server that an ObjectImporter
communicates with.
- AppletServer(String) - Constructor for class javassist.tools.rmi.AppletServer
-
Constructs a web server.
- AppletServer(int) - Constructor for class javassist.tools.rmi.AppletServer
-
Constructs a web server.
- AppletServer(int, ClassPool) - Constructor for class javassist.tools.rmi.AppletServer
-
Constructs a web server.
- ARETURN - Static variable in interface javassist.bytecode.Opcode
-
- argTypesToString(int[], int[], String[]) - Static method in class javassist.compiler.TypeChecker
-
- ARRAY - Static variable in interface javassist.compiler.TokenId
-
- arrayAccess(ASTree, ASTree) - Method in class javassist.compiler.CodeGen
-
- arrayDim - Variable in class javassist.compiler.ast.CastExpr
-
- arrayDim - Variable in class javassist.compiler.ast.Declarator
-
- arrayDim - Variable in class javassist.compiler.CodeGen
-
- arrayDim - Variable in class javassist.compiler.TypeChecker
-
- 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
-
- ARRAYLENGTH - Static variable in interface javassist.bytecode.Opcode
-
- ArrayMemberValue - Class in javassist.bytecode.annotation
-
Array member.
- ArrayMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.ArrayMemberValue
-
Constructs an array.
- ArrayMemberValue(MemberValue, ConstPool) - Constructor for class javassist.bytecode.annotation.ArrayMemberValue
-
Constructs an array.
- arrayType - Variable in class javassist.compiler.ast.NewExpr
-
- arrayValue(int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and array_value
in member_value
.
- ARSHIFT - Static variable in interface javassist.compiler.TokenId
-
- ARSHIFT_E - Static variable in interface javassist.compiler.TokenId
-
- AssignExpr - Class in javassist.compiler.ast
-
Assignment expression.
- assignOps - Static variable in interface javassist.compiler.TokenId
-
- ASTList - Class in javassist.compiler.ast
-
A linked list.
- ASTList(ASTree, ASTList) - Constructor for class javassist.compiler.ast.ASTList
-
- ASTList(ASTree) - 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
-
- atArrayInit(ArrayInit) - Method in class javassist.compiler.CodeGen
-
- atArrayInit(ArrayInit) - Method in class javassist.compiler.MemberCodeGen
-
- atArrayInit(ArrayInit) - Method in class javassist.compiler.TypeChecker
-
- atArrayLength(Expr) - Method in class javassist.compiler.TypeChecker
-
- atArrayPlusPlus(int, boolean, Expr, boolean) - Method in class javassist.compiler.CodeGen
-
- atArrayRead(ASTree, ASTree) - Method in class javassist.compiler.CodeGen
-
- atArrayRead(ASTree, ASTree) - Method in class javassist.compiler.TypeChecker
-
- atArrayVariableAssign(ArrayInit, int, int, String) - Method in class javassist.compiler.CodeGen
-
- atArrayVariableAssign(ArrayInit, int, int, String) - Method in class javassist.compiler.MemberCodeGen
-
- atAssignCore(Expr, int, ASTree, int, int, String) - Method in class javassist.compiler.CodeGen
-
- atAssignExpr(AssignExpr) - Method in class javassist.compiler.ast.Visitor
-
- atAssignExpr(AssignExpr) - Method in class javassist.compiler.CodeGen
-
- atAssignExpr(AssignExpr, boolean) - Method in class javassist.compiler.CodeGen
-
- atAssignExpr(AssignExpr) - Method in class javassist.compiler.TypeChecker
-
- atAssignParamList(CtClass[], Bytecode) - Method in class javassist.compiler.JvstCodeGen
-
- atASTList(ASTList) - Method in class javassist.compiler.ast.Visitor
-
- atASTList(ASTList) - Method in class javassist.compiler.CodeGen
-
- atBinExpr(BinExpr) - Method in class javassist.compiler.ast.Visitor
-
- atBinExpr(BinExpr) - Method in class javassist.compiler.CodeGen
-
- atBinExpr(BinExpr) - Method in class javassist.compiler.TypeChecker
-
- atCallExpr(CallExpr) - Method in class javassist.compiler.ast.Visitor
-
- atCallExpr(CallExpr) - Method in class javassist.compiler.CodeGen
-
- atCallExpr(CallExpr) - Method in class javassist.compiler.JvstCodeGen
-
- atCallExpr(CallExpr) - Method in class javassist.compiler.JvstTypeChecker
-
- atCallExpr(CallExpr) - Method in class javassist.compiler.MemberCodeGen
-
- atCallExpr(CallExpr) - Method in class javassist.compiler.TypeChecker
-
- atCastExpr(CastExpr) - Method in class javassist.compiler.ast.Visitor
-
- atCastExpr(CastExpr) - Method in class javassist.compiler.CodeGen
-
- atCastExpr(CastExpr) - Method in class javassist.compiler.JvstCodeGen
-
- atCastExpr(CastExpr) - Method in class javassist.compiler.JvstTypeChecker
-
- atCastExpr(CastExpr) - Method in class javassist.compiler.TypeChecker
-
- atCastToRtype(CastExpr) - Method in class javassist.compiler.JvstCodeGen
-
Inserts a cast operator to the return type.
- atCastToRtype(CastExpr) - Method in class javassist.compiler.JvstTypeChecker
-
Inserts a cast operator to the return type.
- atCastToWrapper(CastExpr) - Method in class javassist.compiler.JvstCodeGen
-
- atCastToWrapper(CastExpr) - Method in class javassist.compiler.JvstTypeChecker
-
- atCflow(ASTList) - Method in class javassist.compiler.JvstCodeGen
-
- atCflow(ASTList) - Method in class javassist.compiler.JvstTypeChecker
-
- atClassObject(Expr) - Method in class javassist.compiler.CodeGen
-
- atClassObject(Expr) - Method in class javassist.compiler.TypeChecker
-
- atClassObject2(String) - Method in class javassist.compiler.CodeGen
-
- atClassObject2(String) - Method in class javassist.compiler.MemberCodeGen
-
- atCondExpr(CondExpr) - Method in class javassist.compiler.ast.Visitor
-
- atCondExpr(CondExpr) - Method in class javassist.compiler.CodeGen
-
- atCondExpr(CondExpr) - Method in class javassist.compiler.TypeChecker
-
- atDeclarator(Declarator) - Method in class javassist.compiler.ast.Visitor
-
- atDeclarator(Declarator) - Method in class javassist.compiler.CodeGen
-
- atDoubleConst(DoubleConst) - Method in class javassist.compiler.ast.Visitor
-
- atDoubleConst(DoubleConst) - Method in class javassist.compiler.CodeGen
-
- atDoubleConst(DoubleConst) - Method in class javassist.compiler.TypeChecker
-
- atExpr(Expr) - Method in class javassist.compiler.ast.Visitor
-
- atExpr(Expr) - Method in class javassist.compiler.CodeGen
-
- atExpr(Expr) - Method in class javassist.compiler.TypeChecker
-
- atFieldAssign(Expr, int, ASTree, ASTree, boolean) - Method in class javassist.compiler.CodeGen
-
- atFieldAssign(Expr, int, ASTree, ASTree, boolean) - Method in class javassist.compiler.JvstCodeGen
-
- atFieldAssign(Expr, int, ASTree, ASTree) - Method in class javassist.compiler.JvstTypeChecker
-
- atFieldAssign(Expr, int, ASTree, ASTree, boolean) - Method in class javassist.compiler.MemberCodeGen
-
- atFieldAssign(Expr, int, ASTree, ASTree) - Method in class javassist.compiler.TypeChecker
-
- atFieldDecl(FieldDecl) - Method in class javassist.compiler.ast.Visitor
-
- atFieldDecl(FieldDecl) - Method in class javassist.compiler.CodeGen
-
- atFieldPlusPlus(int, boolean, ASTree, Expr, boolean) - Method in class javassist.compiler.CodeGen
-
- atFieldPlusPlus(int, boolean, ASTree, Expr, boolean) - Method in class javassist.compiler.MemberCodeGen
-
- atFieldPlusPlus(ASTree) - Method in class javassist.compiler.TypeChecker
-
- atFieldRead(ASTree) - Method in class javassist.compiler.CodeGen
-
- atFieldRead(ASTree) - Method in class javassist.compiler.MemberCodeGen
-
- ATHROW - Static variable in interface javassist.bytecode.Opcode
-
- atInstanceOfExpr(InstanceOfExpr) - Method in class javassist.compiler.ast.Visitor
-
- atInstanceOfExpr(InstanceOfExpr) - Method in class javassist.compiler.CodeGen
-
- atInstanceOfExpr(InstanceOfExpr) - Method in class javassist.compiler.TypeChecker
-
- atIntConst(IntConst) - Method in class javassist.compiler.ast.Visitor
-
- atIntConst(IntConst) - Method in class javassist.compiler.CodeGen
-
- atIntConst(IntConst) - Method in class javassist.compiler.TypeChecker
-
- atKeyword(Keyword) - Method in class javassist.compiler.ast.Visitor
-
- atKeyword(Keyword) - Method in class javassist.compiler.CodeGen
-
- atKeyword(Keyword) - Method in class javassist.compiler.TypeChecker
-
- atMember(Member) - Method in class javassist.compiler.ast.Visitor
-
- atMember(Member) - Method in class javassist.compiler.CodeGen
-
- atMember(Member) - Method in class javassist.compiler.JvstCodeGen
-
- atMember(Member) - Method in class javassist.compiler.JvstTypeChecker
-
- atMember(Member) - Method in class javassist.compiler.MemberCodeGen
-
- atMember(Member) - Method in class javassist.compiler.TypeChecker
-
- atMethodArgs(ASTList, int[], int[], String[]) - Method in class javassist.compiler.JvstCodeGen
-
- atMethodArgs(ASTList, int[], int[], String[]) - Method in class javassist.compiler.JvstTypeChecker
-
- atMethodArgs(ASTList, int[], int[], String[]) - Method in class javassist.compiler.MemberCodeGen
-
- atMethodArgs(ASTList, int[], int[], String[]) - Method in class javassist.compiler.TypeChecker
-
- atMethodBody(Stmnt, boolean, boolean) - Method in class javassist.compiler.CodeGen
-
- atMethodCallCore(CtClass, String, ASTList, boolean, boolean, int, MemberResolver.Method) - Method in class javassist.compiler.MemberCodeGen
-
- atMethodCallCore(CtClass, String, ASTList) - Method in class javassist.compiler.TypeChecker
-
- atMethodDecl(MethodDecl) - Method in class javassist.compiler.ast.Visitor
-
- atMethodDecl(MethodDecl) - Method in class javassist.compiler.CodeGen
-
- atMultiNewArray(int, ASTList, ASTList) - Method in class javassist.compiler.MemberCodeGen
-
- atMultiNewArray(int, ASTList, ASTList) - Method in class javassist.compiler.TypeChecker
-
- atNewArrayExpr(NewExpr) - Method in class javassist.compiler.MemberCodeGen
-
- atNewArrayExpr(NewExpr) - Method in class javassist.compiler.TypeChecker
-
- atNewExpr(NewExpr) - Method in class javassist.compiler.ast.Visitor
-
- atNewExpr(NewExpr) - Method in class javassist.compiler.CodeGen
-
- atNewExpr(NewExpr) - Method in class javassist.compiler.MemberCodeGen
-
- atNewExpr(NewExpr) - Method in class javassist.compiler.TypeChecker
-
- atPair(Pair) - Method in class javassist.compiler.ast.Visitor
-
- atPair(Pair) - Method in class javassist.compiler.CodeGen
-
- atPlusPlusCore(int, boolean, int, boolean, Expr) - Method in class javassist.compiler.CodeGen
-
- atReturnStmnt(Stmnt) - Method in class javassist.compiler.CodeGen
-
- atReturnStmnt(Stmnt) - Method in class javassist.compiler.JvstCodeGen
-
- atReturnStmnt2(ASTree) - Method in class javassist.compiler.CodeGen
-
- atStmnt(Stmnt) - Method in class javassist.compiler.ast.Visitor
-
- atStmnt(Stmnt) - Method in class javassist.compiler.CodeGen
-
- atStringL(StringL) - Method in class javassist.compiler.ast.Visitor
-
- atStringL(StringL) - Method in class javassist.compiler.CodeGen
-
- atStringL(StringL) - Method in class javassist.compiler.TypeChecker
-
- atSymbol(Symbol) - Method in class javassist.compiler.ast.Visitor
-
- atSymbol(Symbol) - Method in class javassist.compiler.CodeGen
-
- AttributeInfo - Class in javassist.bytecode
-
attribute_info
structure.
- AttributeInfo(ConstPool, int, byte[]) - Constructor for class javassist.bytecode.AttributeInfo
-
- AttributeInfo(ConstPool, String) - Constructor for class javassist.bytecode.AttributeInfo
-
- AttributeInfo(ConstPool, String, byte[]) - Constructor for class javassist.bytecode.AttributeInfo
-
Constructs an attribute_info
structure.
- AttributeInfo(ConstPool, int, DataInputStream) - Constructor for class javassist.bytecode.AttributeInfo
-
- atTryStmnt(Stmnt) - Method in class javassist.compiler.CodeGen
-
- atTryStmnt(Stmnt) - Method in class javassist.compiler.MemberCodeGen
-
- atVariable(Variable) - Method in class javassist.compiler.ast.Visitor
-
- atVariable(Variable) - Method in class javassist.compiler.CodeGen
-
- atVariable(Variable) - Method in class javassist.compiler.TypeChecker
-
- cacheCtClass(String, CtClass, boolean) - Method in class javassist.ClassPool
-
Provides a hook so that subclasses can do their own
caching of classes.
- cacheCtClass(String, CtClass, boolean) - Method in class javassist.scopedpool.ScopedClassPool
-
Cache a class
- cachedStringRep - Variable in class javassist.CtMethod
-
- CALL - Static variable in interface javassist.compiler.TokenId
-
- call(int, int, Object[]) - Method in class javassist.tools.rmi.ObjectImporter
-
Calls a method on a remote object.
- 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 in javassist
-
Thrown when bytecode transformation has failed.
- CannotCompileException(String) - Constructor for exception javassist.CannotCompileException
-
Constructs a CannotCompileException with a message.
- CannotCompileException(Throwable) - Constructor for exception javassist.CannotCompileException
-
Constructs a CannotCompileException with an Exception
representing the cause.
- CannotCompileException(String, Throwable) - Constructor for exception javassist.CannotCompileException
-
Constructs a CannotCompileException with a detailed message
and an Exception
representing the cause.
- CannotCompileException(NotFoundException) - Constructor for exception javassist.CannotCompileException
-
Constructs a CannotCompileException with a
NotFoundException
.
- CannotCompileException(CompileError) - Constructor for exception javassist.CannotCompileException
-
Constructs a CannotCompileException with an CompileError
.
- CannotCompileException(ClassNotFoundException, String) - Constructor for exception javassist.CannotCompileException
-
Constructs a CannotCompileException
with a ClassNotFoundException
.
- CannotCompileException(ClassFormatError, String) - Constructor for exception javassist.CannotCompileException
-
Constructs a CannotCompileException with a ClassFormatError.
- CannotCreateException - Exception in javassist.tools.reflect
-
Signals that ClassMetaobject.newInstance()
fails.
- CannotCreateException(String) - Constructor for exception javassist.tools.reflect.CannotCreateException
-
- CannotCreateException(Exception) - Constructor for exception javassist.tools.reflect.CannotCreateException
-
- CannotInvokeException - Exception in javassist.tools.reflect
-
Thrown when method invocation using the reflection API has thrown
an exception.
- CannotInvokeException(String) - Constructor for exception javassist.tools.reflect.CannotInvokeException
-
Constructs a CannotInvokeException with an error message.
- CannotInvokeException(InvocationTargetException) - Constructor for exception javassist.tools.reflect.CannotInvokeException
-
Constructs a CannotInvokeException with an InvocationTargetException.
- CannotInvokeException(IllegalAccessException) - Constructor for exception javassist.tools.reflect.CannotInvokeException
-
Constructs a CannotInvokeException with an IllegalAccessException.
- CannotInvokeException(ClassNotFoundException) - Constructor for exception javassist.tools.reflect.CannotInvokeException
-
Constructs a CannotInvokeException with an ClassNotFoundException.
- CannotReflectException - Exception in javassist.tools.reflect
-
Thrown by makeReflective()
in Reflection
when there is an attempt to reflect
a class that is either an interface or a subclass of
either ClassMetaobject or Metaobject.
- CannotReflectException(String) - Constructor for exception javassist.tools.reflect.CannotReflectException
-
- CASE - Static variable in interface javassist.compiler.TokenId
-
- Cast - Class in javassist.expr
-
Explicit type cast.
- Cast(int, CodeIterator, CtClass, MethodInfo) - Constructor for class javassist.expr.Cast
-
Undocumented constructor.
- CastExpr - Class in javassist.compiler.ast
-
Cast expression.
- CastExpr(ASTList, int, ASTree) - Constructor for class javassist.compiler.ast.CastExpr
-
- CastExpr(int, int, ASTree) - Constructor for class javassist.compiler.ast.CastExpr
-
- CASTORE - Static variable in interface javassist.bytecode.Opcode
-
- castType - Variable in class javassist.compiler.ast.CastExpr
-
- CATCH - Static variable in interface javassist.compiler.TokenId
-
- 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
-
- cflowName - Static variable in class javassist.compiler.JvstCodeGen
-
- 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
- CHAR - Static variable in interface javassist.compiler.TokenId
-
- CharConstant - Static variable in interface javassist.compiler.TokenId
-
- CharMemberValue - Class in javassist.bytecode.annotation
-
Char constant value.
- CharMemberValue(int, ConstPool) - Constructor for class javassist.bytecode.annotation.CharMemberValue
-
Constructs a char constant value.
- CharMemberValue(char, ConstPool) - Constructor for class javassist.bytecode.annotation.CharMemberValue
-
Constructs a char constant value.
- CharMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.CharMemberValue
-
Constructs a char constant value.
- charRead() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
- charRead() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
Returns "arrayReadChar" as the name of the static method with the signature
(Ljava/lang/Object;I)C to replace reading from a char[].
- charType - Static variable in class javassist.CtClass
-
The CtClass
object representing
the char
type.
- charWrite() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
Returns the name of a static method with the signature
(Ljava/lang/Object;IC)V
to replace writing to a byte[].
- charWrite() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
Returns "arrayWriteChar" as the name of the static method with the signature
(Ljava/lang/Object;IC)V to replace writing to a byte[].
- CHECKCAST - Static variable in interface javassist.bytecode.Opcode
-
- childFirstLookup - Variable in class javassist.ClassPool
-
Determines the search order.
- chopFrame(int, int, int) - Method in class javassist.bytecode.StackMapTable.Walker
-
Invoked if the visited frame is a chop_frame
.
- chopFrame(int, int) - Method in class javassist.bytecode.StackMapTable.Writer
-
Writes a chop_frame
.
- CLASS - Static variable in interface javassist.compiler.TokenId
-
- ClassClassPath - Class in javassist
-
A search-path for obtaining a class file
by getResourceAsStream()
in java.lang.Class
.
- ClassClassPath(Class) - Constructor for class javassist.ClassClassPath
-
Creates a search path.
- classes - Variable in class javassist.ClassPool
-
- classfile - Variable in class javassist.ByteArrayClassPath
-
- ClassFile - Class in javassist.bytecode
-
ClassFile
represents a Java .class
file, which
consists of a constant pool, methods, fields, and attributes.
- ClassFile(DataInputStream) - Constructor for class javassist.bytecode.ClassFile
-
Constructs a class file from a byte stream.
- ClassFile(boolean, String, String) - Constructor for class javassist.bytecode.ClassFile
-
Constructs a class file including no members.
- ClassFilePrinter - Class in javassist.bytecode
-
A utility class for priting the contents of a class file.
- ClassFilePrinter() - Constructor for class javassist.bytecode.ClassFilePrinter
-
- ClassFileWriter - Class in javassist.bytecode
-
A quick class-file writer.
- ClassFileWriter(int, int) - Constructor for class javassist.bytecode.ClassFileWriter
-
Constructs a class file writer.
- ClassFileWriter.AttributeWriter - Interface in javassist.bytecode
-
This writes attributes.
- ClassFileWriter.ConstPoolWriter - Class in javassist.bytecode
-
Constant Pool.
- ClassFileWriter.FieldWriter - Class in javassist.bytecode
-
Field.
- ClassFileWriter.MethodWriter - Class in javassist.bytecode
-
Method.
- classIndex() - Method in class javassist.bytecode.EnclosingMethodAttribute
-
Returns the value of class_index
.
- classInfoIndex(String) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and class_info_index
in member_value
.
- classInfoIndex(int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and class_info_index
in member_value
.
- classLoader - Variable in class javassist.scopedpool.ScopedClassPool
-
- 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
.
- classmetaobject - Variable in class javassist.tools.reflect.Metaobject
-
- classname - Variable in class javassist.ByteArrayClassPath
-
- className() - Method in class javassist.bytecode.EnclosingMethodAttribute
-
Returns the name of the class specified by class_index
.
- className - Variable in class javassist.compiler.CodeGen
-
- className - Variable in class javassist.compiler.TypeChecker
-
- classname - Variable in class javassist.convert.TransformCall
-
- classname - Variable in class javassist.tools.rmi.RemoteRef
-
- ClassPath - Interface in javassist
-
ClassPath
is an interface implemented by objects
representing a class search path.
- classPath - Variable in class javassist.scopedpool.ScopedClassPool
-
- classPool - Variable in class javassist.bytecode.stackmap.Tracer
-
- 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.
- classpool - Variable in class javassist.scopedpool.ScopedClassPoolRepositoryImpl
-
The default class pool
- classPool - Variable in class javassist.tools.reflect.Reflection
-
- clazzName - Static variable in class javassist.compiler.JvstCodeGen
-
- clean() - Method in class javassist.convert.TransformAccessArrayField
-
- clean() - Method in class javassist.convert.Transformer
-
- 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
.
- clear() - Method in class javassist.scopedpool.SoftValueHashMap
-
Removes all mappings from this map.
- 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
- clearUnregisteredClassLoaders() - Method in interface javassist.scopedpool.ScopedClassPoolRepository
-
This method will check to see if a register classloader has been
undeployed (as in JBoss).
- clearUnregisteredClassLoaders() - Method in class javassist.scopedpool.ScopedClassPoolRepositoryImpl
-
This method will check to see if a register classloader has been
undeployed (as in JBoss)
- clone() - Method in class javassist.bytecode.Bytecode
-
Creates and returns a copy of this object.
- clone() - Method in class javassist.bytecode.ExceptionTable
-
Creates and returns a copy of this object.
- CLONEABLE - Static variable in class javassist.bytecode.analysis.Type
-
Represents the java.lang.Coneable reference type
- close() - Method in class javassist.ByteArrayClassPath
-
Closes this class path.
- close() - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Closes the output stream.
- close() - Method in class javassist.ClassClassPath
-
Does nothing.
- close() - Method in interface javassist.ClassPath
-
This method is invoked when the ClassPath
object is
detached from the search path.
- close() - Method in class javassist.LoaderClassPath
-
Closes this class path.
- close() - Method in class javassist.scopedpool.ScopedClassPool
-
Close the class pool
- close() - Method in class javassist.URLClassPath
-
Closes this class path.
- codeAttr - Variable in class javassist.bytecode.CodeIterator
-
- CodeAttribute - Class in javassist.bytecode
-
Code_attribute
.
- CodeAttribute(ConstPool, int, int, byte[], ExceptionTable) - Constructor for class javassist.bytecode.CodeAttribute
-
Constructs a Code_attribute
.
- CodeAttribute.RuntimeCopyException - Exception in javassist.bytecode
-
An exception that may be thrown by copy()
in CodeAttribute
.
- CodeAttribute.RuntimeCopyException(String) - Constructor for exception javassist.bytecode.CodeAttribute.RuntimeCopyException
-
Constructs an exception.
- 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.
- CodeConverter.DefaultArrayAccessReplacementMethodNames() - Constructor for class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
- codeEnd(int, int) - Method in class javassist.bytecode.ClassFileWriter.MethodWriter
-
Ends appending bytecode.
- CodeGen - Class in javassist.compiler
-
- CodeGen(Bytecode) - Constructor for class javassist.compiler.CodeGen
-
- CodeGen.ReturnHook - Class in javassist.compiler
-
doit() in ReturnHook is called from atReturn().
- CodeGen.ReturnHook(CodeGen) - Constructor for class javassist.compiler.CodeGen.ReturnHook
-
- codeIndex - Variable in class javassist.bytecode.ClassFileWriter.MethodWriter
-
- CodeIterator - Class in javassist.bytecode
-
An iterator for editing a code attribute.
- CodeIterator(CodeAttribute) - Constructor for class javassist.bytecode.CodeIterator
-
- CodeIterator.Gap - Class in javassist.bytecode
-
An inserted gap.
- CodeIterator.Gap() - Constructor for class javassist.bytecode.CodeIterator.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.
- compile(String) - Method in class javassist.compiler.Javac
-
Compiles a method, constructor, or field declaration
to a class.
- compileBody(CtBehavior, String) - Method in class javassist.compiler.Javac
-
Compiles a method (or constructor) body.
- compileBooleanExpr(boolean, ASTree) - Method in class javassist.compiler.CodeGen
-
- CompileError - Exception in javassist.compiler
-
- CompileError(String, Lex) - Constructor for exception javassist.compiler.CompileError
-
- CompileError(String) - Constructor for exception javassist.compiler.CompileError
-
- CompileError(CannotCompileException) - Constructor for exception javassist.compiler.CompileError
-
- CompileError(NotFoundException) - Constructor for exception javassist.compiler.CompileError
-
- compileExpr(ASTree) - Method in class javassist.compiler.CodeGen
-
- compileExpr(String) - Method in class javassist.compiler.Javac
-
Compiles an exression.
- compileExpr(ASTree) - Method in class javassist.compiler.Javac
-
Compiles an exression.
- compileParameterList(Bytecode, CtClass[], int) - Static method in class javassist.compiler.JvstCodeGen
-
- Compiler - Class in javassist.tools.reflect
-
A bytecode translator for reflection.
- Compiler() - Constructor for class javassist.tools.reflect.Compiler
-
- compileStmnt(String) - Method in class javassist.compiler.Javac
-
Compiles a statement (or a block).
- compileUnwrapValue(CtClass, Bytecode) - Method in class javassist.compiler.JvstCodeGen
-
- compileUnwrapValue(CtClass) - Method in class javassist.compiler.JvstTypeChecker
-
- compute(CodeIterator, TypedBlock[], int, TypeData[]) - Method in class javassist.bytecode.stackmap.Liveness
-
- 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 - Class in javassist.compiler.ast
-
Conditional expression.
- CondExpr(ASTree, ASTree, ASTree) - Constructor for class javassist.compiler.ast.CondExpr
-
- condExpr() - Method in class javassist.compiler.ast.CondExpr
-
- CONST - Static variable in interface javassist.compiler.TokenId
-
- CONST_Class - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_Class
- CONST_Double - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_Double
- CONST_Fieldref - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_Fieldref
- CONST_Float - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_Float
- CONST_Integer - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_Integer
- CONST_InterfaceMethodref - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_InterfaceMethodref
- CONST_Long - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_Long
- CONST_Methodref - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_Methodref
- CONST_NameAndType - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_NameAndType
- CONST_String - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_String
- CONST_Utf8 - Static variable in class javassist.bytecode.ConstPool
-
CONSTANT_Utf8
- constant(int) - Static method in class javassist.CtField.Initializer
-
Makes an initializer that assigns a constant integer value.
- constant(boolean) - Static method in class javassist.CtField.Initializer
-
Makes an initializer that assigns a constant boolean value.
- constant(long) - Static method in class javassist.CtField.Initializer
-
Makes an initializer that assigns a constant long value.
- constant(float) - Static method in class javassist.CtField.Initializer
-
Makes an initializer that assigns a constant float value.
- constant(double) - Static method in class javassist.CtField.Initializer
-
Makes an initializer that assigns a constant double value.
- constant(String) - Static method in class javassist.CtField.Initializer
-
Makes an initializer that assigns a constant string value.
- ConstantAttribute - Class in javassist.bytecode
-
ConstantValue_attribute
.
- ConstantAttribute(ConstPool, int) - Constructor for class javassist.bytecode.ConstantAttribute
-
Constructs a ConstantValue attribute.
- constPool - Variable in class javassist.bytecode.AttributeInfo
-
- constPool - Variable in class javassist.bytecode.ClassFileWriter.FieldWriter
-
- constPool - Variable in class javassist.bytecode.ClassFileWriter.MethodWriter
-
- ConstPool - Class in javassist.bytecode
-
Constant pool table.
- ConstPool(String) - Constructor for class javassist.bytecode.ConstPool
-
Constructs a constant pool table.
- ConstPool(DataInputStream) - Constructor for class javassist.bytecode.ConstPool
-
Constructs a constant pool table from the given byte stream.
- constPool - Variable in class javassist.convert.TransformCall
-
- ConstructorCall - Class in javassist.expr
-
Constructor call such as this()
and super()
within a constructor body.
- ConstructorCall(int, CodeIterator, CtClass, MethodInfo) - Constructor for class javassist.expr.ConstructorCall
-
Undocumented constructor.
- constValueIndex(boolean) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and const_value_index
in member_value
.
- constValueIndex(byte) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and const_value_index
in member_value
.
- constValueIndex(char) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and const_value_index
in member_value
.
- constValueIndex(short) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and const_value_index
in member_value
.
- constValueIndex(int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and const_value_index
in member_value
.
- constValueIndex(long) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and const_value_index
in member_value
.
- constValueIndex(float) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and const_value_index
in member_value
.
- constValueIndex(double) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and const_value_index
in member_value
.
- constValueIndex(String) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and const_value_index
in member_value
.
- constValueIndex(int, int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
Writes tag
and const_value_index
in member_value
.
- containsKey(Object) - Method in class javassist.scopedpool.SoftValueHashMap
-
Returns true
if this map contains a mapping for the
specified key.
- CONTINUE - Static variable in interface javassist.compiler.TokenId
-
- continueList - Variable in class javassist.compiler.CodeGen
-
- converter - Variable in class javassist.tools.reflect.Reflection
-
- copy() - Method in class javassist.bytecode.analysis.Frame
-
Makes a shallow copy of this frame, i.e.
- copy(ConstPool, Map) - Method in class javassist.bytecode.AnnotationDefaultAttribute
-
Copies this attribute and returns a new copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.AnnotationsAttribute
-
Copies this attribute and returns a new copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.AttributeInfo
-
Makes a copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.CodeAttribute
-
Makes a copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.ConstantAttribute
-
Makes a copy.
- copy(int, ConstPool, Map) - Method in class javassist.bytecode.ConstPool
-
Copies the n-th item in this ConstPool object into the destination
ConstPool object.
- copy(ConstPool, Map) - Method in class javassist.bytecode.DeprecatedAttribute
-
Makes a copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.EnclosingMethodAttribute
-
Makes a copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.ExceptionsAttribute
-
Makes a copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.ExceptionTable
-
Makes a copy of this exception_table[]
.
- copy(ConstPool, Map) - Method in class javassist.bytecode.InnerClassesAttribute
-
Makes a copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.LineNumberAttribute
-
Makes a copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.LocalVariableAttribute
-
Makes a copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.ParameterAnnotationsAttribute
-
Copies this attribute and returns a new copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.SignatureAttribute
-
Makes a copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.SourceFileAttribute
-
Makes a copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.StackMap
-
Makes a copy.
- copy() - Method in class javassist.bytecode.stackmap.TypeData.ArrayElement
-
- copy() - Method in class javassist.bytecode.stackmap.TypeData.BasicType
-
- copy() - Method in class javassist.bytecode.stackmap.TypeData.ClassName
-
- copy() - Method in class javassist.bytecode.stackmap.TypeData
-
- copy() - Method in class javassist.bytecode.stackmap.TypeData.NullType
-
- copy() - Method in class javassist.bytecode.stackmap.TypeData.UninitData
-
- copy(ConstPool, Map) - Method in class javassist.bytecode.StackMapTable
-
Makes a copy.
- copy(ConstPool, Map) - Method in class javassist.bytecode.SyntheticAttribute
-
Makes a copy.
- copy(CtConstructor, CtClass, ClassMap) - Static method in class javassist.CtNewConstructor
-
Creates a copy of a constructor.
- copy(CtMethod, CtClass, ClassMap) - Static method in class javassist.CtNewMethod
-
Creates a copy of a method.
- copy(CtMethod, String, CtClass, ClassMap) - Static method in class javassist.CtNewMethod
-
Creates a copy of a method with a new name.
- copyFrom(int, TypeData[], TypeData[]) - Static method in class javassist.bytecode.stackmap.Tracer
-
- copyStack() - Method in class javassist.bytecode.analysis.Frame
-
Makes a shallow copy of the stack portion of this frame.
- cpool - Variable in class javassist.bytecode.stackmap.Tracer
-
- create(ClassLoader, ClassPool, ScopedClassPoolRepository) - Method in interface javassist.scopedpool.ScopedClassPoolFactory
-
Makes an instance.
- create(ClassPool, ScopedClassPoolRepository) - Method in interface javassist.scopedpool.ScopedClassPoolFactory
-
Makes an instance.
- create(ClassLoader, ClassPool, ScopedClassPoolRepository) - Method in class javassist.scopedpool.ScopedClassPoolFactoryImpl
-
Makes an instance.
- create(ClassPool, ScopedClassPoolRepository) - Method in class javassist.scopedpool.ScopedClassPoolFactoryImpl
-
Makes an instance.
- create(Class[], Object[], MethodHandler) - Method in class javassist.util.proxy.ProxyFactory
-
Creates a proxy class and returns an instance of that class.
- create(Class[], Object[]) - Method in class javassist.util.proxy.ProxyFactory
-
Creates a proxy class and returns an instance of that class.
- createClass() - Method in class javassist.util.proxy.ProxyFactory
-
Generates a proxy class using the current filter.
- createClass(MethodFilter) - Method in class javassist.util.proxy.ProxyFactory
-
Generates a proxy class using the supplied filter.
- createCtClass(String, boolean) - Method in class javassist.ClassPool
-
Creates a CtClass object representing the specified class.
- createMemberValue(ConstPool, CtClass) - Static method in class javassist.bytecode.annotation.Annotation
-
Makes an instance of MemberValue
.
- createScopedClassPool(ClassLoader, ClassPool) - Method in interface javassist.scopedpool.ScopedClassPoolRepository
-
Create a scoped classpool.
- createScopedClassPool(ClassLoader, ClassPool) - Method in class javassist.scopedpool.ScopedClassPoolRepositoryImpl
-
Create a scoped classpool.
- CtBehavior - Class in javassist
-
CtBehavior
represents a method, a constructor,
or a static constructor (class initializer).
- CtBehavior(CtClass, MethodInfo) - Constructor for class javassist.CtBehavior
-
- CtClass - Class in javassist
-
An instance of CtClass
represents a class.
- CtClass(String) - Constructor for class javassist.CtClass
-
- CtConstructor - Class in javassist
-
An instance of CtConstructor represents a constructor.
- CtConstructor(MethodInfo, CtClass) - Constructor for class javassist.CtConstructor
-
- 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.
- CtField.Initializer() - Constructor for class javassist.CtField.Initializer
-
- CtMember - Class in javassist
-
An instance of CtMember
represents a field, a constructor,
or a method.
- CtMember(CtClass) - Constructor for class javassist.CtMember
-
- 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.
- currentPos - Variable in class javassist.bytecode.CodeIterator
-
- GE - Static variable in interface javassist.compiler.TokenId
-
- get(CtClass) - Static method in class javassist.bytecode.analysis.Type
-
Obtain the Type for a given class.
- get() - Method in class javassist.bytecode.AttributeInfo
-
Returns the info
field
of this attribute_info
structure.
- get() - Method in class javassist.bytecode.Bytecode
-
Returns the produced bytecode sequence.
- get() - Method in class javassist.bytecode.CodeAttribute
-
This method is not available.
- get() - Method in class javassist.bytecode.CodeIterator
-
Returns a Code attribute read with this iterator.
- get(Object) - Method in class javassist.ClassMap
-
Returns the class name to wihch the given jvmClassName
is mapped.
- get(String) - Method in class javassist.ClassPool
-
Reads a class file from the source and returns a reference
to the CtClass
object representing that class file.
- get(String[]) - Method in class javassist.ClassPool
-
Reads class files from the source and returns an array of
CtClass
objects representing those class files.
- get() - 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() - Method in class javassist.compiler.Lex
-
- get(Object) - Method in class javassist.scopedpool.SoftValueHashMap
-
Returns the value to which this map maps the specified key
.
- get(ProxyFactory) - Method in interface javassist.util.proxy.ProxyFactory.ClassLoaderProvider
-
Returns a class loader.
- get0(String, boolean) - Method in class javassist.ClassPool
-
- 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.
- getAccessibleConstructor(String, CtClass, MethodInfo) - Method in class javassist.compiler.MemberCodeGen
-
- getAccessiblePrivate(String, String, String, MethodInfo, CtClass) - Method in class javassist.compiler.MemberCodeGen
-
- getAccessorMaker() - Method in class javassist.CtClass
-
Undocumented method.
- getAndRename(String, String) - Method in class javassist.ClassPool
-
Reads a class file and constructs a CtClass
object with a new name.
- getAnnotation() - Method in class javassist.bytecode.annotation.AnnotationImpl
-
Obtains the internal data structure representing the annotation.
- getAnnotation(String) - Method in class javassist.bytecode.AnnotationsAttribute
-
Parses the annotations and returns a data structure representing
the annotation with the specified type.
- getAnnotation(Class) - Method in class javassist.CtBehavior
-
Returns the annotation if the class has the specified annotation class.
- getAnnotation(Class) - Method in class javassist.CtClass
-
Returns the annotation if the class has the specified annotation class.
- 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 class.
- 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
-
- getArrayReadOp(int, int) - Static method in class javassist.compiler.CodeGen
-
- getArraySize() - Method in class javassist.compiler.ast.NewExpr
-
- getArrayType(String) - Static method in class javassist.bytecode.stackmap.TypeData.ArrayElement
-
- getArrayType() - Method in class javassist.compiler.ast.NewExpr
-
- getArrayType() - Method in class javassist.CtPrimitiveType
-
Returns the array-type code representing the type.
- getArrayWriteOp(int, int) - Static method in class javassist.compiler.CodeGen
-
- 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
-
- getBytecode() - Method in class javassist.compiler.Javac
-
Returns the produced bytecode.
- getCached(String) - Method in class javassist.ClassPool
-
Provide a hook so that subclasses can do their own
caching of classes.
- getCached(String) - Method in class javassist.scopedpool.ScopedClassPool
-
Get the cached class
- getCachedLocally(String) - Method in class javassist.scopedpool.ScopedClassPool
-
Whether the class is cached in this pooled
- getCause() - Method in exception javassist.CannotCompileException
-
Gets the cause of this throwable.
- getClassBound() - Method in class javassist.bytecode.SignatureAttribute.TypeParameter
-
Returns the class bound of this parameter.
- getClassFile() - Method in class javassist.CtClass
-
Returns a class file for this class.
- getClassFile2() - Method in class javassist.CtClass
-
Returns a class file for this class (read only).
- getClassInfo(int) - Method in class javassist.bytecode.ConstPool
-
Reads CONSTANT_Class_info
structure
at the given index.
- getClassInitializer() - Method in class javassist.CtClass
-
Gets the class initializer (static constructor)
declared in the class.
- getClassLoader() - Method in class javassist.ClassPool
-
Get the classloader for toClass()
, getAnnotations()
in
CtClass
, etc.
- getClassLoader() - Method in class javassist.scopedpool.ScopedClassPool
-
Get the class loader
- getClassLoader() - Method in class javassist.util.proxy.ProxyFactory
-
- getClassLoader0() - Method in class javassist.scopedpool.ScopedClassPool
-
- getClassLoader0() - Method in class javassist.util.proxy.ProxyFactory
-
- getClassMetaobject() - Method in class javassist.tools.reflect.Metaobject
-
Obtains the class metaobject associated with this metaobject.
- getClassName() - Method in error javassist.bytecode.annotation.NoSuchClassError
-
Returns the name of the class not found.
- getClassName() - Method in class javassist.bytecode.ConstPool
-
Returns the name of the class using this constant pool table.
- getClassName() - Method in class javassist.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.compiler.MemberResolver
-
- getClassPool() - Method in class javassist.CtClass
-
Returns a ClassPool
for this class.
- getClassPoolFactory() - Method in interface javassist.scopedpool.ScopedClassPoolRepository
-
Obtains the recorded factory.
- getClassPoolFactory() - Method in class javassist.scopedpool.ScopedClassPoolRepositoryImpl
-
- getClazz(String) - Static method in class javassist.runtime.Desc
-
Interprets the given class name.
- getCode() - Method in class javassist.bytecode.CodeAttribute
-
Returns code[]
.
- getCodeAttribute() - Method in class javassist.bytecode.MethodInfo
-
Returns a Code attribute.
- getCodeLength() - Method in class javassist.bytecode.CodeAttribute
-
Returns code_length
.
- getCodeLength() - Method in class javassist.bytecode.CodeIterator
-
Returns code_length
of Code_attribute
.
- getComponent() - Method in class javassist.bytecode.analysis.MultiArrayType
-
- getComponent() - Method in class javassist.bytecode.analysis.MultiType
-
Always returns null since this type is never used for an array.
- getComponent() - Method in class javassist.bytecode.analysis.Type
-
Returns the array component if this type is an array.
- getComponentType() - Method in class javassist.bytecode.SignatureAttribute.ArrayType
-
Returns the component type.
- getComponentType() - Method in class javassist.CtClass
-
If this object represents an array, this method returns the component
type of the array.
- getComponentType() - Method in class javassist.expr.NewArray
-
Returns the type of array components.
- getConstantFieldValue(CtField) - Static method in class javassist.compiler.TypeChecker
-
- 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.
- getConstPool() - Method in class javassist.expr.Expr
-
- getConstructor(CtClass, String, MethodInfo) - Method in class javassist.compiler.AccessorMaker
-
- getConstructor(String) - Method in class javassist.CtClass
-
Returns the constructor with the given signature,
which is represented by a character string
called method descriptor.
- getConstructor() - Method in class javassist.expr.ConstructorCall
-
Returns the called constructor.
- getConstructor() - Method in class javassist.expr.NewExpr
-
Returns the constructor called for creating the object.
- getConstructors() - Method in class javassist.CtClass
-
Returns an array containing CtConstructor
objects
representing all the non-private constructors of the class.
- getCreatedDimensions() - Method in class javassist.expr.NewArray
-
Returns the number of dimensions of arrays to be created.
- getCtClass() - Method in class javassist.bytecode.analysis.MultiArrayType
-
- getCtClass() - Method in class javassist.bytecode.analysis.MultiType
-
Gets the class that corresponds with this type.
- getCtClass() - Method in class javassist.bytecode.analysis.Type
-
Returns the class this type represents.
- getCtClass(String) - Method in class javassist.ClassPool
-
Returns a CtClass
object with the given name.
- getCtClass() - Method in class javassist.expr.MethodCall
-
Returns the class of the target object,
which the method is called on.
- 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.
- getDeclaredConstructor(CtClass[]) - Method in class javassist.CtClass
-
Returns a constructor receiving the specified parameters.
- getDeclaredConstructors() - Method in class javassist.CtClass
-
Gets all the constructors declared in the class.
- getDeclaredField(String) - Method in class javassist.CtClass
-
Retrieves the field with the specified name among the fields
declared in the class.
- getDeclaredField(String, String) - Method in class javassist.CtClass
-
Retrieves the field with the specified name and type among the fields
declared in the class.
- getDeclaredFields() - Method in class javassist.CtClass
-
Gets all the fields declared in the class.
- getDeclaredMethod(String, CtClass[]) - Method in class javassist.CtClass
-
Retrieves the method with the specified name and parameter types
among the methods declared in the class.
- getDeclaredMethod(String) - Method in class javassist.CtClass
-
Retrieves the method with the specified name among the methods
declared in the class.
- getDeclaredMethods() - Method in class javassist.CtClass
-
Gets all methods declared in the class.
- 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.
- getDomain() - Method in class javassist.util.proxy.ProxyFactory
-
- getDouble() - Method in class javassist.compiler.Lex
-
- getDoubleInfo(int) - Method in class javassist.bytecode.ConstPool
-
Reads CONSTANT_Double_info
structure
at the given index.
- getElementType(String) - Static method in class javassist.bytecode.stackmap.TypeData.ArrayElement
-
- getEnclosingClass() - Method in class javassist.expr.Expr
-
Returns the class that declares the method enclosing
this expression.
- getEnclosingMethod() - Method in class javassist.CtClass
-
Returns the immediately enclosing method of this class.
- 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.
- getExpected() - Method in class javassist.bytecode.stackmap.TypeData.BasicType
-
- getExpected() - Method in class javassist.bytecode.stackmap.TypeData
-
- getExpected() - Method in class javassist.bytecode.stackmap.TypeData.NullType
-
- getExpected() - Method in class javassist.bytecode.stackmap.TypeData.TypeName
-
- getExpected() - Method in class javassist.bytecode.stackmap.TypeData.UninitData
-
- getExpr() - Method in exception javassist.compiler.NoFieldException
-
- GETFIELD - Static variable in interface javassist.bytecode.Opcode
-
- getField() - Method in class javassist.compiler.ast.Member
-
- getField() - Method in exception javassist.compiler.NoFieldException
-
- getField(String) - Method in class javassist.CtClass
-
Returns the field with the specified name.
- getField(String, String) - Method in class javassist.CtClass
-
Returns the field with the specified name and type.
- getField() - Method in class javassist.expr.FieldAccess
-
Returns the field accessed by this expression.
- getFieldGetter(FieldInfo, boolean) - Method in class javassist.compiler.AccessorMaker
-
Returns the method_info representing the added getter.
- getFieldInfo() - Method in class javassist.CtField
-
Returns the FieldInfo representing the field in the class file.
- getFieldInfo2() - Method in class javassist.CtField
-
Returns the FieldInfo representing the field in the class
file (read only).
- getFieldName() - Method in class javassist.expr.FieldAccess
-
Returns the name of the field.
- getFieldrefClass(int) - Method in class javassist.bytecode.ConstPool
-
Reads the class_index
field of the
CONSTANT_Fieldref_info
structure
at the given index.
- getFieldrefClassName(int) - Method in class javassist.bytecode.ConstPool
-
Reads the class_index
field of the
CONSTANT_Fieldref_info
structure
at the given index.
- getFieldrefName(int) - Method in class javassist.bytecode.ConstPool
-
Reads the name_index
field of the
CONSTANT_NameAndType_info
structure
indirectly specified by the given index.
- getFieldrefNameAndType(int) - Method in class javassist.bytecode.ConstPool
-
Reads the name_and_type_index
field of the
CONSTANT_Fieldref_info
structure
at the given index.
- getFieldrefType(int) - Method in class javassist.bytecode.ConstPool
-
Reads the descriptor_index
field of the
CONSTANT_NameAndType_info
structure
indirectly specified by the given index.
- getFields() - Method in class javassist.bytecode.ClassFile
-
Returns all the fields declared in the class.
- getFields() - Method in class javassist.CtClass
-
Returns an array containing CtField
objects
representing all the non-private fields of the class.
- getFieldSetter(FieldInfo, boolean) - Method in class javassist.compiler.AccessorMaker
-
Returns the method_info representing the added setter.
- 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.
- 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.
- getImportedPackages() - Method in class javassist.ClassPool
-
Returns all the package names recorded by importPackage()
.
- getInit() - Method in class javassist.compiler.ast.FieldDecl
-
- getInitAST() - Method in class javassist.compiler.Javac.CtFieldWithInit
-
- getInitAST() - Method in class javassist.CtField
-
- 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.
- getInstance() - Static method in class javassist.scopedpool.ScopedClassPoolRepositoryImpl
-
Get the instance.
- getIntegerInfo(int) - Method in class javassist.bytecode.ConstPool
-
Reads CONSTANT_Integer_info
structure
at the given index.
- getInterfaceBound() - Method in class javassist.bytecode.SignatureAttribute.TypeParameter
-
Returns the interface bound of this parameter.
- getInterfaceMethodrefClass(int) - Method in class javassist.bytecode.ConstPool
-
Reads the class_index
field of the
CONSTANT_InterfaceMethodref_info
structure
at the given index.
- getInterfaceMethodrefClassName(int) - Method in class javassist.bytecode.ConstPool
-
Reads the class_index
field of the
CONSTANT_InterfaceMethodref_info
structure
at the given index.
- getInterfaceMethodrefName(int) - Method in class javassist.bytecode.ConstPool
-
Reads the name_index
field of the
CONSTANT_NameAndType_info
structure
indirectly specified by the given index.
- getInterfaceMethodrefNameAndType(int) - Method in class javassist.bytecode.ConstPool
-
Reads the name_and_type_index
field of the
CONSTANT_InterfaceMethodref_info
structure
at the given index.
- getInterfaceMethodrefType(int) - Method in class javassist.bytecode.ConstPool
-
Reads the descriptor_index
field of the
CONSTANT_NameAndType_info
structure
indirectly specified by the given index.
- getInterfaces() - Method in class javassist.bytecode.ClassFile
-
Returns the names of the interfaces implemented by the class.
- getInterfaces() - Method in class javassist.bytecode.SignatureAttribute.ClassSignature
-
Returns the super interfaces.
- getInterfaces() - Method in class javassist.CtClass
-
Obtains the class objects representing the interfaces implemented
by the class or, if this object represents an interface, the interfaces
extended by that interface.
- getInterfaces() - Method in class javassist.util.proxy.ProxyFactory
-
Obtains the interfaces set by setInterfaces
.
- 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
-
- getLex() - Method in exception javassist.compiler.CompileError
-
- getLineNumber(int) - Method in class javassist.bytecode.MethodInfo
-
Returns the line number of the source line corresponding to the specified
bytecode contained in this method.
- getLineNumber() - Method in class javassist.expr.Cast
-
Returns the line number of the source line containing the
type-cast expression.
- getLineNumber() - Method in class javassist.expr.Expr
-
Returns the line number of the source line containing the expression.
- getLineNumber() - Method in class javassist.expr.FieldAccess
-
Returns the line number of the source line containing the
field access.
- getLineNumber() - Method in class javassist.expr.Handler
-
Returns the source line number of the catch clause.
- getLineNumber() - Method in class javassist.expr.Instanceof
-
Returns the line number of the source line containing the
instanceof expression.
- getLineNumber() - Method in class javassist.expr.MethodCall
-
Returns the line number of the source line containing the
method call.
- getLineNumber() - Method in class javassist.expr.NewArray
-
Returns the line number of the source line containing the
array creation.
- getLineNumber() - Method in class javassist.expr.NewExpr
-
Returns the line number of the source line containing the
new expression.
- getLocal(int) - Method in class javassist.bytecode.analysis.Frame
-
Returns the local varaible table entry at index.
- getLocally(String) - Method in class javassist.scopedpool.ScopedClassPool
-
Get any local copy of the class
- getLocalVar() - Method in class javassist.compiler.ast.Declarator
-
- getLocalVar(Declarator) - Method in class javassist.compiler.CodeGen
-
- getLong() - Method in class javassist.compiler.Lex
-
- 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.
- getMajorVersion() - Method in class javassist.compiler.MemberCodeGen
-
Returns the major version of the class file
targeted by this compilation.
- getMark() - Method in class javassist.bytecode.CodeIterator
-
Gets the index of the position of the mark set by
setMark
.
- getMaxLocals() - Method in class javassist.bytecode.Bytecode
-
Gets max_locals
.
- getMaxLocals() - Method in class javassist.bytecode.CodeAttribute
-
Returns max_locals
.
- getMaxLocals() - Method in class javassist.compiler.CodeGen
-
- getMaxStack() - Method in class javassist.bytecode.Bytecode
-
Gets max_stack
.
- getMaxStack() - Method in class javassist.bytecode.CodeAttribute
-
Returns max_stack
.
- getMemberClass(int) - Method in class javassist.bytecode.ConstPool
-
Reads the class_index
field of the
CONSTANT_Fieldref_info
,
CONSTANT_Methodref_info
,
or CONSTANT_Interfaceref_info
,
structure at the given index.
- getMemberNameAndType(int) - Method in class javassist.bytecode.ConstPool
-
Reads the name_and_type_index
field of the
CONSTANT_Fieldref_info
,
CONSTANT_Methodref_info
,
or CONSTANT_Interfaceref_info
,
structure at the given index.
- getMemberNames() - Method in class javassist.bytecode.annotation.Annotation
-
Obtains all the member names.
- getMemberValue(String) - Method in class javassist.bytecode.annotation.Annotation
-
Obtains the member value with the given name.
- getMessage() - Method in exception javassist.compiler.CompileError
-
- 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() - Method in class javassist.compiler.ast.CallExpr
-
- getMethod(String, String) - Method in class javassist.CtClass
-
Returns the method with the given name and signature.
- getMethod() - Method in class javassist.expr.ConstructorCall
-
Always throws a NotFoundException
.
- getMethod() - Method in class javassist.expr.MethodCall
-
Returns the called method.
- getMethod(int) - Method in class javassist.tools.reflect.ClassMetaobject
-
Returns the java.lang.reflect.Method
object representing
the method specified by identifier
.
- getMethodAccessor(String, String, String, MethodInfo) - Method in class javassist.compiler.AccessorMaker
-
Returns the name of the method for accessing a private method.
- getMethodArgsLength(ASTList) - Method in class javassist.compiler.JvstCodeGen
-
- getMethodArgsLength(ASTList) - Method in class javassist.compiler.JvstTypeChecker
-
- getMethodArgsLength(ASTList) - Method in class javassist.compiler.MemberCodeGen
-
- getMethodArgsLength(ASTList) - Method in class javassist.compiler.TypeChecker
-
- getMethodIndex(String, Class[]) - Method in class javassist.tools.reflect.ClassMetaobject
-
Returns the identifier index of the method, as identified by its
original name.
- getMethodInfo() - Method in class javassist.CtBehavior
-
Returns the MethodInfo representing this method/constructor in the
class file.
- getMethodInfo2() - Method in class javassist.CtBehavior
-
Returns the MethodInfo representing the method/constructor in the
class file (read only).
- getMethodName() - Method in class javassist.expr.ConstructorCall
-
Returns "super"
or ""this"
.
- getMethodName() - Method in class javassist.expr.MethodCall
-
Returns the name of the called method.
- getMethodName(int) - Method in class javassist.tools.reflect.ClassMetaobject
-
Returns the name of the method specified
by identifier
.
- getMethodName(int) - Method in class javassist.tools.reflect.Metaobject
-
Returns the name of the method specified
by identifier
.
- getMethodrefClass(int) - Method in class javassist.bytecode.ConstPool
-
Reads the class_index
field of the
CONSTANT_Methodref_info
structure
at the given index.
- getMethodrefClassName(int) - Method in class javassist.bytecode.ConstPool
-
Reads the class_index
field of the
CONSTANT_Methodref_info
structure
at the given index.
- getMethodrefName(int) - Method in class javassist.bytecode.ConstPool
-
Reads the name_index
field of the
CONSTANT_NameAndType_info
structure
indirectly specified by the given index.
- getMethodrefNameAndType(int) - Method in class javassist.bytecode.ConstPool
-
Reads the name_and_type_index
field of the
CONSTANT_Methodref_info
structure
at the given index.
- getMethodrefType(int) - Method in class javassist.bytecode.ConstPool
-
Reads the descriptor_index
field of the
CONSTANT_NameAndType_info
structure
indirectly specified by the given index.
- getMethods() - Method in class javassist.bytecode.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.
- 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(ASTList) - Static method in class javassist.compiler.MemberResolver
-
- getModifiers() - Method in class javassist.CtBehavior
-
Obtains the modifiers of the method/constructor.
- getModifiers() - Method in class javassist.CtClass
-
Returns the modifiers for this class, encoded in an integer.
- getModifiers() - Method in class javassist.CtField
-
Returns the encoded modifiers of the field.
- getModifiers() - Method in class javassist.CtMember
-
Obtains the modifiers of the member.
- getModifiers() - Method in class javassist.CtPrimitiveType
-
Returns the modifiers for this type.
- getName() - Method in class javassist.bytecode.AttributeInfo
-
Returns an attribute name.
- getName() - Method in class javassist.bytecode.ClassFile
-
Returns the class name.
- getName() - Method in class javassist.bytecode.FieldInfo
-
Returns the field name.
- getName() - Method in class javassist.bytecode.MethodInfo
-
Returns a method name.
- getName() - Method in class javassist.bytecode.SignatureAttribute.ClassType
-
Returns the class name.
- getName() - Method in class javassist.bytecode.SignatureAttribute.TypeParameter
-
Returns the name of the type parameter.
- getName() - Method in class javassist.bytecode.SignatureAttribute.TypeVariable
-
Returns the variable name.
- getName() - Method in class javassist.bytecode.stackmap.TypeData.ArrayElement
-
- getName() - Method in class javassist.bytecode.stackmap.TypeData.BasicType
-
- getName() - Method in class javassist.bytecode.stackmap.TypeData.ClassName
-
- getName() - Method in class javassist.bytecode.stackmap.TypeData
-
- getName() - Method in class javassist.bytecode.stackmap.TypeData.UninitData
-
- 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 the
CONSTANT_NameAndType_info
structure
at the given index.
- getNameAndTypeName(int) - Method in class javassist.bytecode.ConstPool
-
Reads the name_index
field of the
CONSTANT_NameAndType_info
structure
at the given index.
- getNestedClasses() - Method in class javassist.CtClass
-
Returns an array of nested classes declared in the class.
- getNext() - Method in class javassist.convert.Transformer
-
- 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.
- getPackage(String) - Method in class javassist.Loader
-
- getPackageName() - Method in class javassist.CtClass
-
Obtains the package name.
- getParamDescriptor(String) - Static method in class javassist.bytecode.Descriptor
-
Returns the signature of the given descriptor.
- getParameterAnnotations() - Method in class javassist.CtBehavior
-
Returns the parameter annotations associated with this method or constructor.
- getParameters() - Method in class javassist.bytecode.SignatureAttribute.ClassSignature
-
Returns the type parameters.
- getParameterTypes(String, ClassPool) - Static method in class javassist.bytecode.Descriptor
-
Returns the CtClass
objects representing the parameter
types specified by the given descriptor.
- getParameterTypes() - Method in class javassist.bytecode.SignatureAttribute.MethodSignature
-
Returns the types of the formal parameters.
- getParameterTypes() - Method in class javassist.CtBehavior
-
Obtains parameter types of this method/constructor.
- getParameterTypes(int) - Method in class javassist.tools.reflect.ClassMetaobject
-
Returns an array of Class
objects representing the
formal parameter types of the method specified
by identifier
.
- getParameterTypes(int) - Method in class javassist.tools.reflect.Metaobject
-
Returns an array of Class
objects representing the
formal parameter types of the method specified
by identifier
.
- getParams() - 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.
- getParent() - Method in class javassist.compiler.SymbolTable
-
- getPort() - Method in class javassist.tools.web.Viewer
-
Returns the port number.
- getReason() - Method in exception javassist.CannotCompileException
-
Gets a long message if it is available.
- getReason() - Method in exception javassist.tools.reflect.CannotInvokeException
-
Returns the cause of this exception.
- getRefClasses(Map) - Method in class javassist.bytecode.ClassFile
-
Internal-use only.
- getRefClasses() - Method in class javassist.CtClass
-
Returns a collection of the names of all the classes
referenced in this class.
- getReflectiveMethods() - Method in class javassist.tools.reflect.ClassMetaobject
-
Returns an array of the methods defined on the given reflective
object.
- getRegisteredCLs() - Method in interface javassist.scopedpool.ScopedClassPoolRepository
-
Get the registered classloaders.
- getRegisteredCLs() - Method in class javassist.scopedpool.ScopedClassPoolRepositoryImpl
-
Get the registered classloaders.
- getRetType(String) - Static method in class javassist.bytecode.stackmap.TypedBlock
-
- 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(String, ClassPool) - Static method in class javassist.bytecode.Descriptor
-
Returns the CtClass
object representing the return
type specified by the given descriptor.
- getReturnType() - Method in class javassist.bytecode.SignatureAttribute.MethodSignature
-
Returns the type of the returned value.
- getReturnType() - Method in class javassist.CtMethod
-
Obtains the type of the returned value.
- getReturnType(int) - Method in class javassist.tools.reflect.ClassMetaobject
-
Returns a Class
objects representing the
return type of the method specified by identifier
.
- getReturnType(int) - Method in class javassist.tools.reflect.Metaobject
-
Returns a Class
objects representing the
return type of the method specified by identifier
.
- getRight() - Method in class javassist.compiler.ast.ASTList
-
- getRight() - Method in class javassist.compiler.ast.ASTree
-
- getRight() - Method in class javassist.compiler.ast.Pair
-
- getSelf() - Method in class javassist.bytecode.stackmap.TypeData
-
- getSelf() - Method in class javassist.bytecode.stackmap.TypeData.UninitData
-
- getServer() - Method in class javassist.tools.web.Viewer
-
Returns the server name.
- getSignature() - Method in class javassist.bytecode.SignatureAttribute
-
Returns the signature indicated by signature_index
.
- getSignature() - Method in class javassist.CtBehavior
-
Returns the method signature (the parameter types
and the return type).
- getSignature() - Method in class javassist.CtField
-
Returns the character string representing the type of the field.
- getSignature() - Method in class javassist.CtMember
-
Returns the character string representing the signature of the member.
- getSignature() - Method in class javassist.expr.FieldAccess
-
Returns the signature of the field type.
- getSignature() - Method in class javassist.expr.MethodCall
-
Returns the method signature (the parameter types
and the return type).
- getSignature() - Method in class javassist.expr.NewExpr
-
Get the signature of the constructor
The signature is represented by a character string
called method descriptor, which is defined in the JVM specification.
- getSimpleName() - Method in class javassist.CtClass
-
Obtains the not-qualified class name.
- getSize() - Method in class javassist.bytecode.analysis.MultiArrayType
-
- getSize() - Method in class javassist.bytecode.analysis.MultiType
-
Always returns 1, since this type is a reference.
- getSize() - Method in class javassist.bytecode.analysis.Type
-
Gets the word size of this type.
- getSize() - Method in class javassist.bytecode.ConstPool
-
Returns the number of entries in this table.
- getSourceFile() - Method in class javassist.bytecode.ClassFile
-
Returns the source file containing this class.
- getStack(int) - Method in class javassist.bytecode.analysis.Frame
-
Returns the type on the stack at the specified index.
- getStackDepth() - Method in class javassist.bytecode.Bytecode
-
Returns the current stack depth.
- GETSTATIC - Static variable in interface javassist.bytecode.Opcode
-
- getStaticInitializer() - Method in class javassist.bytecode.ClassFile
-
Returns a static initializer (class initializer), or null if it does not
exist.
- getString() - Method in class javassist.compiler.Lex
-
- getStringInfo(int) - Method in class javassist.bytecode.ConstPool
-
Reads CONSTANT_String_info
structure
at the given index.
- getSuperclass() - Method in class javassist.bytecode.ClassFile
-
Returns the super class name.
- getSuperClass() - Method in class javassist.bytecode.SignatureAttribute.ClassSignature
-
Returns the super class.
- getSuperclass(CtClass) - Static method in class javassist.compiler.MemberResolver
-
- getSuperclass() - Method in class javassist.CtClass
-
Obtains the class object representing the superclass of the
class.
- getSuperclass() - Method in class javassist.util.proxy.ProxyFactory
-
Obtains the super class set by setSuperclass()
.
- getSuperclassId() - Method in class javassist.bytecode.ClassFile
-
Returns the index of the constant pool entry representing the super
class.
- getSuperName() - Method in class javassist.compiler.CodeGen
-
Returns the JVM-internal representation of this super class name.
- getSuperName() - Method in class javassist.compiler.MemberCodeGen
-
Returns the JVM-internal representation of this super class name.
- getSuperName() - Method in class javassist.compiler.TypeChecker
-
Returns the JVM-internal representation of this super class name.
- getTag(int) - Method in class javassist.bytecode.ConstPool
-
Returns the tag
field of the constant pool table
entry at the given index.
- getTag() - Method in class javassist.compiler.ast.ArrayInit
-
- getTag() - Method in class javassist.compiler.ast.ASTree
-
Returns the type of this node.
- 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.Expr
-
- getTag() - Method in class javassist.compiler.ast.InstanceOfExpr
-
- getTag() - Method in class javassist.compiler.ast.NewExpr
-
- getTag() - Method in class javassist.compiler.ast.Stmnt
-
- getTempVar() - Method in class javassist.compiler.CodeGen
-
Returns a local variable that single or double words can be
stored in.
- getter(String, CtField) - Static method in class javassist.CtNewMethod
-
Creates a public getter method.
- getTextAround() - Method in class javassist.compiler.Lex
-
- getThisClass() - Method in class javassist.compiler.MemberCodeGen
-
- getThisClassInfo() - Method in class javassist.bytecode.ConstPool
-
Returns the index of CONSTANT_Class_info
structure
specifying the class using this constant pool table.
- getThisName() - Method in class javassist.compiler.CodeGen
-
Returns the JVM-internal representation of this class name.
- getThisName() - Method in class javassist.compiler.MemberCodeGen
-
Returns the JVM-internal representation of this class name.
- getThisName() - Method in class javassist.compiler.TypeChecker
-
Returns the JVM-internal representation of this class name.
- 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.
- getTypeData(ConstPool) - Method in class javassist.bytecode.stackmap.TypeData.BasicType
-
- getTypeData(ConstPool) - Method in class javassist.bytecode.stackmap.TypeData
-
- getTypeData(ConstPool) - Method in class javassist.bytecode.stackmap.TypeData.TypeName
-
- getTypeData(ConstPool) - Method in class javassist.bytecode.stackmap.TypeData.UninitData
-
- getTypeData(ConstPool) - Method in class javassist.bytecode.stackmap.TypeData.UninitThis
-
- getTypeData2(ConstPool, String) - Method in class javassist.bytecode.stackmap.TypeData.NullType
-
- getTypeData2(ConstPool, String) - Method in class javassist.bytecode.stackmap.TypeData.TypeName
-
- 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.
- getTypeTag() - Method in class javassist.bytecode.stackmap.TypeData.BasicType
-
- getTypeTag() - Method in class javassist.bytecode.stackmap.TypeData
-
- getTypeTag() - Method in class javassist.bytecode.stackmap.TypeData.NullType
-
- getTypeTag() - Method in class javassist.bytecode.stackmap.TypeData.TypeName
-
- getTypeTag() - Method in class javassist.bytecode.stackmap.TypeData.UninitData
-
- getTypeTag() - Method in class javassist.bytecode.stackmap.TypeData.UninitThis
-
- 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 - Static variable in interface javassist.compiler.TokenId
-
- GOTO_W - Static variable in interface javassist.bytecode.Opcode
-
- growStack(int) - Method in class javassist.bytecode.Bytecode
-
Increases the current stack depth.
- I2B - Static variable in interface javassist.bytecode.Opcode
-
- I2C - Static variable in interface javassist.bytecode.Opcode
-
- I2D - Static variable in interface javassist.bytecode.Opcode
-
- I2F - Static variable in interface javassist.bytecode.Opcode
-
- I2L - Static variable in interface javassist.bytecode.Opcode
-
- I2S - Static variable in interface javassist.bytecode.Opcode
-
- IADD - Static variable in interface javassist.bytecode.Opcode
-
- IALOAD - Static variable in interface javassist.bytecode.Opcode
-
- IAND - Static variable in interface javassist.bytecode.Opcode
-
- IASTORE - Static variable in interface javassist.bytecode.Opcode
-
- ICONST_0 - Static variable in interface javassist.bytecode.Opcode
-
- ICONST_1 - Static variable in interface javassist.bytecode.Opcode
-
- ICONST_2 - Static variable in interface javassist.bytecode.Opcode
-
- ICONST_3 - Static variable in interface javassist.bytecode.Opcode
-
- ICONST_4 - Static variable in interface javassist.bytecode.Opcode
-
- ICONST_5 - Static variable in interface javassist.bytecode.Opcode
-
- ICONST_M1 - Static variable in interface javassist.bytecode.Opcode
-
- identifier - Variable in class javassist.compiler.ast.Symbol
-
- Identifier - Static variable in interface javassist.compiler.TokenId
-
- IDIV - Static variable in interface javassist.bytecode.Opcode
-
- IF - Static variable in interface javassist.compiler.TokenId
-
- 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
-
- IMPLEMENTS - Static variable in interface javassist.compiler.TokenId
-
- IMPORT - Static variable in interface javassist.compiler.TokenId
-
- 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
.
- incMaxLocals(int) - Method in class javassist.compiler.CodeGen
-
- incoming - Variable in class javassist.bytecode.stackmap.BasicBlock
-
- index - Variable in class javassist.bytecode.LineNumberAttribute.Pc
-
The index into the code array.
- index(int) - Method in class javassist.bytecode.LocalVariableAttribute
-
Returns local_variable_table[i].index
.
- indexOfBytecode() - Method in class javassist.expr.Expr
-
Returns the index of the bytecode corresponding to the expression.
- INEG - Static variable in interface javassist.bytecode.Opcode
-
- info - Variable in class javassist.compiler.MemberResolver.Method
-
- initCause(Throwable) - Method in exception javassist.CannotCompileException
-
Initializes the cause of this throwable.
- initialize(ConstPool, CtClass, MethodInfo) - Method in class javassist.convert.TransformAccessArrayField
-
- initialize(ConstPool, CodeAttribute) - Method in class javassist.convert.TransformBefore
-
- initialize(ConstPool, CodeAttribute) - Method in class javassist.convert.TransformCall
-
- initialize(ConstPool, CodeAttribute) - Method in class javassist.convert.Transformer
-
- initialize(ConstPool, CtClass, MethodInfo) - Method in class javassist.convert.Transformer
-
- initialize(ConstPool, CodeAttribute) - Method in class javassist.convert.TransformFieldAccess
-
- initialize(ConstPool, CodeAttribute) - Method in class javassist.convert.TransformNew
-
- initialize(ConstPool, CodeAttribute) - Method in class javassist.convert.TransformNewClass
-
- initialValue() - Method in class javassist.runtime.Cflow
-
- 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
.
- inputs - Variable in class javassist.bytecode.stackmap.TypedBlock
-
- insert(byte[]) - Method in class javassist.bytecode.CodeIterator
-
Inserts the given bytecode sequence
before the next instruction that would be returned by
next()
(not before the instruction returned
by the last call to next()
).
- insert(int, byte[]) - Method in class javassist.bytecode.CodeIterator
-
Inserts the given bytecode sequence
before the instruction at the given index pos
.
- insert(ExceptionTable, int) - Method in class javassist.bytecode.CodeIterator
-
Copies and inserts the entries in the given exception table
at the beginning of the exception table in the code attribute
edited by this object.
- insertAfter(String) - Method in class javassist.CtBehavior
-
Inserts bytecode at the end of the body.
- insertAfter(String, boolean) - Method in class javassist.CtBehavior
-
Inserts bytecode at the end of the body.
- insertAfterMethod(CtMethod, CtMethod) - Method in class javassist.CodeConverter
-
Inserts a call to another method after an existing method call.
- insertAt(int, byte[]) - Method in class javassist.bytecode.CodeIterator
-
Inserts the given bytecode sequence
before the instruction at the given index pos
.
- insertAt(int, String) - Method in class javassist.CtBehavior
-
Inserts bytecode at the specified line in the body.
- insertAt(int, boolean, String) - Method in class javassist.CtBehavior
-
Inserts bytecode at the specified line in the body.
- 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.
- insertBeforeBody(String) - Method in class javassist.CtConstructor
-
Inserts bytecode just after another constructor in the super class
or this class is called.
- insertBeforeMethod(CtMethod, CtMethod) - Method in class javassist.CodeConverter
-
Insert a call to another method before an existing method call.
- insertClassPath(ClassPath) - Method in class javassist.ClassPool
-
Insert a ClassPath
object at the head of the
search path.
- insertClassPath(String) - Method in class javassist.ClassPool
-
Inserts a directory or a jar (or zip) file at the head of the
search path.
- insertDefaultSuperCall() - Method in class javassist.compiler.CodeGen
-
- insertDefaultSuperCall() - Method in class javassist.compiler.MemberCodeGen
-
- insertDelegate(ScopedClassPoolRepository) - Method in class javassist.scopedpool.ScopedClassPoolRepositoryImpl
-
- insertEx(byte[]) - Method in class javassist.bytecode.CodeIterator
-
Inserts the given bytecode sequence exclusively
before the next instruction that would be returned by
next()
(not before the instruction returned
by tha last call to next()
).
- insertEx(int, byte[]) - Method in class javassist.bytecode.CodeIterator
-
Inserts the given bytecode sequence exclusively
before the instruction at the given index pos
.
- insertExAt(int, byte[]) - Method in class javassist.bytecode.CodeIterator
-
Inserts the given bytecode sequence exclusively
before the instruction at the given index pos
.
- insertExGap(int) - Method in class javassist.bytecode.CodeIterator
-
Inserts an exclusive gap
before the next instruction that would be returned by
next()
(not before the instruction returned
by the last call to next()
).
- insertExGap(int, int) - Method in class javassist.bytecode.CodeIterator
-
Inserts an exclusive gap in front of the instruction at the given
index pos
.
- insertGap(int) - Method in class javassist.bytecode.CodeIterator
-
Inserts a gap
before the next instruction that would be returned by
next()
(not before the instruction returned
by the last call to next()
).
- insertGap(int, int) - Method in class javassist.bytecode.CodeIterator
-
Inserts a gap in front of the instruction at the given
index pos
.
- insertGapAt(int, int, boolean) - Method in class javassist.bytecode.CodeIterator
-
Inserts an inclusive or exclusive gap in front of the instruction
at the given index pos
.
- insertLocal(int, int, int) - Method in class javassist.bytecode.StackMap
-
Updates this stack map table when a new local variable is inserted
for a new parameter.
- insertLocal(int, int, int) - Method in class javassist.bytecode.StackMapTable
-
Updates this stack map table when a new local variable is inserted
for a new parameter.
- insertLocalVar(int, int) - Method in class javassist.bytecode.CodeAttribute
-
Changes the index numbers of the local variables
to append a new parameter.
- insertParameter(String, String) - Static method in class javassist.bytecode.Descriptor
-
Inserts a parameter type at the beginning of the parameter
list represented
by the given descriptor.
- insertParameter(CtClass, String) - Static method in class javassist.bytecode.Descriptor
-
Inserts a parameter type at the beginning of the parameter
list represented
by the given descriptor.
- insertParameter(CtClass) - Method in class javassist.CtBehavior
-
Inserts a new parameter, which becomes the first parameter.
- INSTANCEOF - Static variable in interface javassist.bytecode.Opcode
-
- INSTANCEOF - Static variable in interface javassist.compiler.TokenId
-
- Instanceof - Class in javassist.expr
-
Instanceof operator.
- Instanceof(int, CodeIterator, CtClass, MethodInfo) - Constructor for class javassist.expr.Instanceof
-
Undocumented constructor.
- InstanceOfExpr - Class in javassist.compiler.ast
-
Instanceof expression.
- InstanceOfExpr(ASTList, int, ASTree) - Constructor for class javassist.compiler.ast.InstanceOfExpr
-
- InstanceOfExpr(int, int, ASTree) - Constructor for class javassist.compiler.ast.InstanceOfExpr
-
- inStaticMethod - Variable in class javassist.compiler.CodeGen
-
Must be true if compilation is for a static method.
- InstructionPrinter - Class in javassist.bytecode
-
Simple utility class for printing the instructions of a method.
- InstructionPrinter(PrintStream) - Constructor for class javassist.bytecode.InstructionPrinter
-
- instructionString(CodeIterator, int, ConstPool) - Static method in class javassist.bytecode.InstructionPrinter
-
- instrument(CodeConverter) - Method in class javassist.CtBehavior
-
Modifies the method/constructor body.
- instrument(ExprEditor) - Method in class javassist.CtBehavior
-
Modifies the method/constructor body.
- instrument(CodeConverter) - Method in class javassist.CtClass
-
Applies the given converter to all methods and constructors
declared in the class.
- instrument(ExprEditor) - Method in class javassist.CtClass
-
Modifies the bodies of all methods and constructors
declared in the class.
- INT - Static variable in interface javassist.compiler.TokenId
-
- IntConst - Class in javassist.compiler.ast
-
Integer constant.
- IntConst(long, int) - Constructor for class javassist.compiler.ast.IntConst
-
- IntConstant - Static variable in interface javassist.compiler.TokenId
-
- 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 interface javassist.bytecode.stackmap.TypeTag
-
- INTEGER - Static variable in class javassist.bytecode.StackMapTable
-
Integer_variable_info.tag
.
- integer(int) - Static method in class javassist.CtMethod.ConstParameter
-
Makes an integer constant.
- integer(long) - Static method in class javassist.CtMethod.ConstParameter
-
Makes a long integer constant.
- IntegerMemberValue - Class in javassist.bytecode.annotation
-
Integer constant value.
- IntegerMemberValue(int, ConstPool) - Constructor for class javassist.bytecode.annotation.IntegerMemberValue
-
Constructs an int constant value.
- IntegerMemberValue(ConstPool, int) - Constructor for class javassist.bytecode.annotation.IntegerMemberValue
-
Constructs an int constant value.
- IntegerMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.IntegerMemberValue
-
Constructs an int constant value.
- INTERFACE - Static variable in class javassist.bytecode.AccessFlag
-
- INTERFACE - Static variable in interface javassist.compiler.TokenId
-
- INTERFACE - Static variable in class javassist.Modifier
-
- intRead() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
Returns the name of a static method with the signature
(Ljava/lang/Object;I)I
to replace reading from a int[].
- intRead() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
Returns "arrayReadInt" as the name of the static method with the signature
(Ljava/lang/Object;I)I to replace reading from a int[].
- intType - Static variable in class javassist.CtClass
-
The CtClass
object representing
the int
type.
- intWrite() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
Returns the name of a static method with the signature
(Ljava/lang/Object;II)V
to replace writing to a int[].
- intWrite() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
Returns "arrayWriteInt" as the name of the static method with the signature
(Ljava/lang/Object;II)V to replace writing to a int[].
- invisibleTag - Static variable in class javassist.bytecode.AnnotationsAttribute
-
The name of the RuntimeInvisibleAnnotations
attribute.
- invisibleTag - Static variable in class javassist.bytecode.ParameterAnnotationsAttribute
-
The name of the RuntimeInvisibleParameterAnnotations
attribute.
- invoke(Object, Method, Object[]) - Method in class javassist.bytecode.annotation.AnnotationImpl
-
Executes a method invocation on a proxy instance.
- invoke(Object, int, Object[]) - Static method in class javassist.tools.reflect.ClassMetaobject
-
Invokes a method whose name begins with
methodPrefix "_m_"
and the identifier.
- invoke(Object, Method, Method, Object[]) - Method in interface javassist.util.proxy.MethodHandler
-
Is called when a method is invoked on a proxy instance associated
with this handler.
- 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.
- is2word(int, int) - Static method in class javassist.compiler.CodeGen
-
- is2WordType() - Method in class javassist.bytecode.stackmap.TypeData.BasicType
-
- is2WordType() - Method in class javassist.bytecode.stackmap.TypeData
-
- 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(String, int) - Method in class javassist.bytecode.ConstPool
-
Determines whether CONSTANT_Methodref_info
structure at the given index represents the constructor
of the given class.
- isConstructor() - Method in class javassist.bytecode.MethodInfo
-
Returns true if this is a constructor.
- isConstructor() - Method in class javassist.compiler.ast.MethodDecl
-
- isConstructor() - Method in class javassist.CtConstructor
-
Returns true if this object represents a constructor.
- isEmpty() - Method in class javassist.CtBehavior
-
Returns true if the body is empty.
- isEmpty() - Method in class javassist.CtConstructor
-
Returns true if the constructor (or static initializer)
is the default one.
- isEmpty() - Method in class javassist.CtMethod
-
Returns true if the method body is empty, that is, {}
.
- isEmpty() - Method in class javassist.scopedpool.SoftValueHashMap
-
Returns true
if this map contains no key-value mappings.
- isEnum() - Method in class javassist.CtClass
-
Determines whether this object represents an enum.
- isEnum(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers include the enum
modifier.
- isFinal() - Method in class javassist.bytecode.ClassFile
-
Returns true if this is a final class or interface.
- isFinal(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers include the final
modifier.
- isFinally() - Method in class javassist.expr.Handler
-
Returns true if this is a finally
block.
- isFrozen() - Method in class javassist.CtClass
-
Returns true if the class has been loaded or written out
and thus it cannot be modified any more.
- isGoto(int) - Static method in class javassist.bytecode.analysis.Util
-
- isHandled(Method) - Method in interface javassist.util.proxy.MethodFilter
-
Returns true if the given method is implemented by a handler.
- ISHL - Static variable in interface javassist.bytecode.Opcode
-
- ISHR - Static variable in interface javassist.bytecode.Opcode
-
- isInstance(Object) - Method in class javassist.tools.reflect.ClassMetaobject
-
Returns true if obj
is an instance of this class.
- isInterface() - Method in class javassist.bytecode.ClassFile
-
Returns true if this is an interface.
- isInterface() - Method in class javassist.CtClass
-
Determines whether this object represents a class or an interface.
- isInterface(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers include the interface
modifier.
- isJsr(int) - Static method in class javassist.bytecode.analysis.Util
-
- isJumpInstruction(int) - Static method in class javassist.bytecode.analysis.Util
-
- isMember(String, String, int) - Method in class javassist.bytecode.ConstPool
-
Determines whether CONSTANT_Methodref_info
,
CONSTANT_Fieldref_info
, or
CONSTANT_InterfaceMethodref_info
structure
at the given index represents the member with the specified
name and declaring class.
- isMethod() - Method in class javassist.bytecode.MethodInfo
-
Returns true if this is not a constructor or a class initializer (static
initializer).
- isModified() - Method in class javassist.CtClass
-
Returns true if the definition of the class has been modified.
- isNative(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers include the native
modifier.
- isNullType() - Method in class javassist.bytecode.stackmap.TypeData
-
- isNullType() - Method in class javassist.bytecode.stackmap.TypeData.NullType
-
- isObjectType() - Method in class javassist.bytecode.stackmap.TypeData.BasicType
-
- isObjectType() - Method in class javassist.bytecode.stackmap.TypeData
-
- isObjectType() - Method in class javassist.bytecode.stackmap.TypeData.TypeName
-
- isObjectType() - Method in class javassist.bytecode.stackmap.TypeData.UninitData
-
- isPackage(int) - Static method in class javassist.bytecode.AccessFlag
-
Returns true if the access flags include neither public, protected,
or private.
- isPackage(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers do not include either
public, protected, or private.
- isParameter() - Method in class javassist.bytecode.Descriptor.Iterator
-
Returns true if the current element is a parameter type.
- isParamListName(ASTList) - Method in class javassist.compiler.JvstCodeGen
-
- isParamListName(ASTList) - Method in class javassist.compiler.JvstTypeChecker
-
- 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 - Variable in class javassist.convert.TransformReadField
-
- isPrivate(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers include the private
modifier.
- isProtected(int) - Static method in class javassist.bytecode.AccessFlag
-
Returns true if the access flags include the protected bit.
- isProtected(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers include the protected
modifier.
- isProxyClass(String) - Method in class javassist.tools.rmi.StubGenerator
-
Returns true
if the specified class is a proxy class
recorded by makeProxyClass()
.
- isProxyClass(Class) - Static method in class javassist.util.proxy.ProxyFactory
-
determine if a class is a javassist proxy class
- isPrune() - Method in interface javassist.scopedpool.ScopedClassPoolRepository
-
Returns whether or not the class pool is pruned.
- isPrune() - Method in class javassist.scopedpool.ScopedClassPoolRepositoryImpl
-
Returns the value of the prune attribute.
- 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.
- isRefType(int) - Static method in class javassist.compiler.CodeGen
-
- 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.compiler.MemberResolver.Method
-
Returns true if the invoked method is static.
- isStatic() - Method in class javassist.expr.FieldAccess
-
Returns true if the field is static.
- isStatic(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers include the static
modifier.
- isStaticInitializer() - Method in class javassist.bytecode.MethodInfo
-
Returns true if this is a class initializer (static initializer).
- isStrict(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers include the strictfp
modifier.
- isSuper() - Method in class javassist.expr.ConstructorCall
-
Returns true if the called constructor is not this()
but super()
(a constructor declared in the super class).
- isSuper() - Method in class javassist.expr.MethodCall
-
Returns true if the called method is of a superclass of the current
class.
- isSynchronized(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers include the synchronized
modifier.
- ISTORE - Static variable in interface javassist.bytecode.Opcode
-
- ISTORE_0 - Static variable in interface javassist.bytecode.Opcode
-
- ISTORE_1 - Static variable in interface javassist.bytecode.Opcode
-
- ISTORE_2 - Static variable in interface javassist.bytecode.Opcode
-
- ISTORE_3 - Static variable in interface javassist.bytecode.Opcode
-
- isTransient(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers include the transient
modifier.
- isTypeName() - Method in class javassist.bytecode.stackmap.TypeData.TypeName
-
- ISUB - Static variable in interface javassist.bytecode.Opcode
-
- isUnloadedClassLoader() - Method in class javassist.scopedpool.ScopedClassPool
-
Whether the classloader is loader
- isUseCache() - Method in class javassist.util.proxy.ProxyFactory
-
test whether this factory uses the proxy cache
- isUseWriteReplace() - Method in class javassist.util.proxy.ProxyFactory
-
test whether this factory installs a writeReplace method in created classes
- isVolatile(int) - Static method in class javassist.Modifier
-
Returns true if the modifiers include the volatile
modifier.
- isWildcard() - Method in class javassist.bytecode.SignatureAttribute.TypeArgument
-
Returns true if this type argument is a wildcard type
such as ?
, ? extends String
, or ? super Integer
.
- isWriter() - Method in class javassist.expr.FieldAccess
-
Returns true if the field is written in.
- iterator() - Method in class javassist.bytecode.CodeAttribute
-
Makes a new iterator for reading this code attribute.
- IUSHR - Static variable in interface javassist.bytecode.Opcode
-
- IXOR - Static variable in interface javassist.bytecode.Opcode
-
- read(int) - Method in class javassist.bytecode.Bytecode
-
Reads a signed 8bit value at the offset from the beginning of the
bytecode sequence.
- READ - Static variable in class javassist.bytecode.stackmap.Liveness
-
- 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.
- readClassDescriptor() - Method in class javassist.util.proxy.ProxyObjectInputStream
-
- readLocal(int) - Method in class javassist.bytecode.stackmap.Liveness
-
- readParam - Variable in class javassist.tools.reflect.Reflection
-
- 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()
and writeFile()
.
- 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
-
Records a name that never exists.
- recordLocalVariables(CodeAttribute, int) - Method in class javassist.compiler.Javac
-
Records local variables available at the specified program counter.
- recordPackage(String) - Method in class javassist.compiler.MemberResolver
-
- recordParamNames(CodeAttribute, int) - Method in class javassist.compiler.Javac
-
Records parameter names if the LocalVariableAttribute is available.
- recordParams(CtClass[], boolean) - Method in class javassist.compiler.Javac
-
Makes variables $0 (this), $1, $2, ..., and $args represent method
parameters.
- recordParams(String, CtClass[], boolean, int, boolean) - Method in class javassist.compiler.Javac
-
Makes variables $0, $1, $2, ..., and $args represent method
parameters.
- recordParams(CtClass[], boolean, String, String, String, SymbolTable) - Method in class javassist.compiler.JvstCodeGen
-
Makes method parameters $0, $1, ..., $args, $$, and $class available.
- recordParams(CtClass[], boolean, String, String, String, boolean, int, String, SymbolTable) - Method in class javassist.compiler.JvstCodeGen
-
Makes method parameters $0, $1, ..., $args, $$, and $class available.
- recordProceed(String, String) - Method in class javassist.compiler.Javac
-
Prepares to use $proceed().
- recordProceed(ProceedHandler) - Method in class javassist.compiler.Javac
-
Prepares to use $proceed().
- recordReturnType(CtClass, boolean) - Method in class javassist.compiler.Javac
-
Prepares to use cast $r, $w, $_, and $type.
- recordReturnType(CtClass, String, String, SymbolTable) - Method in class javassist.compiler.JvstCodeGen
-
Makes a cast to the return type ($r) available.
- recordSpecialProceed(String, String, String, String) - Method in class javassist.compiler.Javac
-
Prepares to use $proceed() representing a private/super's method.
- recordStaticProceed(String, String) - Method in class javassist.compiler.Javac
-
Prepares to use $proceed() representing a static method.
- recordType(CtClass) - Method in class javassist.compiler.Javac
-
Prepares to use $type.
- recordType(CtClass) - Method in class javassist.compiler.JvstCodeGen
-
Makes $type available.
- recordVariable(CtClass, String) - Method in class javassist.compiler.Javac
-
Makes the given variable available.
- recordVariable(CtClass, String, SymbolTable) - Method in class javassist.compiler.JvstCodeGen
-
Makes the given variable name available.
- recordVariable(String, String, int, SymbolTable) - Method in class javassist.compiler.JvstCodeGen
-
Makes the given variable name available.
- 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(CtMethod, CtMethod) - Method in class javassist.CodeConverter
-
Modify method invocations in a method body so that a different
method will be invoked.
- redirectMethodCall(String, CtMethod) - Method in class javassist.CodeConverter
-
Correct invocations to a method that has been renamed.
- reflection - Variable in class javassist.tools.reflect.Loader
-
- 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.
- registerClassLoader(ClassLoader) - Method in interface javassist.scopedpool.ScopedClassPoolRepository
-
Register a classloader.
- registerClassLoader(ClassLoader) - Method in class javassist.scopedpool.ScopedClassPoolRepositoryImpl
-
Register a classloader.
- registeredCLs - Variable in class javassist.scopedpool.ScopedClassPoolRepositoryImpl
-
The registered classloaders
- 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) - Method in class javassist.util.HotSwapper
-
Reloads a class.
- RemoteException - Exception in javassist.tools.rmi
-
RemoteException
represents any exception thrown
during remote method invocation.
- RemoteException(String) - Constructor for exception javassist.tools.rmi.RemoteException
-
- RemoteException(Exception) - Constructor for exception 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(CodeGen) - Method in class javassist.compiler.CodeGen.ReturnHook
-
- remove(Object) - Method in class javassist.scopedpool.SoftValueHashMap
-
Removes the mapping for the given key
from this map, if
present.
- removeCached(String) - Method in class javassist.ClassPool
-
Provide a hook so that subclasses can do their own
caching of classes.
- 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) - 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.ClassFile
-
Replaces all occurrences of a class name in the class file.
- renameClass(Map) - Method in class javassist.bytecode.ClassFile
-
Replaces all occurrences of several class names in the class file.
- renameClass(String, String) - Method in class javassist.bytecode.ConstPool
-
Replaces all occurrences of a class name.
- renameClass(Map) - 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, ExprEditor) - Method in class javassist.expr.Expr
-
Replaces this expression with the bytecode derived from
the given source text and ExprEditor
.
- 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.
- replace0(int, Bytecode, int) - Method in class javassist.expr.Expr
-
- 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
name oldName
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, 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.
- 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 class newClass
.
- repository - Variable in class javassist.scopedpool.ScopedClassPool
-
- resetNumLocals() - Method in class javassist.bytecode.stackmap.TypedBlock
-
- resolveClassName(ASTList) - Method in class javassist.compiler.CodeGen
-
- resolveClassName(String) - Method in class javassist.compiler.CodeGen
-
- resolveClassName(ASTList) - Method in class javassist.compiler.MemberCodeGen
-
- resolveClassName(String) - Method in class javassist.compiler.MemberCodeGen
-
- resolveClassName(ASTList) - Method in class javassist.compiler.MemberResolver
-
- resolveClassName(ASTList) - Method in class javassist.compiler.TypeChecker
-
- resolveClassName(String) - Method in class javassist.compiler.TypeChecker
-
- resolveJvmClassName(String) - Method in class javassist.compiler.MemberResolver
-
- resolver - Variable in class javassist.compiler.MemberCodeGen
-
- resolver - Variable in class javassist.compiler.TypeChecker
-
- resultStatic - Variable in class javassist.compiler.MemberCodeGen
-
- resultVarName - Static variable in class javassist.compiler.Javac
-
- RET - Static variable in interface javassist.bytecode.Opcode
-
- RETURN - Static variable in interface javassist.bytecode.Opcode
-
- RETURN - Static variable in interface javassist.compiler.TokenId
-
- 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.
- returnHooks - Variable in class javassist.compiler.CodeGen
-
- returnType - Variable in class javassist.bytecode.stackmap.Tracer
-
- right - Variable in class javassist.compiler.ast.Pair
-
- rmiCommand - Variable in class javassist.tools.rmi.ObjectImporter
-
- RSHIFT - Static variable in interface javassist.compiler.TokenId
-
- RSHIFT_E - Static variable in interface javassist.compiler.TokenId
-
- 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() - Method in class javassist.tools.rmi.AppletServer
-
Begins the HTTP service.
- run(String, String[]) - Method in class javassist.tools.web.Viewer
-
Invokes main() in the class specified by classname
.
- run() - Method in class javassist.tools.web.Webserver
-
Begins the HTTP service.
- runEditor(ExprEditor, CodeIterator) - Method in class javassist.expr.Expr
-
- RuntimeSupport - Class in javassist.util.proxy
-
Runtime support routines that the classes generated by ProxyFactory use.
- RuntimeSupport() - Constructor for class javassist.util.proxy.RuntimeSupport
-
- s16bitAt(int) - Method in class javassist.bytecode.CodeIterator
-
Returns the signed 16bit value at the given index.
- s32bitAt(int) - Method in class javassist.bytecode.CodeIterator
-
Returns the signed 32bit value at the given index.
- SALOAD - Static variable in interface javassist.bytecode.Opcode
-
- sameFrame(int, int) - Method in class javassist.bytecode.StackMapTable.Walker
-
Invoked if the visited frame is a same_frame
or
a same_frame_extended
.
- sameFrame(int) - Method in class javassist.bytecode.StackMapTable.Writer
-
Writes a same_frame
or a same_frame_extended
.
- sameLocals(int, int, int, int) - Method in class javassist.bytecode.StackMapTable.Walker
-
Invoked if the visited frame is a same_locals_1_stack_item_frame
or a same_locals_1_stack_item_frame_extended
.
- sameLocals(int, int, int) - Method in class javassist.bytecode.StackMapTable.Writer
-
Writes a same_locals_1_stack_item
or a same_locals_1_stack_item_extended
.
- Sample - Class in javassist.tools.reflect
-
A template used for defining a reflective class.
- Sample() - Constructor for class javassist.tools.reflect.Sample
-
- Sample - Class in javassist.tools.rmi
-
A template used for defining a proxy class.
- Sample() - Constructor for class javassist.tools.rmi.Sample
-
- SASTORE - Static variable in interface javassist.bytecode.Opcode
-
- saveCode - Variable in class javassist.convert.TransformBefore
-
- scan(MethodInfo) - Method in class javassist.bytecode.analysis.SubroutineScanner
-
- ScopedClassPool - Class in javassist.scopedpool
-
A scoped class pool.
- ScopedClassPool(ClassLoader, ClassPool, ScopedClassPoolRepository) - Constructor for class javassist.scopedpool.ScopedClassPool
-
Deprecated.
- ScopedClassPool(ClassLoader, ClassPool, ScopedClassPoolRepository, boolean) - Constructor for class javassist.scopedpool.ScopedClassPool
-
Create a new ScopedClassPool.
- ScopedClassPoolFactory - Interface in javassist.scopedpool
-
A factory interface.
- ScopedClassPoolFactoryImpl - Class in javassist.scopedpool
-
An implementation of factory.
- ScopedClassPoolFactoryImpl() - Constructor for class javassist.scopedpool.ScopedClassPoolFactoryImpl
-
- ScopedClassPoolRepository - Interface in javassist.scopedpool
-
An interface to ScopedClassPoolRepositoryImpl
.
- ScopedClassPoolRepositoryImpl - Class in javassist.scopedpool
-
An implementation of ScopedClassPoolRepository
.
- SERIALIZABLE - Static variable in class javassist.bytecode.analysis.Type
-
Represents the java.io.Serializable reference type
- SerialVersionUID - Class in javassist
-
Utility for calculating serialVersionUIDs for Serializable classes.
- SerialVersionUID() - Constructor for class javassist.SerialVersionUID
-
- set(byte[]) - Method in class javassist.bytecode.AttributeInfo
-
Sets the info
field
of this attribute_info
structure.
- set(byte[]) - Method in class javassist.bytecode.CodeAttribute
-
This method is not available.
- 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, int) - Method in class javassist.bytecode.InnerClassesAttribute
-
Sets classes[nth].inner_class_access_flags
to
the given index.
- setAccessFlags(int) - Method in class javassist.bytecode.MethodInfo
-
Sets access flags.
- setAnnotation(Annotation) - Method in class javassist.bytecode.AnnotationsAttribute
-
Changes the annotations.
- setAnnotations(Annotation[]) - Method in class javassist.bytecode.AnnotationsAttribute
-
Changes the annotations represented by this object according to
the given array of Annotation
objects.
- setAnnotations(Annotation[][]) - Method in class javassist.bytecode.ParameterAnnotationsAttribute
-
Changes the annotations represented by this object according to
the given array of Annotation
objects.
- setAttribute(StackMapTable) - Method in class javassist.bytecode.CodeAttribute
-
Adds a stack map table.
- setAttribute(StackMap) - Method in class javassist.bytecode.CodeAttribute
-
Adds a stack map table for J2ME (CLDC).
- setAttribute(String, byte[]) - Method in class javassist.CtBehavior
-
Adds an attribute.
- setAttribute(String, byte[]) - Method in class javassist.CtClass
-
Adds a named attribute.
- setAttribute(String, byte[]) - Method in class javassist.CtField
-
Adds an attribute.
- setAttribute(String, byte[]) - Method in class javassist.CtMember
-
Adds a user-defined attribute.
- setBody(String) - Method in class javassist.CtBehavior
-
Sets a method/constructor body.
- setBody(String, String, String) - Method in class javassist.CtBehavior
-
Sets a method/constructor body.
- setBody(String) - Method in class javassist.CtConstructor
-
Sets a constructor body.
- setBody(CtConstructor, ClassMap) - Method in class javassist.CtConstructor
-
Copies a constructor body from another constructor.
- setBody(CtMethod, ClassMap) - Method in class javassist.CtMethod
-
Copies a method body from another method.
- setCatchType(int, int) - Method in class javassist.bytecode.ExceptionTable
-
Sets catchType
of the n-th entry.
- setClassLoader(ClassLoader) - Method in class javassist.util.proxy.ProxyObjectInputStream
-
Reset the loader to be
- 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.
- setClassPoolFactory(ScopedClassPoolFactory) - Method in interface javassist.scopedpool.ScopedClassPoolRepository
-
Records a factory.
- setClassPoolFactory(ScopedClassPoolFactory) - Method in class javassist.scopedpool.ScopedClassPoolRepositoryImpl
-
- 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.
- 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 ProxyObject.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.
- setInit(ASTree) - Method in class javassist.compiler.Javac.CtFieldWithInit
-
- setInnerClassIndex(int, int) - Method in class javassist.bytecode.InnerClassesAttribute
-
Sets classes[nth].inner_class_info_index
to
the given index.
- setInnerNameIndex(int, int) - Method in class javassist.bytecode.InnerClassesAttribute
-
Sets classes[nth].inner_name_index
to
the given index.
- setInterfaces(String[]) - Method in class javassist.bytecode.ClassFile
-
Sets the interfaces.
- setInterfaces(CtClass[]) - Method in class javassist.CtClass
-
Sets implemented interfaces.
- setInterfaces(Class[]) - Method in class javassist.util.proxy.ProxyFactory
-
Sets the interfaces of a proxy class.
- 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.
- setMaxLocals(int) - Method in class javassist.bytecode.Bytecode
-
Sets max_locals
.
- setMaxLocals(boolean, CtClass[], int) - Method in class javassist.bytecode.Bytecode
-
Sets max_locals
.
- setMaxLocals(int) - Method in class javassist.bytecode.CodeAttribute
-
Sets max_locals
.
- setMaxLocals(int) - Method in class javassist.compiler.CodeGen
-
- setMaxLocals(int) - Method in class javassist.compiler.Javac
-
Sets maxLocals
to max
.
- 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.
- setProceedHandler(ProceedHandler, String) - Method in class javassist.compiler.JvstCodeGen
-
- setProtected(int) - Static method in class javassist.bytecode.AccessFlag
-
Truns the protected bit on.
- setProtected(int) - Static method in class javassist.Modifier
-
Truns the protected bit on.
- setPrune(boolean) - Method in interface javassist.scopedpool.ScopedClassPoolRepository
-
Sets the prune flag.
- setPrune(boolean) - Method in class javassist.scopedpool.ScopedClassPoolRepositoryImpl
-
Set the prune attribute.
- setPublic(int) - Static method in class javassist.bytecode.AccessFlag
-
Truns the public bit on.
- setPublic(int) - Static method in class javassist.Modifier
-
Truns the public bit on.
- setReturnType(JvstTypeChecker, ASTList) - Method in interface javassist.compiler.ProceedHandler
-
- 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 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.
- setStackMap(int, TypeData[], int, TypeData[]) - Method in class javassist.bytecode.stackmap.TypedBlock
-
- setStartPc(int, int) - Method in class javassist.bytecode.ExceptionTable
-
Sets startPc
of the n-th entry.
- setSuperclass(String) - Method in class javassist.bytecode.ClassFile
-
Sets the super class.
- setSuperclass(String) - Method in class javassist.bytecode.MethodInfo
-
Changes a super constructor called by this constructor.
- setSuperclass(CtClass) - Method in class javassist.CtClass
-
Changes a super class unless this object represents an interface.
- setSuperclass(Class) - Method in class javassist.util.proxy.ProxyFactory
-
Sets the super class of a proxy class.
- 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
-
- setThisMethod(CtMethod) - Method in class javassist.compiler.MemberCodeGen
-
Records the currently compiled method.
- setThisMethod(MethodInfo) - Method in class javassist.compiler.TypeChecker
-
Records the currently compiled method.
- setType(String) - Method in class javassist.bytecode.annotation.EnumMemberValue
-
Changes the enum type name.
- setType(String, ClassPool) - Method in class javassist.bytecode.stackmap.TypeData.ArrayElement
-
- setType(String, ClassPool) - Method in class javassist.bytecode.stackmap.TypeData.BasicType
-
- setType(String, ClassPool) - Method in class javassist.bytecode.stackmap.TypeData
-
- setType(String, ClassPool) - Method in class javassist.bytecode.stackmap.TypeData.TypeName
-
- setType(String, ClassPool) - Method in class javassist.bytecode.stackmap.TypeData.UninitData
-
- setType(CtClass) - Method in class javassist.compiler.JvstCodeGen
-
- setType(CtClass) - Method in class javassist.compiler.JvstTypeChecker
-
- setType(CtClass) - Method in class javassist.CtField
-
Sets the type of the field.
- setTypeChecker(TypeChecker) - Method in class javassist.compiler.CodeGen
-
- setUseCache(boolean) - Method in class javassist.util.proxy.ProxyFactory
-
configure whether this factory should use the proxy cache
- setUseWriteReplace(boolean) - Method in class javassist.util.proxy.ProxyFactory
-
configure whether this factory should add a writeReplace method to created classes
- setValue(Annotation) - Method in class javassist.bytecode.annotation.AnnotationMemberValue
-
Sets the value of this member.
- setValue(MemberValue[]) - Method in class javassist.bytecode.annotation.ArrayMemberValue
-
Sets the elements of the array.
- setValue(boolean) - Method in class javassist.bytecode.annotation.BooleanMemberValue
-
Sets the value of the member.
- setValue(byte) - Method in class javassist.bytecode.annotation.ByteMemberValue
-
Sets the value of the member.
- setValue(char) - Method in class javassist.bytecode.annotation.CharMemberValue
-
Sets the value of the member.
- setValue(String) - Method in class javassist.bytecode.annotation.ClassMemberValue
-
Sets the value of the member.
- setValue(double) - Method in class javassist.bytecode.annotation.DoubleMemberValue
-
Sets the value of the member.
- setValue(String) - Method in class javassist.bytecode.annotation.EnumMemberValue
-
Changes the name of the enum constant value.
- setValue(float) - Method in class javassist.bytecode.annotation.FloatMemberValue
-
Sets the value of the member.
- setValue(int) - Method in class javassist.bytecode.annotation.IntegerMemberValue
-
Sets the value of the member.
- setValue(long) - Method in class javassist.bytecode.annotation.LongMemberValue
-
Sets the value of the member.
- setValue(short) - Method in class javassist.bytecode.annotation.ShortMemberValue
-
Sets the value of the member.
- setValue(String) - Method in class javassist.bytecode.annotation.StringMemberValue
-
Sets the value of the member.
- 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 increases index
by delta
.
- SHORT - Static variable in class javassist.bytecode.analysis.Type
-
Represents the short primitive type
- SHORT - Static variable in interface javassist.compiler.TokenId
-
- ShortMemberValue - Class in javassist.bytecode.annotation
-
Short integer constant value.
- ShortMemberValue(int, ConstPool) - Constructor for class javassist.bytecode.annotation.ShortMemberValue
-
Constructs a short constant value.
- ShortMemberValue(short, ConstPool) - Constructor for class javassist.bytecode.annotation.ShortMemberValue
-
Constructs a short constant value.
- ShortMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.ShortMemberValue
-
Constructs a short constant value.
- shortRead() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
Returns the name of a static method with the signature
(Ljava/lang/Object;I)S
to replace reading from a short[].
- shortRead() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
Returns "arrayReadShort" as the name of the static method with the signature
(Ljava/lang/Object;I)S to replace reading from a short[].
- shortType - Static variable in class javassist.CtClass
-
The CtClass
object representing
the short
type.
- shortWrite() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
Returns the name of a static method with the signature
(Ljava/lang/Object;IS)V
to replace writing to a short[].
- shortWrite() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
Returns "arrayWriteShort" as the name of the static method with the signature
(Ljava/lang/Object;IS)V to replace writing to a short[].
- sigName - Static variable in class javassist.compiler.JvstCodeGen
-
- 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.ArrayType(int, SignatureAttribute.Type) - Constructor for class javassist.bytecode.SignatureAttribute.ArrayType
-
- 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.ObjectType() - Constructor for class javassist.bytecode.SignatureAttribute.ObjectType
-
- SignatureAttribute.Type - Class in javassist.bytecode
-
Primitive types and object types.
- SignatureAttribute.Type() - Constructor for class javassist.bytecode.SignatureAttribute.Type
-
- 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()
.
- 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.ExceptionTable
-
Returns exception_table_length
, which is the number
of entries in the exception_table[]
.
- size() - Method in class javassist.bytecode.StackMapTable.Walker
-
Returns the number of the entries.
- size() - Method in class javassist.scopedpool.SoftValueHashMap
-
Returns the number of key-value mappings in this map.
- skeleton(CtClass[], CtClass[], CtClass) - Static method in class javassist.CtNewConstructor
-
Creates a public constructor that only calls a constructor
in the super class.
- skipConstructor() - Method in class javassist.bytecode.CodeIterator
-
Moves to the instruction for
either super()
or this()
.
- skipSuperConstructor() - Method in class javassist.bytecode.CodeIterator
-
Moves to the instruction for super()
.
- skipThisConstructor() - Method in class javassist.bytecode.CodeIterator
-
Moves to the instruction for this()
.
- softcache - Variable in class javassist.scopedpool.ScopedClassPool
-
- soften(CtClass) - Method in class javassist.scopedpool.ScopedClassPool
-
Soften a class
- SoftValueHashMap - Class in javassist.scopedpool
-
This Map will remove entries when the value in the map has been cleaned from
garbage collection
- SoftValueHashMap(int, float) - Constructor for class javassist.scopedpool.SoftValueHashMap
-
Constructs a new, empty WeakHashMap
with the given initial
capacity and the given load factor.
- SoftValueHashMap(int) - Constructor for class javassist.scopedpool.SoftValueHashMap
-
Constructs a new, empty WeakHashMap
with the given initial
capacity and the default load factor, which is 0.75
.
- SoftValueHashMap() - Constructor for class javassist.scopedpool.SoftValueHashMap
-
Constructs a new, empty WeakHashMap
with the default
initial capacity and the default load factor, which is 0.75
.
- SoftValueHashMap(Map) - Constructor for class javassist.scopedpool.SoftValueHashMap
-
Constructs a new WeakHashMap
with the same mappings as the
specified Map.
- source - Variable in class javassist.ClassPool
-
- SourceFileAttribute - Class in javassist.bytecode
-
SourceFile_attribute
.
- SourceFileAttribute(ConstPool, String) - Constructor for class javassist.bytecode.SourceFileAttribute
-
Constructs a SourceFile attribute.
- stack(int, int, int) - Method in class javassist.bytecode.StackMap.Walker
-
Invoked when stack
of stack_map_frame
is visited.
- stack() - Method in class javassist.expr.Expr
-
- STACK_GROW - Static variable in interface javassist.bytecode.Opcode
-
- stackIndex - Variable in class javassist.bytecode.ClassFileWriter.MethodWriter
-
- 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.Walker(StackMap) - Constructor for class javassist.bytecode.StackMap.Walker
-
Constructs a walker.
- StackMap.Writer - Class in javassist.bytecode
-
Internal use only.
- StackMap.Writer() - Constructor for class javassist.bytecode.StackMap.Writer
-
Constructs a writer.
- StackMapTable - Class in javassist.bytecode
-
stack_map
attribute.
- StackMapTable.RuntimeCopyException - Exception in javassist.bytecode
-
An exception that may be thrown by copy()
in StackMapTable
.
- StackMapTable.RuntimeCopyException(String) - Constructor for exception javassist.bytecode.StackMapTable.RuntimeCopyException
-
Constructs an exception.
- StackMapTable.Walker - Class in javassist.bytecode
-
A code walker for a StackMapTable attribute.
- StackMapTable.Walker(StackMapTable) - Constructor for class javassist.bytecode.StackMapTable.Walker
-
Constructs a walker.
- StackMapTable.Walker(byte[]) - Constructor for class javassist.bytecode.StackMapTable.Walker
-
Constructs a walker.
- StackMapTable.Writer - Class in javassist.bytecode
-
A writer of stack map tables.
- StackMapTable.Writer(int) - Constructor for class javassist.bytecode.StackMapTable.Writer
-
Constructs a writer.
- stackTop - Variable in class javassist.bytecode.stackmap.Tracer
-
- stackTop - Variable in class javassist.bytecode.stackmap.TypedBlock
-
- stackTypes - Variable in class javassist.bytecode.stackmap.Tracer
-
- stackTypes - Variable in class javassist.bytecode.stackmap.TypedBlock
-
- start() - Method in class javassist.bytecode.analysis.Subroutine
-
- start(ClassPool) - Method in class javassist.tools.reflect.Reflection
-
Initializes the object.
- start(ClassPool) - Method in class javassist.tools.rmi.StubGenerator
-
Initializes the object.
- start(ClassPool) - Method in interface javassist.Translator
-
Is invoked by a Loader
for initialization
when the object is attached to the Loader
object.
- startPc(int) - Method in class javassist.bytecode.ExceptionTable
-
Returns startPc
of the n-th entry.
- startPc(int) - Method in class javassist.bytecode.LineNumberAttribute
-
Returns line_number_table[i].start_pc
.
- startPc(int) - Method in class javassist.bytecode.LocalVariableAttribute
-
Returns local_variable_table[i].start_pc
.
- startPos - Variable in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
- STATIC - Static variable in class javassist.bytecode.AccessFlag
-
- STATIC - Static variable in interface javassist.compiler.TokenId
-
- STATIC - Static variable in class javassist.Modifier
-
- status - Variable in class javassist.bytecode.stackmap.TypedBlock
-
- Stmnt - Class in javassist.compiler.ast
-
Statement.
- Stmnt(int, ASTree, ASTList) - Constructor for class javassist.compiler.ast.Stmnt
-
- Stmnt(int, ASTree) - Constructor for class javassist.compiler.ast.Stmnt
-
- Stmnt(int) - Constructor for class javassist.compiler.ast.Stmnt
-
- stop - Variable in class javassist.bytecode.stackmap.BasicBlock
-
- 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 interface javassist.compiler.TokenId
-
- 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
-
- StringL - Static variable in interface javassist.compiler.TokenId
-
- 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(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
for oldObj
in the
list.
- subtypeOf(CtClass) - Method in class javassist.CtClass
-
Returns true
if this class extends or implements
clazz
.
- SUPER - Static variable in class javassist.bytecode.AccessFlag
-
- SUPER - Static variable in interface javassist.compiler.TokenId
-
- SWAP - Static variable in interface javassist.bytecode.Opcode
-
- SWITCH - Static variable in interface javassist.compiler.TokenId
-
- Symbol - Class in javassist.compiler.ast
-
Identifier.
- Symbol(String) - Constructor for class javassist.compiler.ast.Symbol
-
- SymbolTable - Class in javassist.compiler
-
- SymbolTable() - Constructor for class javassist.compiler.SymbolTable
-
- SymbolTable(SymbolTable) - Constructor for class javassist.compiler.SymbolTable
-
- SYNCHRONIZED - Static variable in class javassist.bytecode.AccessFlag
-
- SYNCHRONIZED - Static variable in interface javassist.compiler.TokenId
-
- SYNCHRONIZED - Static variable in class javassist.Modifier
-
- SyntaxError - Exception in javassist.compiler
-
- SyntaxError(Lex) - Constructor for exception javassist.compiler.SyntaxError
-
- SYNTHETIC - Static variable in class javassist.bytecode.AccessFlag
-
- SyntheticAttribute - Class in javassist.bytecode
-
Synthetic_attribute
.
- SyntheticAttribute(ConstPool) - Constructor for class javassist.bytecode.SyntheticAttribute
-
Constructs a Synthetic attribute.
- T_BOOLEAN - Static variable in interface javassist.bytecode.Opcode
-
- T_BYTE - Static variable in interface javassist.bytecode.Opcode
-
- T_CHAR - Static variable in interface javassist.bytecode.Opcode
-
- T_DOUBLE - Static variable in interface javassist.bytecode.Opcode
-
- T_FLOAT - Static variable in interface javassist.bytecode.Opcode
-
- T_INT - Static variable in interface javassist.bytecode.Opcode
-
- T_LONG - Static variable in interface javassist.bytecode.Opcode
-
- T_SHORT - Static variable in interface javassist.bytecode.Opcode
-
- tableLength() - Method in class javassist.bytecode.ExceptionsAttribute
-
Returns number_of_exceptions
.
- tableLength() - Method in class javassist.bytecode.InnerClassesAttribute
-
Returns number_of_classes
.
- tableLength() - Method in class javassist.bytecode.LineNumberAttribute
-
Returns line_number_table_length
.
- tableLength() - Method in class javassist.bytecode.LocalVariableAttribute
-
Returns local_variable_table_length
.
- TABLESWITCH - Static variable in interface javassist.bytecode.Opcode
-
- tag - Static variable in class javassist.bytecode.AnnotationDefaultAttribute
-
The name of the AnnotationDefault
attribute.
- tag - Static variable in class javassist.bytecode.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.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.
- text - Variable in class javassist.compiler.ast.StringL
-
- 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 this Bytecode
object.
- THIS - Static variable in class javassist.bytecode.ConstPool
-
Represents the class using this constant pool table.
- THIS - Static variable in class javassist.bytecode.StackMap
-
UninitializedThis_variable_info.tag
.
- THIS - Static variable in class javassist.bytecode.StackMapTable
-
UninitializedThis_variable_info.tag
.
- THIS - Static variable in interface javassist.compiler.TokenId
-
- thisClass - Variable in class javassist.compiler.MemberCodeGen
-
- thisClass - Variable in class javassist.compiler.TypeChecker
-
- thisMethod - Variable in class javassist.compiler.MemberCodeGen
-
- thisMethod - Variable in class javassist.compiler.TypeChecker
-
- THROW - Static variable in interface javassist.compiler.TokenId
-
- THROWABLE - Static variable in class javassist.bytecode.analysis.Type
-
Represents the java.lang.Throwable reference type
- THROWS - Static variable in interface javassist.compiler.TokenId
-
- throwsIndex - Variable in class javassist.bytecode.ClassFileWriter.MethodWriter
-
- 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.
- toCatch - Variable in class javassist.bytecode.stackmap.BasicBlock
-
- toClass(CtClass) - Method in class javassist.ClassPool
-
Converts the given class to a java.lang.Class
object.
- toClass(CtClass, ClassLoader) - Method in class javassist.ClassPool
-
- toClass(CtClass, ClassLoader, ProtectionDomain) - Method in class javassist.ClassPool
-
Converts the class to a java.lang.Class
object.
- toClass() - Method in class javassist.CtClass
-
Converts this class to a java.lang.Class
object.
- toClass(ClassLoader, ProtectionDomain) - Method in class javassist.CtClass
-
Converts this class to a java.lang.Class
object.
- toClass(ClassLoader) - Method in class javassist.CtClass
-
- toClass(CtClass, ClassLoader, ProtectionDomain) - Method in class javassist.scopedpool.ScopedClassPool
-
Convert a javassist class to a java class
- toClass(ClassFile, ClassLoader) - Static method in class javassist.util.proxy.FactoryHelper
-
Loads a class file by a given class loader.
- toClass(ClassFile, ClassLoader, ProtectionDomain) - Static method in class javassist.util.proxy.FactoryHelper
-
Loads a class file by a given class loader.
- toClassName(String) - Static method in class javassist.bytecode.Descriptor
-
Converts to a Java class name from a descriptor.
- toClassSignature(String) - Static method in class javassist.bytecode.SignatureAttribute
-
Parses the given signature string as a class signature.
- toCodeAttribute() - Method in class javassist.bytecode.Bytecode
-
Converts to a CodeAttribute
.
- toCtClass(String, ClassPool) - Static method in class javassist.bytecode.Descriptor
-
Returns a CtClass
object representing the type
specified by the given descriptor.
- toFieldSignature(String) - Static method in class javassist.bytecode.SignatureAttribute
-
Parses the given signature string as a field type signature.
- toJavaName(String) - Static method in class javassist.bytecode.Descriptor
-
Converts a class name from the internal representation used in
the JVM to the normal one used in Java.
- toJavaName(String) - Static method in class javassist.ClassMap
-
Converts a class name from the internal representation used in
the JVM to the normal one used in Java.
- toJvmArrayName(String, int) - Static method in class javassist.compiler.CodeGen
-
- toJvmName(String) - Static method in class javassist.bytecode.Descriptor
-
Converts a class name into the internal representation used in
the JVM.
- toJvmName(CtClass) - Static method in class javassist.bytecode.Descriptor
-
Returns the internal representation of the class name in the
JVM.
- toJvmName(String) - Static method in class javassist.ClassMap
-
Converts a class name into the internal representation used in
the JVM.
- toJvmTypeName(int, int) - Static method in class javassist.compiler.CodeGen
-
- tokenId - Variable in class javassist.compiler.ast.Keyword
-
- TokenId - Interface in javassist.compiler
-
- 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 interface javassist.bytecode.stackmap.TypeTag
-
- TOP - Static variable in class javassist.bytecode.StackMapTable
-
Top_variable_info.tag
.
- toStackMap(TypedBlock[]) - Method in class javassist.bytecode.stackmap.MapMaker
-
- toStackMap(ConstPool) - Method in class javassist.bytecode.StackMap.Writer
-
Converts to a StackMap
attribute.
- toStackMap2(ConstPool, TypedBlock[]) - Method in class javassist.bytecode.stackmap.MapMaker
-
- 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.Frame
-
- toString() - Method in class javassist.bytecode.analysis.MultiArrayType
-
- toString() - Method in class javassist.bytecode.analysis.MultiType
-
- toString() - Method in class javassist.bytecode.analysis.Subroutine
-
- toString() - Method in class javassist.bytecode.analysis.Type
-
- toString() - Method in class javassist.bytecode.annotation.Annotation
-
Returns a string representation of the annotation.
- toString() - Method in class javassist.bytecode.annotation.AnnotationMemberValue
-
Obtains the string representation of this object.
- toString() - Method in class javassist.bytecode.annotation.ArrayMemberValue
-
Obtains the string representation of this object.
- toString() - Method in class javassist.bytecode.annotation.BooleanMemberValue
-
Obtains the string representation of this object.
- toString() - Method in class javassist.bytecode.annotation.ByteMemberValue
-
Obtains the string representation of this object.
- toString() - Method in class javassist.bytecode.annotation.CharMemberValue
-
Obtains the string representation of this object.
- toString() - Method in class javassist.bytecode.annotation.ClassMemberValue
-
Obtains the string representation of this object.
- toString() - Method in class javassist.bytecode.annotation.DoubleMemberValue
-
Obtains the string representation of this object.
- toString() - Method in class javassist.bytecode.annotation.EnumMemberValue
-
- toString() - Method in class javassist.bytecode.annotation.FloatMemberValue
-
Obtains the string representation of this object.
- toString() - Method in class javassist.bytecode.annotation.IntegerMemberValue
-
Obtains the string representation of this object.
- toString() - Method in class javassist.bytecode.annotation.LongMemberValue
-
Obtains the string representation of this object.
- toString() - Method in class javassist.bytecode.annotation.ShortMemberValue
-
Obtains the string representation of this object.
- toString() - Method in class javassist.bytecode.annotation.StringMemberValue
-
Obtains the string representation of this object.
- toString() - Method in class javassist.bytecode.AnnotationDefaultAttribute
-
Returns a string representation of this object.
- toString() - Method in class javassist.bytecode.AnnotationsAttribute
-
Returns a string representation of this object.
- toString(String) - Static method in class javassist.bytecode.Descriptor
-
Returns a human-readable representation of the
given descriptor.
- toString() - Method in class javassist.bytecode.FieldInfo
-
Returns a string representation of the object.
- toString() - Method in class javassist.bytecode.MethodInfo
-
Returns a string representation of the object.
- toString() - Method in class javassist.bytecode.ParameterAnnotationsAttribute
-
Returns a string representation of this object.
- toString() - Method in class javassist.bytecode.SignatureAttribute.ArrayType
-
Returns the string representation.
- toString() - Method in class javassist.bytecode.SignatureAttribute.BaseType
-
Returns the string representation.
- toString() - Method in class javassist.bytecode.SignatureAttribute.ClassSignature
-
Returns the string representation.
- toString() - Method in class javassist.bytecode.SignatureAttribute.ClassType
-
Returns the string representation.
- toString() - Method in class javassist.bytecode.SignatureAttribute.MethodSignature
-
Returns the string representation.
- toString() - Method in class javassist.bytecode.SignatureAttribute.TypeArgument
-
Returns the string representation.
- toString() - Method in class javassist.bytecode.SignatureAttribute.TypeParameter
-
Returns the string representation.
- toString() - Method in class javassist.bytecode.SignatureAttribute.TypeVariable
-
Returns the string representation.
- toString() - Method in class javassist.bytecode.stackmap.BasicBlock
-
- toString() - Method in class javassist.bytecode.stackmap.TypeData.BasicType
-
- toString() - Method in class javassist.bytecode.stackmap.TypeData.TypeName
-
- toString() - Method in class javassist.bytecode.stackmap.TypeData.UninitData
-
- toString() - Method in class javassist.bytecode.stackmap.TypeData.UninitThis
-
- 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 exception javassist.compiler.CompileError
-
- toString() - Method in class javassist.CtClass
-
Converts the object to a string.
- toString() - Method in class javassist.CtField
-
Returns a String representation of the object.
- toString() - Method in class javassist.CtMember
-
- toString() - Method in class javassist.LoaderClassPath
-
- toString(int) - Static method in class javassist.Modifier
-
Return a string describing the access modifier flags in
the specified modifier.
- toString() - Method in exception javassist.tools.web.BadHttpRequest
-
- toString() - Method in class javassist.URLClassPath
-
- toString2(StringBuffer) - Method in class javassist.bytecode.stackmap.BasicBlock
-
- toString2(StringBuffer) - Method in class javassist.bytecode.stackmap.TypedBlock
-
- Tracer - Class in javassist.bytecode.stackmap
-
- Tracer(ClassPool, ConstPool, int, int, String) - Constructor for class javassist.bytecode.stackmap.Tracer
-
- Tracer(Tracer, boolean) - Constructor for class javassist.bytecode.stackmap.Tracer
-
- transform(CtClass, int, CodeIterator, ConstPool) - Method in class javassist.convert.TransformAccessArrayField
-
- transform(CtClass, int, CodeIterator, ConstPool) - Method in class javassist.convert.TransformCall
-
Modify INVOKEINTERFACE, INVOKESPECIAL, INVOKESTATIC and INVOKEVIRTUAL
so that a different method is invoked.
- transform(CtClass, int, CodeIterator, ConstPool) - Method in class javassist.convert.Transformer
-
- transform(CtClass, int, CodeIterator, ConstPool) - Method in class javassist.convert.TransformFieldAccess
-
Modify GETFIELD, GETSTATIC, PUTFIELD, and PUTSTATIC so that
a different field is accessed.
- transform(CtClass, int, CodeIterator, ConstPool) - Method in class javassist.convert.TransformNew
-
Replace a sequence of
NEW classname
DUP
...
- transform(CtClass, int, CodeIterator, ConstPool) - Method in class javassist.convert.TransformNewClass
-
Modifies a sequence of
NEW classname
DUP
...
- transform(CtClass, int, CodeIterator, ConstPool) - Method in class javassist.convert.TransformReadField
-
- transform(CtClass, int, CodeIterator, ConstPool) - Method in class javassist.convert.TransformWriteField
-
- TransformAccessArrayField - Class in javassist.convert
-
A transformer which replaces array access with static method invocations.
- TransformAccessArrayField(Transformer, String, CodeConverter.ArrayAccessReplacementMethodNames) - Constructor for class javassist.convert.TransformAccessArrayField
-
- TransformAfter - Class in javassist.convert
-
- TransformAfter(Transformer, CtMethod, CtMethod) - Constructor for class javassist.convert.TransformAfter
-
- TransformBefore - Class in javassist.convert
-
- TransformBefore(Transformer, CtMethod, CtMethod) - Constructor for class javassist.convert.TransformBefore
-
- TransformCall - Class in javassist.convert
-
- TransformCall(Transformer, CtMethod, CtMethod) - Constructor for class javassist.convert.TransformCall
-
- TransformCall(Transformer, String, CtMethod) - Constructor for class javassist.convert.TransformCall
-
- Transformer - Class in javassist.convert
-
Transformer and its subclasses are used for executing
code transformation specified by CodeConverter.
- Transformer(Transformer) - Constructor for class javassist.convert.Transformer
-
- transformers - Variable in class javassist.CodeConverter
-
- TransformFieldAccess - Class in javassist.convert
-
- TransformFieldAccess(Transformer, CtField, String, String) - Constructor for class javassist.convert.TransformFieldAccess
-
- TransformNew - Class in javassist.convert
-
- TransformNew(Transformer, String, String, String) - Constructor for class javassist.convert.TransformNew
-
- TransformNewClass - Class in javassist.convert
-
- TransformNewClass(Transformer, String, String) - Constructor for class javassist.convert.TransformNewClass
-
- TransformReadField - Class in javassist.convert
-
- TransformReadField(Transformer, CtField, String, String) - Constructor for class javassist.convert.TransformReadField
-
- TransformWriteField - Class in javassist.convert
-
- TransformWriteField(Transformer, CtField, String, String) - Constructor for class javassist.convert.TransformWriteField
-
- TRANSIENT - Static variable in class javassist.bytecode.AccessFlag
-
- TRANSIENT - Static variable in interface javassist.compiler.TokenId
-
- TRANSIENT - Static variable in class javassist.Modifier
-
- translator - Variable in class javassist.tools.web.Webserver
-
- 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.
- trapMethod - Variable in class javassist.tools.reflect.Reflection
-
- 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 - Variable in class javassist.tools.reflect.Reflection
-
- trapRead(Object[], String) - Static method in class javassist.tools.reflect.Sample
-
- trapStatic(Object[], int) - Static method in class javassist.tools.reflect.Sample
-
- trapStaticMethod - Variable in class javassist.tools.reflect.Reflection
-
- trapWrite - Variable in class javassist.tools.reflect.Reflection
-
- trapWrite(Object[], String) - Static method in class javassist.tools.reflect.Sample
-
- TRUE - Static variable in interface javassist.compiler.TokenId
-
- TRY - Static variable in interface javassist.compiler.TokenId
-
- Type - Class in javassist.bytecode.analysis
-
Represents a JVM type in data-flow analysis.
- type - Variable in class javassist.compiler.ast.DoubleConst
-
- type - Variable in class javassist.compiler.ast.IntConst
-
- TypeChecker - Class in javassist.compiler
-
- TypeChecker(CtClass, ClassPool) - Constructor for class javassist.compiler.TypeChecker
-
- TypeData - Class in javassist.bytecode.stackmap
-
- TypeData() - Constructor for class javassist.bytecode.stackmap.TypeData
-
- TypeData.ArrayElement - Class in javassist.bytecode.stackmap
-
Type data for OBJECT if the type is an object type and is
derived as an element type from an array type by AALOAD.
- TypeData.ArrayElement(TypeData) - Constructor for class javassist.bytecode.stackmap.TypeData.ArrayElement
-
- TypeData.BasicType - Class in javassist.bytecode.stackmap
-
Primitive types.
- TypeData.BasicType(String, int) - Constructor for class javassist.bytecode.stackmap.TypeData.BasicType
-
- TypeData.ClassName - Class in javassist.bytecode.stackmap
-
Type data for OBJECT.
- TypeData.ClassName(String) - Constructor for class javassist.bytecode.stackmap.TypeData.ClassName
-
- TypeData.NullType - Class in javassist.bytecode.stackmap
-
Type data for NULL or OBJECT.
- TypeData.NullType() - Constructor for class javassist.bytecode.stackmap.TypeData.NullType
-
- TypeData.TypeName - Class in javassist.bytecode.stackmap
-
- TypeData.TypeName() - Constructor for class javassist.bytecode.stackmap.TypeData.TypeName
-
- TypeData.UninitData - Class in javassist.bytecode.stackmap
-
Type data for UNINIT.
- TypeData.UninitThis - Class in javassist.bytecode.stackmap
-
- TypedBlock - Class in javassist.bytecode.stackmap
-
- TypedBlock(int) - Constructor for class javassist.bytecode.stackmap.TypedBlock
-
- TypedBlock.Maker - Class in javassist.bytecode.stackmap
-
- TypedBlock.Maker() - Constructor for class javassist.bytecode.stackmap.TypedBlock.Maker
-
- typeIndex(Class) - Static method in class javassist.util.proxy.FactoryHelper
-
Returns an index for accessing arrays in this class.
- typeInfo(int, byte) - Method in class javassist.bytecode.StackMap.Walker
-
Invoked when an element of verification_type_info
(except Object_variable_info
and
Uninitialized_variable_info
) is visited.
- typeInfoArray(int, int, int, boolean) - Method in class javassist.bytecode.StackMap.Walker
-
Invoked when an array of verification_type_info
is
visited.
- typeTag - Static variable in class javassist.bytecode.LocalVariableAttribute
-
The name of the attribute "LocalVariableTypeTable"
.
- TypeTag - Interface in javassist.bytecode.stackmap
-
- typeTagOf(char) - Static method in class javassist.bytecode.StackMapTable
-
Returns the tag of the type specified by the
descriptor.
- typeToString(StringBuffer, int, int, String) - Static method in class javassist.compiler.TypeChecker
-