Skip navigation links
A B C D E F G H I J L M N O P Q R S T U V W X 

A

AALOAD - Static variable in interface xapi.bytecode.api.Opcode
 
AASTORE - Static variable in interface xapi.bytecode.api.Opcode
 
accept(MemberValueVisitor) - Method in class xapi.bytecode.annotation.AnnotationMemberValue
Accepts a visitor.
accept(MemberValueVisitor) - Method in class xapi.bytecode.annotation.ArrayMemberValue
Accepts a visitor.
accept(MemberValueVisitor) - Method in class xapi.bytecode.annotation.BooleanMemberValue
Accepts a visitor.
accept(MemberValueVisitor) - Method in class xapi.bytecode.annotation.ByteMemberValue
Accepts a visitor.
accept(MemberValueVisitor) - Method in class xapi.bytecode.annotation.CharMemberValue
Accepts a visitor.
accept(MemberValueVisitor) - Method in class xapi.bytecode.annotation.ClassMemberValue
Accepts a visitor.
accept(MemberValueVisitor) - Method in class xapi.bytecode.annotation.DoubleMemberValue
Accepts a visitor.
accept(MemberValueVisitor) - Method in class xapi.bytecode.annotation.EnumMemberValue
Accepts a visitor.
accept(MemberValueVisitor) - Method in class xapi.bytecode.annotation.FloatMemberValue
Accepts a visitor.
accept(MemberValueVisitor) - Method in class xapi.bytecode.annotation.IntegerMemberValue
Accepts a visitor.
accept(MemberValueVisitor) - Method in class xapi.bytecode.annotation.LongMemberValue
Accepts a visitor.
accept(MemberValueVisitor) - Method in class xapi.bytecode.annotation.MemberValue
Accepts a visitor.
accept(MemberValueVisitor) - Method in class xapi.bytecode.annotation.ShortMemberValue
Accepts a visitor.
accept(MemberValueVisitor) - Method in class xapi.bytecode.annotation.StringMemberValue
Accepts a visitor.
accessFlags(int) - Method in class xapi.bytecode.attributes.InnerClassesAttribute
Returns classes[nth].inner_class_access_flags.
ACONST_NULL - Static variable in interface xapi.bytecode.api.Opcode
 
add(int, ExceptionTable, int) - Method in class xapi.bytecode.attributes.ExceptionTable
Copies the given exception table at the specified position in the table.
add(int, int, int, int, int) - Method in class xapi.bytecode.attributes.ExceptionTable
Adds a new entry at the specified position in the table.
add(int, int, int, int) - Method in class xapi.bytecode.attributes.ExceptionTable
Appends a new entry at the end of the table.
add(int) - Method in class xapi.bytecode.Bytecode
Appends an 8bit value to the end of the bytecode sequence.
add32bit(int) - Method in class xapi.bytecode.Bytecode
Appends a 32bit value to the end of the bytecode sequence.
addAload(int) - Method in class xapi.bytecode.Bytecode
Appends ALOAD or (WIDE) ALOAD_<n>
addAnewarray(String) - Method in class xapi.bytecode.Bytecode
Appends ANEWARRAY.
addAnewarray(CtClass, int) - Method in class xapi.bytecode.Bytecode
Appends ICONST and ANEWARRAY.
addAnnotation(Annotation) - Method in class xapi.bytecode.annotation.AnnotationsAttribute
Adds an annotation.
addAstore(int) - Method in class xapi.bytecode.Bytecode
Appends ASTORE or (WIDE) ASTORE_<n>
addAttribute(AttributeInfo) - Method in class xapi.bytecode.ClassFile
Appends an attribute.
addAttribute(AttributeInfo) - Method in class xapi.bytecode.FieldInfo
Appends an attribute.
addAttribute(AttributeInfo) - Method in class xapi.bytecode.MethodInfo
Appends an attribute.
addCheckcast(CtClass) - Method in class xapi.bytecode.Bytecode
Appends CHECKCAST.
addCheckcast(String) - Method in class xapi.bytecode.Bytecode
Appends CHECKCAST.
addClassInfo(CtClass) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_Class_info structure.
addClassInfo(String) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_Class_info structure.
addConstructor(CtConstructor) - Method in class xapi.bytecode.CtClass
Adds a constructor.
addConstructor(CtConstructor) - Method in class xapi.bytecode.CtClassType
 
addConstZero(CtClass) - Method in class xapi.bytecode.Bytecode
Appends an instruction for pushing zero or null on the stack.
addDconst(double) - Method in class xapi.bytecode.Bytecode
Appends DCONST or DCONST_<n>
addDload(int) - Method in class xapi.bytecode.Bytecode
Appends DLOAD or (WIDE) DLOAD_<n>
addDoubleInfo(double) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_Double_info structure.
addDstore(int) - Method in class xapi.bytecode.Bytecode
Appends DSTORE or (WIDE) DSTORE_<n>
addEntry(int, int, int, int, int) - Method in class xapi.bytecode.attributes.LocalVariableAttribute
Appends a new entry to local_variable_table.
addExceptionHandler(int, int, int, CtClass) - Method in class xapi.bytecode.Bytecode
Adds a new entry of exception_table.
addExceptionHandler(int, int, int, String) - Method in class xapi.bytecode.Bytecode
Adds a new entry of exception_table.
addExceptionHandler(int, int, int, int) - Method in class xapi.bytecode.Bytecode
Adds a new entry of exception_table.
addFconst(float) - Method in class xapi.bytecode.Bytecode
Appends FCONST or FCONST_<n>
addField(FieldInfo) - Method in class xapi.bytecode.ClassFile
Appends a field to the class.
addFieldrefInfo(int, int) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_Fieldref_info structure.
addFieldrefInfo(int, String, String) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_Fieldref_info structure.
addFload(int) - Method in class xapi.bytecode.Bytecode
Appends FLOAD or (WIDE) FLOAD_<n>
addFloatInfo(float) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_Float_info structure.
addFstore(int) - Method in class xapi.bytecode.Bytecode
Appends FSTORE or FSTORE_<n>
addGap(int) - Method in class xapi.bytecode.Bytecode
Appends the length-byte gap to the end of the bytecode sequence.
addGetfield(CtClass, String, String) - Method in class xapi.bytecode.Bytecode
Appends GETFIELD.
addGetfield(String, String, String) - Method in class xapi.bytecode.Bytecode
Appends GETFIELD.
addGetstatic(CtClass, String, String) - Method in class xapi.bytecode.Bytecode
Appends GETSTATIC.
addGetstatic(String, String, String) - Method in class xapi.bytecode.Bytecode
Appends GETSTATIC.
addIconst(int) - Method in class xapi.bytecode.Bytecode
Appends ICONST or ICONST_<n>
addIload(int) - Method in class xapi.bytecode.Bytecode
Appends ILOAD or (WIDE) ILOAD_<n>
addIndex(int) - Method in class xapi.bytecode.Bytecode
Appends a 16bit value to the end of the bytecode sequence.
addInstanceof(String) - Method in class xapi.bytecode.Bytecode
Appends INSTANCEOF.
addIntegerInfo(int) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_Integer_info structure.
addInterface(String) - Method in class xapi.bytecode.ClassFile
Appends an interface to the interfaces implemented by the class.
addInterface(CtClass) - Method in class xapi.bytecode.CtClass
Adds an interface.
addInterface(CtClass) - Method in class xapi.bytecode.CtClassType
 
addInterfaceMethodrefInfo(int, int) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_InterfaceMethodref_info structure.
addInterfaceMethodrefInfo(int, String, String) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_InterfaceMethodref_info structure.
addInvokeDynamicInfo(int, int) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_InvokeDynamic_info structure.
addInvokeinterface(CtClass, String, CtClass, CtClass[], int) - Method in class xapi.bytecode.Bytecode
Appends INVOKEINTERFACE.
addInvokeinterface(CtClass, String, String, int) - Method in class xapi.bytecode.Bytecode
Appends INVOKEINTERFACE.
addInvokeinterface(String, String, String, int) - Method in class xapi.bytecode.Bytecode
Appends INVOKEINTERFACE.
addInvokeinterface(int, String, String, int) - Method in class xapi.bytecode.Bytecode
Appends INVOKEINTERFACE.
addInvokespecial(CtClass, String, CtClass, CtClass[]) - Method in class xapi.bytecode.Bytecode
Appends INVOKESPECIAL.
addInvokespecial(CtClass, String, String) - Method in class xapi.bytecode.Bytecode
Appends INVOKESPECIAL.
addInvokespecial(String, String, String) - Method in class xapi.bytecode.Bytecode
Appends INVOKESPECIAL.
addInvokespecial(int, String, String) - Method in class xapi.bytecode.Bytecode
Appends INVOKESPECIAL.
addInvokestatic(CtClass, String, CtClass, CtClass[]) - Method in class xapi.bytecode.Bytecode
Appends INVOKESTATIC.
addInvokestatic(CtClass, String, String) - Method in class xapi.bytecode.Bytecode
Appends INVOKESTATIC.
addInvokestatic(String, String, String) - Method in class xapi.bytecode.Bytecode
Appends INVOKESTATIC.
addInvokestatic(int, String, String) - Method in class xapi.bytecode.Bytecode
Appends INVOKESTATIC.
addInvokevirtual(CtClass, String, CtClass, CtClass[]) - Method in class xapi.bytecode.Bytecode
Appends INVOKEVIRTUAL.
addInvokevirtual(CtClass, String, String) - Method in class xapi.bytecode.Bytecode
Appends INVOKEVIRTUAL.
addInvokevirtual(String, String, String) - Method in class xapi.bytecode.Bytecode
Appends INVOKEVIRTUAL.
addInvokevirtual(int, String, String) - Method in class xapi.bytecode.Bytecode
Appends INVOKEVIRTUAL.
addIstore(int) - Method in class xapi.bytecode.Bytecode
Appends ISTORE or (WIDE) ISTORE_<n>
addLconst(long) - Method in class xapi.bytecode.Bytecode
Appends LCONST or LCONST_<n>
addLdc(String) - Method in class xapi.bytecode.Bytecode
Appends LDC or LDC_W.
addLdc(int) - Method in class xapi.bytecode.Bytecode
Appends LDC or LDC_W.
addLdc2w(long) - Method in class xapi.bytecode.Bytecode
Appends LDC2_W.
addLdc2w(double) - Method in class xapi.bytecode.Bytecode
Appends LDC2_W.
addLload(int) - Method in class xapi.bytecode.Bytecode
Appends LLOAD or (WIDE) LLOAD_<n>
addLoad(int, CtClass) - Method in class xapi.bytecode.Bytecode
Appends an instruction for loading a value from the local variable at the index n.
addLoadParameters(CtClass[], int) - Method in class xapi.bytecode.Bytecode
Appends instructions for loading all the parameters onto the operand stack.
addLocalVariable(String, CtClass) - Method in class xapi.bytecode.CtBehavior
Declares a new local variable.
addLongInfo(long) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_Long_info structure.
addLstore(int) - Method in class xapi.bytecode.Bytecode
Appends LSTORE or LSTORE_<n>
addMemberValue(int, MemberValue) - Method in class xapi.bytecode.annotation.Annotation
Adds a new member.
addMemberValue(String, MemberValue) - Method in class xapi.bytecode.annotation.Annotation
Adds a new member.
addMethod(MethodInfo) - Method in class xapi.bytecode.ClassFile
Just appends a method to the class.
addMethod(CtMethod) - Method in class xapi.bytecode.CtClass
Adds a method.
addMethod(CtMethod) - Method in class xapi.bytecode.CtClassType
 
addMethodHandleInfo(int, int) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_MethodHandle_info structure.
addMethodrefInfo(int, int) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_Methodref_info structure.
addMethodrefInfo(int, String, String) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_Methodref_info structure.
addMethodTypeInfo(int) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_MethodType_info structure.
addMultiNewarray(CtClass, int[]) - Method in class xapi.bytecode.Bytecode
Appends MULTINEWARRAY.
addMultiNewarray(CtClass, int) - Method in class xapi.bytecode.Bytecode
Appends MULTINEWARRAY.
addMultiNewarray(String, int) - Method in class xapi.bytecode.Bytecode
Appends MULTINEWARRAY.
addNameAndTypeInfo(int, int) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_NameAndType_info structure.
addNameAndTypeInfo(String, String) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_NameAndType_info structure.
addNew(CtClass) - Method in class xapi.bytecode.Bytecode
Appends NEW.
addNew(String) - Method in class xapi.bytecode.Bytecode
Appends NEW.
addNewarray(int, int) - Method in class xapi.bytecode.Bytecode
Appends NEWARRAY for primitive types.
addOpcode(int) - Method in class xapi.bytecode.Bytecode
Appends an 8bit opcode to the end of the bytecode sequence.
addParameter(CtClass) - Method in class xapi.bytecode.CtBehavior
Appends a new parameter, which becomes the last parameter.
addPrintln(String) - Method in class xapi.bytecode.Bytecode
Appends instructions for executing java.lang.System.println(message).
addPutfield(CtClass, String, String) - Method in class xapi.bytecode.Bytecode
Appends PUTFIELD.
addPutfield(String, String, String) - Method in class xapi.bytecode.Bytecode
Appends PUTFIELD.
addPutstatic(CtClass, String, String) - Method in class xapi.bytecode.Bytecode
Appends PUTSTATIC.
addPutstatic(String, String, String) - Method in class xapi.bytecode.Bytecode
Appends PUTSTATIC.
addRet(int) - Method in class xapi.bytecode.Bytecode
Appends RET.
addReturn(CtClass) - Method in class xapi.bytecode.Bytecode
Appends ARETURN, IRETURN, .., or RETURN.
addStore(int, CtClass) - Method in class xapi.bytecode.Bytecode
Appends an instruction for storing a value into the local variable at the index n.
addStringInfo(String) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_String_info structure.
addUtf8Info(String) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_Utf8_info structure.
ALOAD - Static variable in interface xapi.bytecode.api.Opcode
 
ALOAD_0 - Static variable in interface xapi.bytecode.api.Opcode
 
ALOAD_1 - Static variable in interface xapi.bytecode.api.Opcode
 
ALOAD_2 - Static variable in interface xapi.bytecode.api.Opcode
 
ALOAD_3 - Static variable in interface xapi.bytecode.api.Opcode
 
ANEWARRAY - Static variable in interface xapi.bytecode.api.Opcode
 
Annotated - Interface in xapi.bytecode
 
Annotation - Class in xapi.bytecode.annotation
 
Annotation(int, ConstPool) - Constructor for class xapi.bytecode.annotation.Annotation
Constructs an annotation including no members.
Annotation(String, ConstPool) - Constructor for class xapi.bytecode.annotation.Annotation
Constructs an annotation including no members.
Annotation(ConstPool, CtClass) - Constructor for class xapi.bytecode.annotation.Annotation
Constructs an annotation that can be accessed through the interface represented by clazz.
annotation(String, int) - Method in class xapi.bytecode.annotation.AnnotationsWriter
Writes annotation.
annotation(int, int) - Method in class xapi.bytecode.annotation.AnnotationsWriter
Writes annotation.
annotationArray() - Method in class xapi.bytecode.annotation.AnnotationsAttribute.Walker
 
AnnotationDefaultAttribute - Class in xapi.bytecode.annotation
 
AnnotationDefaultAttribute(ConstPool, byte[]) - Constructor for class xapi.bytecode.annotation.AnnotationDefaultAttribute
Constructs an AnnotationDefault_attribute.
AnnotationDefaultAttribute(ConstPool) - Constructor for class xapi.bytecode.annotation.AnnotationDefaultAttribute
Constructs an empty AnnotationDefault_attribute.
AnnotationDefaultAttribute(ConstPool, int, DataInput) - Constructor for class xapi.bytecode.annotation.AnnotationDefaultAttribute
 
AnnotationImpl - Class in xapi.bytecode.annotation
 
AnnotationMemberValue - Class in xapi.bytecode.annotation
 
AnnotationMemberValue(ConstPool) - Constructor for class xapi.bytecode.annotation.AnnotationMemberValue
Constructs an annotation member.
AnnotationMemberValue(Annotation, ConstPool) - Constructor for class xapi.bytecode.annotation.AnnotationMemberValue
Constructs an annotation member.
AnnotationsAttribute - Class in xapi.bytecode.annotation
 
AnnotationsAttribute(ConstPool, String, byte[]) - Constructor for class xapi.bytecode.annotation.AnnotationsAttribute
Constructs a Runtime(In)VisibleAnnotations_attribute.
AnnotationsAttribute(ConstPool, String) - Constructor for class xapi.bytecode.annotation.AnnotationsAttribute
Constructs an empty Runtime(In)VisibleAnnotations_attribute.
AnnotationsAttribute(ConstPool, int, DataInput) - Constructor for class xapi.bytecode.annotation.AnnotationsAttribute
 
AnnotationsAttribute.Copier - Class in xapi.bytecode.annotation
 
AnnotationsAttribute.Parser - Class in xapi.bytecode.annotation
 
AnnotationsAttribute.Walker - Class in xapi.bytecode.annotation
 
AnnotationsWriter - Class in xapi.bytecode.annotation
 
AnnotationsWriter(OutputStream, ConstPool) - Constructor for class xapi.bytecode.annotation.AnnotationsWriter
Constructs with the given output stream.
annotationValue() - Method in class xapi.bytecode.annotation.AnnotationsWriter
Writes tag and annotation_value in member_value.
append(String, String, String, int) - Method in class xapi.bytecode.attributes.InnerClassesAttribute
Appends a new entry.
append(int, int, int, int) - Method in class xapi.bytecode.attributes.InnerClassesAttribute
Appends a new entry.
append(byte[]) - Method in class xapi.bytecode.CodeIterator
Appends the given bytecode sequence at the end.
append(ExceptionTable, int) - Method in class xapi.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.
appendClassPath(ClassPath) - Method in class xapi.bytecode.ClassPool
Appends a ClassPath object to the end of the search path.
appendClassPath(String) - Method in class xapi.bytecode.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 xapi.bytecode.attributes.StackMapTable.Walker
Invoked if the visited frame is a append_frame.
appendFrame(int, int[], int[]) - Method in class xapi.bytecode.attributes.StackMapTable.Writer
Writes a append_frame.
appendGap(int) - Method in class xapi.bytecode.CodeIterator
Appends a gap at the end of the bytecode sequence.
appendParameter(String, String) - Static method in class xapi.bytecode.Descriptor
Appends a parameter type to the parameter list represented by the given descriptor.
appendParameter(CtClass, String) - Static method in class xapi.bytecode.Descriptor
Appends a parameter type to the parameter list represented by the given descriptor.
appendPathList(String) - Method in class xapi.bytecode.ClassPool
Appends directories and jar files for search.
appendSystemPath() - Method in class xapi.bytecode.ClassPool
Appends the system search path to the end of the search path.
ARETURN - Static variable in interface xapi.bytecode.api.Opcode
 
arrayDimension(String) - Static method in class xapi.bytecode.Descriptor
Computes the dimension of the array represented by the given descriptor.
ARRAYLENGTH - Static variable in interface xapi.bytecode.api.Opcode
 
ArrayMemberValue - Class in xapi.bytecode.annotation
 
ArrayMemberValue(ConstPool) - Constructor for class xapi.bytecode.annotation.ArrayMemberValue
Constructs an array.
ArrayMemberValue(MemberValue, ConstPool) - Constructor for class xapi.bytecode.annotation.ArrayMemberValue
Constructs an array.
ArrayType(int, SignatureAttribute.Type) - Constructor for class xapi.bytecode.attributes.SignatureAttribute.ArrayType
 
arrayValue(int) - Method in class xapi.bytecode.annotation.AnnotationsWriter
Writes tag and array_value in member_value.
ASTORE - Static variable in interface xapi.bytecode.api.Opcode
 
ASTORE_0 - Static variable in interface xapi.bytecode.api.Opcode
 
ASTORE_1 - Static variable in interface xapi.bytecode.api.Opcode
 
ASTORE_2 - Static variable in interface xapi.bytecode.api.Opcode
 
ASTORE_3 - Static variable in interface xapi.bytecode.api.Opcode
 
ATHROW - Static variable in interface xapi.bytecode.api.Opcode
 
AttributeInfo - Class in xapi.bytecode.attributes
 
AttributeInfo(ConstPool, int, byte[]) - Constructor for class xapi.bytecode.attributes.AttributeInfo
 
AttributeInfo(ConstPool, String) - Constructor for class xapi.bytecode.attributes.AttributeInfo
 
AttributeInfo(ConstPool, String, byte[]) - Constructor for class xapi.bytecode.attributes.AttributeInfo
Constructs an attribute_info structure.
AttributeInfo(ConstPool, int, DataInput) - Constructor for class xapi.bytecode.attributes.AttributeInfo
 

B

BadBytecode - Exception in xapi.bytecode
 
BadBytecode(int) - Constructor for exception xapi.bytecode.BadBytecode
 
BadBytecode(String) - Constructor for exception xapi.bytecode.BadBytecode
 
BadBytecode(String, Throwable) - Constructor for exception xapi.bytecode.BadBytecode
 
BALOAD - Static variable in interface xapi.bytecode.api.Opcode
 
BASTORE - Static variable in interface xapi.bytecode.api.Opcode
 
begin() - Method in class xapi.bytecode.CodeIterator
Moves to the first instruction.
BIPUSH - Static variable in interface xapi.bytecode.api.Opcode
 
BooleanMemberValue - Class in xapi.bytecode.annotation
 
BooleanMemberValue(int, ConstPool) - Constructor for class xapi.bytecode.annotation.BooleanMemberValue
Constructs a boolean constant value.
BooleanMemberValue(boolean, ConstPool) - Constructor for class xapi.bytecode.annotation.BooleanMemberValue
Constructs a boolean constant value.
BooleanMemberValue(ConstPool) - Constructor for class xapi.bytecode.annotation.BooleanMemberValue
Constructs a boolean constant value.
booleanType - Static variable in class xapi.bytecode.CtClass
The CtClass object representing the boolean type.
byteAt(int) - Method in class xapi.bytecode.CodeIterator
Returns the unsigned 8bit value at the given index.
Bytecode - Class in xapi.bytecode
A utility class for producing a bytecode sequence.
Bytecode(ConstPool, int, int) - Constructor for class xapi.bytecode.Bytecode
Constructs a Bytecode object with an empty bytecode sequence.
Bytecode(ConstPool) - Constructor for class xapi.bytecode.Bytecode
Constructs a Bytecode object with an empty bytecode sequence.
bytecode - Variable in class xapi.bytecode.CodeIterator
 
BytecodeAdapterService - Class in xapi.bytecode.impl
 
BytecodeAdapterService() - Constructor for class xapi.bytecode.impl.BytecodeAdapterService
 
BytecodeAdapterService(ClassPool) - Constructor for class xapi.bytecode.impl.BytecodeAdapterService
 
ByteCodes - Enum in xapi.bytecode.api
 
BytecodeUtil - Class in xapi.bytecode.impl
 
BytecodeUtil() - Constructor for class xapi.bytecode.impl.BytecodeUtil
 
ByteMemberValue - Class in xapi.bytecode.annotation
 
ByteMemberValue(int, ConstPool) - Constructor for class xapi.bytecode.annotation.ByteMemberValue
Constructs a byte constant value.
ByteMemberValue(byte, ConstPool) - Constructor for class xapi.bytecode.annotation.ByteMemberValue
Constructs a byte constant value.
ByteMemberValue(ConstPool) - Constructor for class xapi.bytecode.annotation.ByteMemberValue
Constructs a byte constant value.
byteType - Static variable in class xapi.bytecode.CtClass
The CtClass object representing the byte type.

C

cacheCtClass(String, CtClass, boolean) - Method in class xapi.bytecode.ClassPool
Provides a hook so that subclasses can do their own caching of classes.
cachedStringRep - Variable in class xapi.bytecode.CtMethod
 
callsSuper() - Method in class xapi.bytecode.CtConstructor
Returns true if this constructor calls a constructor of the super class.
CALOAD - Static variable in interface xapi.bytecode.api.Opcode
 
CannotCompileException - Exception in xapi.bytecode
 
CannotCompileException(String) - Constructor for exception xapi.bytecode.CannotCompileException
Constructs a CannotCompileException with a message.
CannotCompileException(Throwable) - Constructor for exception xapi.bytecode.CannotCompileException
Constructs a CannotCompileException with an Exception representing the cause.
CannotCompileException(String, Throwable) - Constructor for exception xapi.bytecode.CannotCompileException
Constructs a CannotCompileException with a detailed message and an Exception representing the cause.
CannotCompileException(NotFoundException) - Constructor for exception xapi.bytecode.CannotCompileException
Constructs a CannotCompileException with a NotFoundException.
CannotCompileException(ClassNotFoundException, String) - Constructor for exception xapi.bytecode.CannotCompileException
Constructs a CannotCompileException with a ClassNotFoundException.
CannotCompileException(ClassFormatError, String) - Constructor for exception xapi.bytecode.CannotCompileException
Constructs a CannotCompileException with a ClassFormatError.
CASTORE - Static variable in interface xapi.bytecode.api.Opcode
 
catchType(int) - Method in class xapi.bytecode.attributes.ExceptionTable
Returns catchType of the n-th entry.
changeLdcToLdcW(byte[], ExceptionTable, CodeAttribute, CodeAttribute.LdcEntry) - Static method in class xapi.bytecode.CodeIterator
 
changeReturnType(String, String) - Static method in class xapi.bytecode.Descriptor
Changes the return type included in the given descriptor.
CharMemberValue - Class in xapi.bytecode.annotation
 
CharMemberValue(int, ConstPool) - Constructor for class xapi.bytecode.annotation.CharMemberValue
Constructs a char constant value.
CharMemberValue(char, ConstPool) - Constructor for class xapi.bytecode.annotation.CharMemberValue
Constructs a char constant value.
CharMemberValue(ConstPool) - Constructor for class xapi.bytecode.annotation.CharMemberValue
Constructs a char constant value.
charType - Static variable in class xapi.bytecode.CtClass
The CtClass object representing the char type.
CHECKCAST - Static variable in interface xapi.bytecode.api.Opcode
 
childFirstLookup - Variable in class xapi.bytecode.ClassPool
Determines the search order.
chopFrame(int, int, int) - Method in class xapi.bytecode.attributes.StackMapTable.Walker
Invoked if the visited frame is a chop_frame.
chopFrame(int, int) - Method in class xapi.bytecode.attributes.StackMapTable.Writer
Writes a chop_frame.
ClassClassPath - Class in xapi.bytecode
 
ClassClassPath(Class<?>) - Constructor for class xapi.bytecode.ClassClassPath
Creates a search path.
classes - Variable in class xapi.bytecode.ClassPool
 
ClassFile - Class in xapi.bytecode
 
ClassFile(DataInput) - Constructor for class xapi.bytecode.ClassFile
Constructs a class file from a byte stream.
ClassFile(boolean, String, String) - Constructor for class xapi.bytecode.ClassFile
Constructs a class file including no members.
ClassFileMatchers - Class in xapi.bytecode
 
ClassFileMatchers() - Constructor for class xapi.bytecode.ClassFileMatchers
 
ClassFileMatchers.HasAnnotationMatcher - Class in xapi.bytecode
 
ClassInfo - Class in xapi.bytecode
 
ClassInfo(int, int) - Constructor for class xapi.bytecode.ClassInfo
 
ClassInfo(DataInput, int) - Constructor for class xapi.bytecode.ClassInfo
 
classInfoIndex(String) - Method in class xapi.bytecode.annotation.AnnotationsWriter
Writes tag and class_info_index in member_value.
classInfoIndex(int) - Method in class xapi.bytecode.annotation.AnnotationsWriter
Writes tag and class_info_index in member_value.
ClassMap - Class in xapi.bytecode
 
ClassMap() - Constructor for class xapi.bytecode.ClassMap
Constructs a hash table.
ClassMemberValue - Class in xapi.bytecode.annotation
 
ClassMemberValue(int, ConstPool) - Constructor for class xapi.bytecode.annotation.ClassMemberValue
Constructs a class value.
ClassMemberValue(String, ConstPool) - Constructor for class xapi.bytecode.annotation.ClassMemberValue
Constructs a class value.
ClassMemberValue(ConstPool) - Constructor for class xapi.bytecode.annotation.ClassMemberValue
Constructs a class value.
ClassPath - Interface in xapi.bytecode
 
ClassPool - Class in xapi.bytecode
 
ClassPool() - Constructor for class xapi.bytecode.ClassPool
Creates a root class pool.
ClassPool(boolean) - Constructor for class xapi.bytecode.ClassPool
Creates a root class pool.
ClassPool(ClassPool) - Constructor for class xapi.bytecode.ClassPool
Creates a class pool.
classPool - Variable in class xapi.bytecode.impl.BytecodeAdapterService
 
clearImportedPackages() - Method in class xapi.bytecode.ClassPool
Clear all the package names recorded by importPackage().
clone() - Method in class xapi.bytecode.attributes.ExceptionTable
Creates and returns a copy of this object.
clone() - Method in class xapi.bytecode.Bytecode
Creates and returns a copy of this object.
close() - Method in class xapi.bytecode.annotation.AnnotationsAttribute.Copier
 
close() - Method in class xapi.bytecode.annotation.AnnotationsWriter
Closes the output stream.
close() - Method in class xapi.bytecode.ClassClassPath
Does nothing.
close() - Method in interface xapi.bytecode.ClassPath
This method is invoked when the ClassPath object is detached from the search path.
code() - Method in enum xapi.bytecode.api.ByteCodes
 
code() - Method in interface xapi.bytecode.api.IsByteCode
 
CodeAnalyzer - Class in xapi.bytecode
 
CodeAnalyzer(CodeAttribute) - Constructor for class xapi.bytecode.CodeAnalyzer
 
codeAttr - Variable in class xapi.bytecode.CodeIterator
 
CodeAttribute - Class in xapi.bytecode.attributes
 
CodeAttribute(ConstPool, int, int, byte[], ExceptionTable) - Constructor for class xapi.bytecode.attributes.CodeAttribute
Constructs a Code_attribute.
CodeAttribute(ConstPool, int, DataInput) - Constructor for class xapi.bytecode.attributes.CodeAttribute
 
CodeAttribute.LdcEntry - Class in xapi.bytecode.attributes
 
CodeAttribute.RuntimeCopyException - Exception in xapi.bytecode.attributes
An exception that may be thrown by copy() in CodeAttribute.
CodeIterator - Class in xapi.bytecode
 
CodeIterator(CodeAttribute) - Constructor for class xapi.bytecode.CodeIterator
 
CodeIterator.Gap - Class in xapi.bytecode
An inserted gap.
codeLength(int) - Method in class xapi.bytecode.attributes.LocalVariableAttribute
Returns local_variable_table[i].length.
compact() - Method in class xapi.bytecode.ClassFile
Eliminates dead constant pool items.
computeMaxStack() - Method in class xapi.bytecode.attributes.CodeAttribute
Computes the maximum stack size and sets max_stack to the computed size.
computeMaxStack() - Method in class xapi.bytecode.CodeAnalyzer
 
CONST_Class - Static variable in class xapi.bytecode.ConstPool
CONSTANT_Class
CONST_Double - Static variable in class xapi.bytecode.ConstPool
CONSTANT_Double
CONST_Fieldref - Static variable in class xapi.bytecode.ConstPool
CONSTANT_Fieldref
CONST_Float - Static variable in class xapi.bytecode.ConstPool
CONSTANT_Float
CONST_Integer - Static variable in class xapi.bytecode.ConstPool
CONSTANT_Integer
CONST_InterfaceMethodref - Static variable in class xapi.bytecode.ConstPool
CONSTANT_InterfaceMethodref
CONST_Long - Static variable in class xapi.bytecode.ConstPool
CONSTANT_Long
CONST_Methodref - Static variable in class xapi.bytecode.ConstPool
CONSTANT_Methodref
CONST_NameAndType - Static variable in class xapi.bytecode.ConstPool
CONSTANT_NameAndType
CONST_String - Static variable in class xapi.bytecode.ConstPool
CONSTANT_String
CONST_Utf8 - Static variable in class xapi.bytecode.ConstPool
CONSTANT_Utf8
ConstantAttribute - Class in xapi.bytecode.attributes
 
ConstantAttribute(ConstPool, int) - Constructor for class xapi.bytecode.attributes.ConstantAttribute
Constructs a ConstantValue attribute.
ConstInfo - Class in xapi.bytecode
 
ConstInfo() - Constructor for class xapi.bytecode.ConstInfo
 
ConstInfoPadding - Class in xapi.bytecode
 
ConstInfoPadding() - Constructor for class xapi.bytecode.ConstInfoPadding
 
constPool - Variable in class xapi.bytecode.attributes.AttributeInfo
 
ConstPool - Class in xapi.bytecode
 
ConstPool(DataInput) - Constructor for class xapi.bytecode.ConstPool
Constructs a constant pool table from the given byte stream.
ConstPool(String) - Constructor for class xapi.bytecode.ConstPool
Constructs a constant pool table.
constValueIndex(boolean) - Method in class xapi.bytecode.annotation.AnnotationsWriter
Writes tag and const_value_index in member_value.
constValueIndex(byte) - Method in class xapi.bytecode.annotation.AnnotationsWriter
Writes tag and const_value_index in member_value.
constValueIndex(char) - Method in class xapi.bytecode.annotation.AnnotationsWriter
Writes tag and const_value_index in member_value.
constValueIndex(short) - Method in class xapi.bytecode.annotation.AnnotationsWriter
Writes tag and const_value_index in member_value.
constValueIndex(int) - Method in class xapi.bytecode.annotation.AnnotationsWriter
Writes tag and const_value_index in member_value.
constValueIndex(long) - Method in class xapi.bytecode.annotation.AnnotationsWriter
Writes tag and const_value_index in member_value.
constValueIndex(float) - Method in class xapi.bytecode.annotation.AnnotationsWriter
Writes tag and const_value_index in member_value.
constValueIndex(double) - Method in class xapi.bytecode.annotation.AnnotationsWriter
Writes tag and const_value_index in member_value.
constValueIndex(String) - Method in class xapi.bytecode.annotation.AnnotationsWriter
Writes tag and const_value_index in member_value.
constValueIndex(int, int) - Method in class xapi.bytecode.annotation.AnnotationsWriter
Writes tag and const_value_index in member_value.
Copier(byte[], ConstPool, ConstPool, Map<?, ?>) - Constructor for class xapi.bytecode.annotation.AnnotationsAttribute.Copier
Constructs a copier.
copy(ConstPool, Map<?, ?>) - Method in class xapi.bytecode.annotation.AnnotationDefaultAttribute
Copies this attribute and returns a new copy.
copy(ConstPool, Map<?, ?>) - Method in class xapi.bytecode.annotation.AnnotationsAttribute
Copies this attribute and returns a new copy.
copy(ConstPool, Map<?, ?>) - Method in class xapi.bytecode.attributes.AttributeInfo
Makes a copy.
copy(ConstPool, Map<?, ?>) - Method in class xapi.bytecode.attributes.CodeAttribute
Makes a copy.
copy(ConstPool, Map<?, ?>) - Method in class xapi.bytecode.attributes.ConstantAttribute
Makes a copy.
copy(ConstPool, Map<?, ?>) - Method in class xapi.bytecode.attributes.ExceptionsAttribute
Makes a copy.
copy(ConstPool, Map<?, ?>) - Method in class xapi.bytecode.attributes.ExceptionTable
Makes a copy of this exception_table[].
copy(ConstPool, Map<?, ?>) - Method in class xapi.bytecode.attributes.InnerClassesAttribute
Makes a copy.
copy(ConstPool, Map<?, ?>) - Method in class xapi.bytecode.attributes.LineNumberAttribute
Makes a copy.
copy(ConstPool, Map<?, ?>) - Method in class xapi.bytecode.attributes.LocalVariableAttribute
Makes a copy.
copy(ConstPool, Map<?, ?>) - Method in class xapi.bytecode.attributes.ParameterAnnotationsAttribute
Copies this attribute and returns a new copy.
copy(ConstPool, Map<?, ?>) - Method in class xapi.bytecode.attributes.SignatureAttribute
Makes a copy.
copy(ConstPool, Map<?, ?>) - Method in class xapi.bytecode.attributes.SourceFileAttribute
Makes a copy.
copy(ConstPool, Map<?, ?>) - Method in class xapi.bytecode.attributes.StackMap
Makes a copy.
copy(ConstPool, Map<?, ?>) - Method in class xapi.bytecode.attributes.StackMapTable
Makes a copy.
copy(ConstPool, ConstPool, Map<?, ?>) - Method in class xapi.bytecode.ClassInfo
 
copy(ConstPool, ConstPool, Map<?, ?>) - Method in class xapi.bytecode.ConstInfo
 
copy(ConstPool, ConstPool, Map<?, ?>) - Method in class xapi.bytecode.ConstInfoPadding
 
copy(int, ConstPool, Map<?, ?>) - Method in class xapi.bytecode.ConstPool
Copies the n-th item in this ConstPool object into the destination ConstPool object.
copy(CtConstructor, CtClass, ClassMap) - Static method in class xapi.bytecode.CtNewConstructor
Creates a copy of a constructor.
copy(ConstPool, ConstPool, Map<?, ?>) - Method in class xapi.bytecode.DoubleInfo
 
copy(ConstPool, ConstPool, Map<?, ?>) - Method in class xapi.bytecode.FloatInfo
 
copy(ConstPool, ConstPool, Map<?, ?>) - Method in class xapi.bytecode.IntegerInfo
 
copy(ConstPool, ConstPool, Map<?, ?>) - Method in class xapi.bytecode.LongInfo
 
copy(ConstPool, ConstPool, Map<?, ?>) - Method in class xapi.bytecode.MemberrefInfo
 
copy(ConstPool, ConstPool, Map<?, ?>) - Method in class xapi.bytecode.StringInfo
 
copy(ConstPool, ConstPool, Map<?, ?>) - Method in class xapi.bytecode.Utf8Info
 
copy2(ConstPool, int, int) - Method in class xapi.bytecode.FieldrefInfo
 
copy2(ConstPool, int, int) - Method in class xapi.bytecode.InterfaceMethodrefInfo
 
copy2(ConstPool, int, int) - Method in class xapi.bytecode.MemberrefInfo
 
copy2(ConstPool, int, int) - Method in class xapi.bytecode.MethodrefInfo
 
copyAll(ArrayList<?>, ConstPool) - Static method in class xapi.bytecode.attributes.AttributeInfo
 
createCtClass(String, boolean) - Method in class xapi.bytecode.ClassPool
Creates a CtClass object representing the specified class.
createMemberValue(ConstPool, CtClass) - Static method in class xapi.bytecode.annotation.Annotation
Makes an instance of MemberValue.
CtBehavior - Class in xapi.bytecode
 
CtBehavior(CtClass, MethodInfo) - Constructor for class xapi.bytecode.CtBehavior
 
CtClass - Class in xapi.bytecode
 
CtClass(String) - Constructor for class xapi.bytecode.CtClass
 
CtClassType - Class in xapi.bytecode
 
CtClassType(InputStream, ClassPool) - Constructor for class xapi.bytecode.CtClassType
 
CtConstructor - Class in xapi.bytecode
 
CtConstructor(MethodInfo, CtClass) - Constructor for class xapi.bytecode.CtConstructor
 
CtConstructor(CtClass[], CtClass) - Constructor for class xapi.bytecode.CtConstructor
Creates a constructor with no constructor body.
CtConstructor(CtConstructor, CtClass, ClassMap) - Constructor for class xapi.bytecode.CtConstructor
Creates a copy of a CtConstructor object.
CtField - Class in xapi.bytecode
 
CtField(CtClass, String, CtClass) - Constructor for class xapi.bytecode.CtField
Creates a CtField object.
CtField(CtField, CtClass) - Constructor for class xapi.bytecode.CtField
Creates a copy of the given field.
CtMember - Class in xapi.bytecode
 
CtMember(CtClass) - Constructor for class xapi.bytecode.CtMember
 
CtMethod - Class in xapi.bytecode
 
CtMethod(CtClass, String, CtClass[], CtClass) - Constructor for class xapi.bytecode.CtMethod
Creates a public abstract method.
CtMethod.ConstParameter - Class in xapi.bytecode
 
CtNewConstructor - Class in xapi.bytecode
 
CtNewConstructor() - Constructor for class xapi.bytecode.CtNewConstructor
 
CtPrimitiveType - Class in xapi.bytecode
 
currentChar() - Method in class xapi.bytecode.Descriptor.Iterator
Returns the first character of the current element.
currentPc() - Method in class xapi.bytecode.Bytecode
Returns the length of bytecode sequence that have been added so far.
currentPos - Variable in class xapi.bytecode.CodeIterator
 

D

D2F - Static variable in interface xapi.bytecode.api.Opcode
 
D2I - Static variable in interface xapi.bytecode.api.Opcode
 
D2L - Static variable in interface xapi.bytecode.api.Opcode
 
DADD - Static variable in interface xapi.bytecode.api.Opcode
 
DALOAD - Static variable in interface xapi.bytecode.api.Opcode
 
DASTORE - Static variable in interface xapi.bytecode.api.Opcode
 
dataSize(String) - Static method in class xapi.bytecode.Descriptor
Computes the data size specified by the given descriptor.
DCMPG - Static variable in interface xapi.bytecode.api.Opcode
 
DCMPL - Static variable in interface xapi.bytecode.api.Opcode
 
DCONST_0 - Static variable in interface xapi.bytecode.api.Opcode
 
DCONST_1 - Static variable in interface xapi.bytecode.api.Opcode
 
DDIV - Static variable in interface xapi.bytecode.api.Opcode
 
debugWriteFile() - Method in class xapi.bytecode.CtClass
Writes a class file as writeFile() does although this method does not prune or freeze the class after writing the class file.
debugWriteFile(String) - Method in class xapi.bytecode.CtClass
Writes a class file as writeFile() does although this method does not prune or freeze the class after writing the class file.
declaringClass - Variable in class xapi.bytecode.CtMember
 
defaultConstructor(CtClass) - Static method in class xapi.bytecode.CtNewConstructor
Creates a default (public) constructor.
defrost() - Method in class xapi.bytecode.CtClass
Defrosts the class so that the class can be modified again.
descriptor(int) - Method in class xapi.bytecode.attributes.LocalVariableAttribute
Returns the type descriptor of the local variable specified by local_variable_table[i].descriptor_index.
Descriptor - Class in xapi.bytecode
 
Descriptor() - Constructor for class xapi.bytecode.Descriptor
 
Descriptor.Iterator - Class in xapi.bytecode
An Iterator over a descriptor.
descriptorIndex(int) - Method in class xapi.bytecode.attributes.LocalVariableAttribute
Returns the value of local_variable_table[i].descriptor_index.
detach() - Method in class xapi.bytecode.CtClass
Removes this CtClass object from the ClassPool.
DLOAD - Static variable in interface xapi.bytecode.api.Opcode
 
DLOAD_0 - Static variable in interface xapi.bytecode.api.Opcode
 
DLOAD_1 - Static variable in interface xapi.bytecode.api.Opcode
 
DLOAD_2 - Static variable in interface xapi.bytecode.api.Opcode
 
DLOAD_3 - Static variable in interface xapi.bytecode.api.Opcode
 
DMUL - Static variable in interface xapi.bytecode.api.Opcode
 
DNEG - Static variable in interface xapi.bytecode.api.Opcode
 
doPreverify - Static variable in class xapi.bytecode.MethodInfo
If this value is true, Javassist maintains a StackMap attribute generated by the preverify tool of J2ME (CLDC).
doPruning - Static variable in class xapi.bytecode.ClassPool
Turning the automatic pruning on/off.
DOUBLE - Static variable in class xapi.bytecode.attributes.StackMap
Double_variable_info.tag.
DOUBLE - Static variable in class xapi.bytecode.attributes.StackMapTable
Double_variable_info.tag.
DoubleInfo - Class in xapi.bytecode
 
DoubleInfo(double) - Constructor for class xapi.bytecode.DoubleInfo
 
DoubleInfo(DataInput) - Constructor for class xapi.bytecode.DoubleInfo
 
DoubleMemberValue - Class in xapi.bytecode.annotation
 
DoubleMemberValue(int, ConstPool) - Constructor for class xapi.bytecode.annotation.DoubleMemberValue
Constructs a double constant value.
DoubleMemberValue(double, ConstPool) - Constructor for class xapi.bytecode.annotation.DoubleMemberValue
Constructs a double constant value.
DoubleMemberValue(ConstPool) - Constructor for class xapi.bytecode.annotation.DoubleMemberValue
Constructs a double constant value.
doubleType - Static variable in class xapi.bytecode.CtClass
The CtClass object representing the double type.
DREM - Static variable in interface xapi.bytecode.api.Opcode
 
DRETURN - Static variable in interface xapi.bytecode.api.Opcode
 
DSTORE - Static variable in interface xapi.bytecode.api.Opcode
 
DSTORE_0 - Static variable in interface xapi.bytecode.api.Opcode
 
DSTORE_1 - Static variable in interface xapi.bytecode.api.Opcode
 
DSTORE_2 - Static variable in interface xapi.bytecode.api.Opcode
 
DSTORE_3 - Static variable in interface xapi.bytecode.api.Opcode
 
DSUB - Static variable in interface xapi.bytecode.api.Opcode
 
DUP - Static variable in interface xapi.bytecode.api.Opcode
 
DUP2 - Static variable in interface xapi.bytecode.api.Opcode
 
DUP2_X1 - Static variable in interface xapi.bytecode.api.Opcode
 
DUP2_X2 - Static variable in interface xapi.bytecode.api.Opcode
 
DUP_X1 - Static variable in interface xapi.bytecode.api.Opcode
 
DUP_X2 - Static variable in interface xapi.bytecode.api.Opcode
 

E

endPc(int) - Method in class xapi.bytecode.attributes.ExceptionTable
Returns endPc of the n-th entry.
endPos - Variable in class xapi.bytecode.CodeIterator
 
enumConstValue(String, String) - Method in class xapi.bytecode.annotation.AnnotationsWriter
Writes tag and enum_const_value in member_value.
enumConstValue(int, int) - Method in class xapi.bytecode.annotation.AnnotationsWriter
Writes tag and enum_const_value in member_value.
EnumMemberValue - Class in xapi.bytecode.annotation
 
EnumMemberValue(int, int, ConstPool) - Constructor for class xapi.bytecode.annotation.EnumMemberValue
Constructs an enum constant value.
EnumMemberValue(ConstPool) - Constructor for class xapi.bytecode.annotation.EnumMemberValue
Constructs an enum constant value.
eqMember(String, String, int) - Method in class xapi.bytecode.ConstPool
Determines whether CONSTANT_Methodref_info, CONSTANT_Fieldref_info, or CONSTANT_InterfaceMethodref_info structure at the given index has the name and the descriptor given as the arguments.
eqParamTypes(String, String) - Static method in class xapi.bytecode.Descriptor
Returns true if the list of the parameter types of desc1 is equal to that of desc2.
equals(Object) - Method in class xapi.bytecode.annotation.Annotation
Returns true if the given object represents the same annotation as this object.
equals(Object) - Method in class xapi.bytecode.ClassFile
 
equals(Object) - Method in class xapi.bytecode.CtMethod
Indicates whether obj has the same name and the same signature as this method.
equals(Object) - Method in class xapi.bytecode.MemberInfo
 
ExceptionsAttribute - Class in xapi.bytecode.attributes
 
ExceptionsAttribute(ConstPool) - Constructor for class xapi.bytecode.attributes.ExceptionsAttribute
Constructs a new exceptions attribute.
ExceptionTable - Class in xapi.bytecode.attributes
 
ExceptionTable(ConstPool) - Constructor for class xapi.bytecode.attributes.ExceptionTable
Constructs an exception_table[].
extendToString(StringBuffer) - Method in class xapi.bytecode.CtBehavior
 
extendToString(StringBuffer) - Method in class xapi.bytecode.CtClass
Implemented in subclasses to add to the CtClass.toString() result.
extendToString(StringBuffer) - Method in class xapi.bytecode.CtField
 
extendToString(StringBuffer) - Method in class xapi.bytecode.CtMember
Invoked by CtMember.toString() to add to the buffer and provide the complete value.
extractAnnotations(AnnotationsAttribute, AnnotationsAttribute) - Static method in class xapi.bytecode.impl.BytecodeUtil
 
extractValue(MemberValue, BytecodeAdapterService, IsType) - Static method in class xapi.bytecode.impl.BytecodeUtil
 

F

F2D - Static variable in interface xapi.bytecode.api.Opcode
 
F2I - Static variable in interface xapi.bytecode.api.Opcode
 
F2L - Static variable in interface xapi.bytecode.api.Opcode
 
FADD - Static variable in interface xapi.bytecode.api.Opcode
 
FALOAD - Static variable in interface xapi.bytecode.api.Opcode
 
FASTORE - Static variable in interface xapi.bytecode.api.Opcode
 
FCMPG - Static variable in interface xapi.bytecode.api.Opcode
 
FCMPL - Static variable in interface xapi.bytecode.api.Opcode
 
FCONST_0 - Static variable in interface xapi.bytecode.api.Opcode
 
FCONST_1 - Static variable in interface xapi.bytecode.api.Opcode
 
FCONST_2 - Static variable in interface xapi.bytecode.api.Opcode
 
FDIV - Static variable in interface xapi.bytecode.api.Opcode
 
fieldInfo - Variable in class xapi.bytecode.CtField
 
FieldInfo - Class in xapi.bytecode
 
FieldInfo(ConstPool, String, String) - Constructor for class xapi.bytecode.FieldInfo
Constructs a field_info structure.
FieldrefInfo - Class in xapi.bytecode
 
FieldrefInfo(int, int) - Constructor for class xapi.bytecode.FieldrefInfo
 
FieldrefInfo(DataInput) - Constructor for class xapi.bytecode.FieldrefInfo
 
find(String) - Method in class xapi.bytecode.ClassClassPath
Obtains the URL of the specified class file.
find(String) - Method in interface xapi.bytecode.ClassPath
Returns the uniform resource locator (URL) of the class file with the specified name.
find(String) - Method in class xapi.bytecode.ClassPool
Searches the class path to obtain the URL of the class file specified by classname.
fix(CtClass) - Method in class xapi.bytecode.ClassMap
Prevents a mapping from the specified class name to another name.
fix(String) - Method in class xapi.bytecode.ClassMap
Prevents a mapping from the specified class name to another name.
FLOAD - Static variable in interface xapi.bytecode.api.Opcode
 
FLOAD_0 - Static variable in interface xapi.bytecode.api.Opcode
 
FLOAD_1 - Static variable in interface xapi.bytecode.api.Opcode
 
FLOAD_2 - Static variable in interface xapi.bytecode.api.Opcode
 
FLOAD_3 - Static variable in interface xapi.bytecode.api.Opcode
 
FLOAT - Static variable in class xapi.bytecode.attributes.StackMap
Float_variable_info.tag.
FLOAT - Static variable in class xapi.bytecode.attributes.StackMapTable
Float_variable_info.tag.
FloatInfo - Class in xapi.bytecode
 
FloatInfo(float) - Constructor for class xapi.bytecode.FloatInfo
 
FloatInfo(DataInput) - Constructor for class xapi.bytecode.FloatInfo
 
FloatMemberValue - Class in xapi.bytecode.annotation
 
FloatMemberValue(int, ConstPool) - Constructor for class xapi.bytecode.annotation.FloatMemberValue
Constructs a float constant value.
FloatMemberValue(float, ConstPool) - Constructor for class xapi.bytecode.annotation.FloatMemberValue
Constructs a float constant value.
FloatMemberValue(ConstPool) - Constructor for class xapi.bytecode.annotation.FloatMemberValue
Constructs a float constant value.
floatType - Static variable in class xapi.bytecode.CtClass
The CtClass object representing the float type.
FMUL - Static variable in interface xapi.bytecode.api.Opcode
 
FNEG - Static variable in interface xapi.bytecode.api.Opcode
 
freeze() - Method in class xapi.bytecode.CtClass
Makes the class frozen.
FREM - Static variable in interface xapi.bytecode.api.Opcode
 
FRETURN - Static variable in interface xapi.bytecode.api.Opcode
 
FSTORE - Static variable in interface xapi.bytecode.api.Opcode
 
FSTORE_0 - Static variable in interface xapi.bytecode.api.Opcode
 
FSTORE_1 - Static variable in interface xapi.bytecode.api.Opcode
 
FSTORE_2 - Static variable in interface xapi.bytecode.api.Opcode
 
FSTORE_3 - Static variable in interface xapi.bytecode.api.Opcode
 
FSUB - Static variable in interface xapi.bytecode.api.Opcode
 
fullFrame(int, int, int[], int[], int[], int[]) - Method in class xapi.bytecode.attributes.StackMapTable.Walker
Invoked if the visited frame is full_frame.
fullFrame(int, int[], int[], int[], int[]) - Method in class xapi.bytecode.attributes.StackMapTable.Writer
Writes a full_frame.

G

Gap() - Constructor for class xapi.bytecode.CodeIterator.Gap
 
get() - Method in class xapi.bytecode.attributes.AttributeInfo
Returns the info field of this attribute_info structure.
get() - Method in class xapi.bytecode.attributes.CodeAttribute
This method is not available.
get() - Method in class xapi.bytecode.Bytecode
Returns the produced bytecode sequence.
get(Object) - Method in class xapi.bytecode.ClassMap
Returns the class name to wihch the given jvmClassName is mapped.
get(String) - Method in class xapi.bytecode.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 xapi.bytecode.ClassPool
Reads class files from the source and returns an array of CtClass objects representing those class files.
get() - Method in class xapi.bytecode.CodeIterator
Returns a Code attribute read with this iterator.
get0(String, boolean) - Method in class xapi.bytecode.ClassPool
 
getAccessFlags() - Method in class xapi.bytecode.ClassFile
Returns access flags.
getAccessFlags() - Method in class xapi.bytecode.FieldInfo
Returns the access flags.
getAccessFlags() - Method in class xapi.bytecode.MethodInfo
Returns access flags.
getAndRename(String, String) - Method in class xapi.bytecode.ClassPool
Reads a class file and constructs a CtClass object with a new name.
getAnnotation(String) - Method in interface xapi.bytecode.Annotated
 
getAnnotation() - Method in class xapi.bytecode.annotation.AnnotationImpl
Obtains the internal data structure representing the annotation.
getAnnotation(String) - Method in class xapi.bytecode.annotation.AnnotationsAttribute
Parses the annotations and returns a data structure representing the annotation with the specified type.
getAnnotation(String) - Method in class xapi.bytecode.ClassFile
This method is for lazy programmers only; it checks both runtime and compile annotations.
getAnnotation(Class<?>) - Method in class xapi.bytecode.ClassFile
 
getAnnotation(Class<T>, ClassLoader) - Method in class xapi.bytecode.ClassFile
 
getAnnotation(Class<?>) - Method in class xapi.bytecode.CtBehavior
Returns the annotation if the class has the specified annotation class.
getAnnotation(Class<?>) - Method in class xapi.bytecode.CtClass
Returns the annotation if the class has the specified annotation class.
getAnnotation(Class<?>) - Method in class xapi.bytecode.CtClassType
 
getAnnotation(Class<?>) - Method in class xapi.bytecode.CtField
Returns the annotation if the class has the specified annotation class.
getAnnotation(Class<?>) - Method in class xapi.bytecode.CtMember
Returns the annotation if the class has the specified annotation class.
getAnnotation(String) - Method in class xapi.bytecode.MemberInfo
 
getAnnotations() - Method in interface xapi.bytecode.Annotated
 
getAnnotations() - Method in class xapi.bytecode.annotation.AnnotationsAttribute
Parses the annotations and returns a data structure representing that parsed annotations.
getAnnotations() - Method in class xapi.bytecode.attributes.ParameterAnnotationsAttribute
Parses the annotations and returns a data structure representing that parsed annotations.
getAnnotations() - Method in class xapi.bytecode.ClassFile
 
getAnnotations() - Method in class xapi.bytecode.CtBehavior
Returns the annotations associated with this method or constructor.
getAnnotations() - Method in class xapi.bytecode.CtClass
Returns the annotations associated with this class.
getAnnotations() - Method in class xapi.bytecode.CtClassType
 
getAnnotations() - Method in class xapi.bytecode.CtField
Returns the annotations associated with this field.
getAnnotations() - Method in class xapi.bytecode.CtMember
Returns the annotations associated with this member.
getAnnotations() - Method in class xapi.bytecode.FieldInfo
 
getAnnotations() - Method in class xapi.bytecode.MemberInfo
 
getArrayType() - Method in class xapi.bytecode.CtPrimitiveType
Returns the array-type code representing the type.
getAttribute(String) - Method in class xapi.bytecode.attributes.CodeAttribute
Returns the attribute with the specified name.
getAttribute(String) - Method in class xapi.bytecode.ClassFile
Returns the attribute with the specified name.
getAttribute(String) - Method in class xapi.bytecode.CtBehavior
Obtains an attribute with the given name.
getAttribute(String) - Method in class xapi.bytecode.CtClass
Obtains an attribute with the given name.
getAttribute(String) - Method in class xapi.bytecode.CtClassType
 
getAttribute(String) - Method in class xapi.bytecode.CtField
Obtains an attribute with the given name.
getAttribute(String) - Method in class xapi.bytecode.CtMember
Obtains a user-defined attribute with the given name.
getAttribute(String) - Method in class xapi.bytecode.FieldInfo
Returns the attribute with the specified name.
getAttribute(String) - Method in class xapi.bytecode.MemberInfo
Returns the attribute with the specified name.
getAttributes() - Method in class xapi.bytecode.attributes.CodeAttribute
Returns attributes[].
getAttributes() - Method in class xapi.bytecode.ClassFile
Returns all the attributes.
getAttributes() - Method in class xapi.bytecode.FieldInfo
Returns all the attributes.
getAttributes() - Method in class xapi.bytecode.MemberInfo
Returns all the attributes.
getAvailableAnnotations() - Method in class xapi.bytecode.CtBehavior
Returns the annotations associated with this method or constructor.
getAvailableAnnotations() - Method in class xapi.bytecode.CtClass
Returns the annotations associated with this class.
getAvailableAnnotations() - Method in class xapi.bytecode.CtClassType
 
getAvailableAnnotations() - Method in class xapi.bytecode.CtField
Returns the annotations associated with this field.
getAvailableAnnotations() - Method in class xapi.bytecode.CtMember
Returns the annotations associated with this member.
getAvailableParameterAnnotations() - Method in class xapi.bytecode.CtBehavior
Returns the parameter annotations associated with this method or constructor.
getCached(String) - Method in class xapi.bytecode.ClassPool
Provide a hook so that subclasses can do their own caching of classes.
getCause() - Method in exception xapi.bytecode.CannotCompileException
Gets the cause of this throwable.
getClassBound() - Method in class xapi.bytecode.attributes.SignatureAttribute.TypeParameter
Returns the class bound of this parameter.
getClassFile() - Method in class xapi.bytecode.CtClass
Returns a class file for this class.
getClassFile2() - Method in class xapi.bytecode.CtClass
Returns a class file for this class (read only).
getClassFile2() - Method in class xapi.bytecode.CtClassType
 
getClassInfo(int) - Method in class xapi.bytecode.ConstPool
Reads CONSTANT_Class_info structure at the given index.
getClassInitializer() - Method in class xapi.bytecode.CtClass
Gets the class initializer (static constructor) declared in the class.
getClassInitializer() - Method in class xapi.bytecode.CtClassType
 
getClassLoader() - Method in class xapi.bytecode.ClassPool
Get the classloader for toClass(), getAnnotations() in CtClass, etc.
getClassLoader() - Method in class xapi.bytecode.impl.BytecodeAdapterService
 
getClassName(ConstPool) - Method in class xapi.bytecode.ClassInfo
 
getClassName(ConstPool) - Method in class xapi.bytecode.ConstInfo
 
getClassName() - Method in class xapi.bytecode.ConstPool
Returns the name of the class using this constant pool table.
getClassName() - Method in error xapi.bytecode.NoSuchClassError
Returns the name of the class not found.
getClassNames() - Method in class xapi.bytecode.ConstPool
Get all the class names.
getClassPool() - Method in class xapi.bytecode.CtClass
Returns a ClassPool for this class.
getClassPool() - Method in class xapi.bytecode.CtClassType
 
getCode() - Method in class xapi.bytecode.attributes.CodeAttribute
Returns code[].
getCodeAttribute() - Method in class xapi.bytecode.MethodInfo
Returns a Code attribute.
getCodeLength() - Method in class xapi.bytecode.attributes.CodeAttribute
Returns code_length.
getCodeLength() - Method in class xapi.bytecode.CodeIterator
Returns code_length of Code_attribute.
getCompileAnnotation(String) - Method in class xapi.bytecode.ClassFile
This method returns any compile annotations on the given classfile.
getComponentType() - Method in class xapi.bytecode.attributes.SignatureAttribute.ArrayType
Returns the component type.
getComponentType() - Method in class xapi.bytecode.CtClass
If this object represents an array, this method returns the component type of the array.
getConstantValue() - Method in class xapi.bytecode.attributes.ConstantAttribute
Returns constantvalue_index.
getConstantValue() - Method in class xapi.bytecode.CtField
Returns the value of this field if it is a constant field.
getConstantValue() - Method in class xapi.bytecode.FieldInfo
Finds a ConstantValue attribute and returns the index into the constant_pool table.
getConstPool() - Method in class xapi.bytecode.annotation.AnnotationsWriter
Obtains the constant pool given to the constructor.
getConstPool() - Method in class xapi.bytecode.attributes.AttributeInfo
Returns a constant pool table.
getConstPool() - Method in class xapi.bytecode.Bytecode
Gets a constant pool table.
getConstPool() - Method in class xapi.bytecode.ClassFile
Returns a constant pool table.
getConstPool() - Method in class xapi.bytecode.FieldInfo
Returns the constant pool table used by this field_info.
getConstPool() - Method in class xapi.bytecode.MethodInfo
Returns a constant pool table used by this method.
getConstructor(String) - Method in class xapi.bytecode.CtClass
Returns the constructor with the given signature, which is represented by a character string called method descriptor.
getConstructor(String) - Method in class xapi.bytecode.CtClassType
 
getConstructors() - Method in class xapi.bytecode.CtClass
Returns an array containing CtConstructor objects representing all the non-private constructors of the class.
getCtClass(String) - Method in class xapi.bytecode.ClassPool
Returns a CtClass object with the given name.
getCtlass() - Method in class xapi.bytecode.attributes.SignatureAttribute.BaseType
Returns the CtClass representing this primitive type.
getDataSize() - Method in class xapi.bytecode.CtPrimitiveType
Returns the data size of the primitive type.
getDeclaredBehaviors() - Method in class xapi.bytecode.CtClass
Gets all the constructors and methods declared in the class.
getDeclaredConstructor(CtClass[]) - Method in class xapi.bytecode.CtClass
Returns a constructor receiving the specified parameters.
getDeclaredConstructors() - Method in class xapi.bytecode.CtClass
Gets all the constructors declared in the class.
getDeclaredConstructors() - Method in class xapi.bytecode.CtClassType
 
getDeclaredField(String) - Method in class xapi.bytecode.CtClass
Retrieves the field with the specified name among the fields declared in the class.
getDeclaredField(String) - Method in class xapi.bytecode.CtClassType
 
getDeclaredField(String, String) - Method in class xapi.bytecode.CtClassType
 
getDeclaredFields() - Method in class xapi.bytecode.CtClass
Gets all the fields declared in the class.
getDeclaredFields() - Method in class xapi.bytecode.CtClassType
 
getDeclaredMethod(String, CtClass[]) - Method in class xapi.bytecode.CtClass
Retrieves the method with the specified name and parameter types among the methods declared in the class.
getDeclaredMethod(String) - Method in class xapi.bytecode.CtClass
Retrieves the method with the specified name among the methods declared in the class.
getDeclaredMethod(String) - Method in class xapi.bytecode.CtClassType
 
getDeclaredMethod(String, CtClass[]) - Method in class xapi.bytecode.CtClassType
 
getDeclaredMethods() - Method in class xapi.bytecode.CtClass
Gets all methods declared in the class.
getDeclaredMethods() - Method in class xapi.bytecode.CtClassType
 
getDeclaringClass() - Method in class xapi.bytecode.attributes.CodeAttribute
Returns the name of the class declaring the method including this code attribute.
getDeclaringClass() - Method in class xapi.bytecode.attributes.SignatureAttribute.ClassType
If this class is a member of another class, returns the class in which this class is declared.
getDeclaringClass() - Method in class xapi.bytecode.attributes.SignatureAttribute.NestedClassType
Returns the class that declares this nested class.
getDeclaringClass() - Method in class xapi.bytecode.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 xapi.bytecode.CtClassType
 
getDeclaringClass() - Method in class xapi.bytecode.CtField
Returns the class declaring the field.
getDeclaringClass() - Method in class xapi.bytecode.CtMember
Returns the class that declares this member.
getDefault() - Static method in class xapi.bytecode.ClassPool
Returns the default class pool.
getDefaultValue() - Method in class xapi.bytecode.annotation.AnnotationDefaultAttribute
Obtains the default value represented by this attribute.
getDescriptor() - Method in class xapi.bytecode.attributes.SignatureAttribute.BaseType
Returns the descriptor representing this primitive type.
getDescriptor() - Method in class xapi.bytecode.CtPrimitiveType
Returns the descriptor representing this type.
getDescriptor() - Method in class xapi.bytecode.FieldInfo
Returns the field descriptor.
getDescriptor() - Method in class xapi.bytecode.MethodInfo
Returns a method descriptor.
getDimension() - Method in class xapi.bytecode.attributes.SignatureAttribute.ArrayType
Returns the dimension of the array.
getDoubleInfo(int) - Method in class xapi.bytecode.ConstPool
Reads CONSTANT_Double_info structure at the given index.
getEnclosedName() - Method in class xapi.bytecode.ClassFile
 
getEnclosedName() - Method in class xapi.bytecode.CtClass
 
getEnclosingMethod() - Method in class xapi.bytecode.CtClass
Returns the immediately enclosing method of this class.
getException(int) - Method in class xapi.bytecode.attributes.ExceptionsAttribute
Returns the value of exception_index_table[nth].
getExceptionIndexes() - Method in class xapi.bytecode.attributes.ExceptionsAttribute
Returns exception_index_table[].
getExceptions() - Method in class xapi.bytecode.attributes.ExceptionsAttribute
Returns the names of exceptions that the method may throw.
getExceptionsAttribute() - Method in class xapi.bytecode.MethodInfo
Returns an Exceptions attribute.
getExceptionTable() - Method in class xapi.bytecode.attributes.CodeAttribute
Returns exception_table[].
getExceptionTable() - Method in class xapi.bytecode.Bytecode
Returns exception_table.
getExceptionTypes() - Method in class xapi.bytecode.attributes.SignatureAttribute.MethodSignature
Returns the types of the exceptions that may be thrown.
getExceptionTypes() - Method in class xapi.bytecode.CtBehavior
Obtains exceptions that this method/constructor may throw.
GETFIELD - Static variable in interface xapi.bytecode.api.Opcode
 
getField(String) - Method in class xapi.bytecode.CtClass
Returns the field with the specified name.
getField(String) - Method in class xapi.bytecode.CtClassType
 
getField(String, String) - Method in class xapi.bytecode.CtClassType
 
getFieldInfo() - Method in class xapi.bytecode.CtField
Returns the FieldInfo representing the field in the class file.
getFieldInfo2() - Method in class xapi.bytecode.CtField
Returns the FieldInfo representing the field in the class file (read only).
getFieldrefClass(int) - Method in class xapi.bytecode.ConstPool
Reads the class_index field of the CONSTANT_Fieldref_info structure at the given index.
getFieldrefClassName(int) - Method in class xapi.bytecode.ConstPool
Reads the class_index field of the CONSTANT_Fieldref_info structure at the given index.
getFieldrefName(int) - Method in class xapi.bytecode.ConstPool
Reads the name_index field of the CONSTANT_NameAndType_info structure indirectly specified by the given index.
getFieldrefNameAndType(int) - Method in class xapi.bytecode.ConstPool
Reads the name_and_type_index field of the CONSTANT_Fieldref_info structure at the given index.
getFieldrefType(int) - Method in class xapi.bytecode.ConstPool
Reads the descriptor_index field of the CONSTANT_NameAndType_info structure indirectly specified by the given index.
getFields() - Method in class xapi.bytecode.ClassFile
Returns all the fields declared in the class.
getFields() - Method in class xapi.bytecode.CtClass
Returns an array containing CtField objects representing all the non-private fields of the class.
getFields() - Method in class xapi.bytecode.CtClassType
 
getFileName() - Method in class xapi.bytecode.attributes.SourceFileAttribute
Returns the file name indicated by sourcefile_index.
getFloatInfo(int) - Method in class xapi.bytecode.ConstPool
Reads CONSTANT_Float_info structure at the given index.
getGetMethodDescriptor() - Method in class xapi.bytecode.CtPrimitiveType
Returns the descriptor of the method for retrieving the value from the wrapper object.
getGetMethodName() - Method in class xapi.bytecode.CtPrimitiveType
Returns the name of the method for retrieving the value from the wrapper object.
getImportedPackages() - Method in class xapi.bytecode.ClassPool
Returns all the package names recorded by importPackage().
getInnerAccessFlags() - Method in class xapi.bytecode.ClassFile
Returns access and property flags of this nested class.
getIntegerInfo(int) - Method in class xapi.bytecode.ConstPool
Reads CONSTANT_Integer_info structure at the given index.
getInterfaceBound() - Method in class xapi.bytecode.attributes.SignatureAttribute.TypeParameter
Returns the interface bound of this parameter.
getInterfaceMethodrefClass(int) - Method in class xapi.bytecode.ConstPool
Reads the class_index field of the CONSTANT_InterfaceMethodref_info structure at the given index.
getInterfaceMethodrefClassName(int) - Method in class xapi.bytecode.ConstPool
Reads the class_index field of the CONSTANT_InterfaceMethodref_info structure at the given index.
getInterfaceMethodrefName(int) - Method in class xapi.bytecode.ConstPool
Reads the name_index field of the CONSTANT_NameAndType_info structure indirectly specified by the given index.
getInterfaceMethodrefNameAndType(int) - Method in class xapi.bytecode.ConstPool
Reads the name_and_type_index field of the CONSTANT_InterfaceMethodref_info structure at the given index.
getInterfaceMethodrefType(int) - Method in class xapi.bytecode.ConstPool
Reads the descriptor_index field of the CONSTANT_NameAndType_info structure indirectly specified by the given index.
getInterfaces() - Method in class xapi.bytecode.attributes.SignatureAttribute.ClassSignature
Returns the super interfaces.
getInterfaces() - Method in class xapi.bytecode.ClassFile
Returns the names of the interfaces implemented by the class.
getInterfaces() - Method in class xapi.bytecode.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 xapi.bytecode.CtClassType
 
getItem(int) - Method in class xapi.bytecode.ConstPool
 
getKind() - Method in class xapi.bytecode.attributes.SignatureAttribute.TypeArgument
Returns the kind of this type argument.
getLdcValue(int) - Method in class xapi.bytecode.ConstPool
Reads CONSTANT_Integer_info, _Float_info, _Long_info, _Double_info, or _String_info structure.
getLength(ArrayList<?>) - Static method in class xapi.bytecode.attributes.AttributeInfo
 
getLineNumber(int) - Method in class xapi.bytecode.MethodInfo
Returns the line number of the source line corresponding to the specified bytecode contained in this method.
getLongInfo(int) - Method in class xapi.bytecode.ConstPool
Reads CONSTANT_Long_info structure at the given index.
getLongName() - Method in class xapi.bytecode.CtBehavior
Returns the method or constructor name followed by parameter types such as javassist.CtBehavior.stBody(String).
getLongName() - Method in class xapi.bytecode.CtConstructor
Returns the constructor name followed by parameter types such as javassist.CtConstructor(CtClass[],CtClass).
getLongName() - Method in class xapi.bytecode.CtMethod
Returns the method name followed by parameter types such as javassist.CtMethod.setBody(String).
getMajorVersion() - Method in class xapi.bytecode.ClassFile
Get the Major version.
getMark() - Method in class xapi.bytecode.CodeIterator
Gets the index of the position of the mark set by setMark.
getMaxLocals() - Method in class xapi.bytecode.attributes.CodeAttribute
Returns max_locals.
getMaxLocals() - Method in class xapi.bytecode.Bytecode
Gets max_locals.
getMaxStack() - Method in class xapi.bytecode.attributes.CodeAttribute
Returns max_stack.
getMaxStack() - Method in class xapi.bytecode.Bytecode
Gets max_stack.
getMemberClass(int) - Method in class xapi.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 xapi.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 xapi.bytecode.annotation.Annotation
Obtains all the member names.
getMembers() - Method in class xapi.bytecode.CtClassType
 
getMemberValue(String) - Method in class xapi.bytecode.annotation.Annotation
Obtains the member value with the given name.
getMethod(String) - Method in class xapi.bytecode.ClassFile
Returns the method with the specified name.
getMethod(String, String) - Method in class xapi.bytecode.CtClass
Returns the method with the given name and signature.
getMethod(String, String) - Method in class xapi.bytecode.CtClassType
 
getMethodInfo() - Method in class xapi.bytecode.CtBehavior
Returns the MethodInfo representing this method/constructor in the class file.
getMethodInfo2() - Method in class xapi.bytecode.CtBehavior
Returns the MethodInfo representing the method/constructor in the class file (read only).
getMethodrefClass(int) - Method in class xapi.bytecode.ConstPool
Reads the class_index field of the CONSTANT_Methodref_info structure at the given index.
getMethodrefClassName(int) - Method in class xapi.bytecode.ConstPool
Reads the class_index field of the CONSTANT_Methodref_info structure at the given index.
getMethodrefName(int) - Method in class xapi.bytecode.ConstPool
Reads the name_index field of the CONSTANT_NameAndType_info structure indirectly specified by the given index.
getMethodrefNameAndType(int) - Method in class xapi.bytecode.ConstPool
Reads the name_and_type_index field of the CONSTANT_Methodref_info structure at the given index.
getMethodrefType(int) - Method in class xapi.bytecode.ConstPool
Reads the descriptor_index field of the CONSTANT_NameAndType_info structure indirectly specified by the given index.
getMethods() - Method in class xapi.bytecode.ClassFile
Returns all the methods declared in the class.
getMethods() - Method in class xapi.bytecode.CtClass
Returns an array containing CtMethod objects representing all the non-private methods of the class.
getMethods() - Method in class xapi.bytecode.CtClassType
 
getMinorVersion() - Method in class xapi.bytecode.ClassFile
Get the minor version.
getModifiers() - Method in class xapi.bytecode.CtBehavior
Obtains the modifiers of the method/constructor.
getModifiers() - Method in class xapi.bytecode.CtClass
Returns the modifiers for this class, encoded in an integer.
getModifiers() - Method in class xapi.bytecode.CtClassType
 
getModifiers() - Method in class xapi.bytecode.CtField
Returns the encoded modifiers of the field.
getModifiers() - Method in class xapi.bytecode.CtMember
Obtains the modifiers of the member.
getModifiers() - Method in class xapi.bytecode.CtPrimitiveType
Returns the modifiers for this type.
getName() - Method in class xapi.bytecode.attributes.AttributeInfo
Returns an attribute name.
getName() - Method in class xapi.bytecode.attributes.SignatureAttribute.ClassType
Returns the class name.
getName() - Method in class xapi.bytecode.attributes.SignatureAttribute.TypeParameter
Returns the name of the type parameter.
getName() - Method in class xapi.bytecode.attributes.SignatureAttribute.TypeVariable
Returns the variable name.
getName() - Method in class xapi.bytecode.ClassFile
Returns the class name.
getName() - Method in class xapi.bytecode.CtClass
Obtains the fully-qualified name of the class.
getName() - Method in class xapi.bytecode.CtConstructor
Obtains the name of this constructor.
getName() - Method in class xapi.bytecode.CtField
Returns the name of the field.
getName() - Method in class xapi.bytecode.CtMember
Obtains the name of the member.
getName() - Method in class xapi.bytecode.CtMethod
Obtains the name of this method.
getName() - Method in class xapi.bytecode.FieldInfo
Returns the field name.
getName() - Method in class xapi.bytecode.MethodInfo
Returns a method name.
getNameAndTypeDescriptor(int) - Method in class xapi.bytecode.ConstPool
Reads the descriptor_index field of the CONSTANT_NameAndType_info structure at the given index.
getNameAndTypeName(int) - Method in class xapi.bytecode.ConstPool
Reads the name_index field of the CONSTANT_NameAndType_info structure at the given index.
getNestedClasses() - Method in class xapi.bytecode.CtClass
Returns an array of nested classes declared in the class.
getNestedClasses() - Method in class xapi.bytecode.CtClassType
 
getOrNull(String) - Method in class xapi.bytecode.ClassPool
Reads a class file from the source and returns a reference to the CtClass object representing that class file.
getPackage() - Method in class xapi.bytecode.ClassFile
 
getPackageName() - Method in class xapi.bytecode.CtClass
Obtains the package name.
getParamDescriptor(String) - Static method in class xapi.bytecode.Descriptor
Returns the signature of the given descriptor.
getParameterAnnotations() - Method in class xapi.bytecode.CtBehavior
Returns the parameter annotations associated with this method or constructor.
getParameters() - Method in class xapi.bytecode.attributes.SignatureAttribute.ClassSignature
Returns the type parameters.
getParameterTypeNames(String) - Static method in class xapi.bytecode.Descriptor
 
getParameterTypes() - Method in class xapi.bytecode.attributes.SignatureAttribute.MethodSignature
Returns the types of the formal parameters.
getParameterTypes() - Method in class xapi.bytecode.CtBehavior
Obtains parameter types of this method/constructor.
getParameterTypes(String, ClassPool) - Static method in class xapi.bytecode.Descriptor
Returns the CtClass objects representing the parameter types specified by the given descriptor.
getQualifiedName() - Method in class xapi.bytecode.ClassFile
 
getReason() - Method in exception xapi.bytecode.CannotCompileException
Gets a long message if it is available.
getRefClasses() - Method in class xapi.bytecode.CtClass
Returns a collection of the names of all the classes referenced in this class.
getResourceName() - Method in class xapi.bytecode.ClassFile
 
getReturnOp() - Method in class xapi.bytecode.CtPrimitiveType
Returns the opcode for returning a value of the type.
getReturnType() - Method in class xapi.bytecode.attributes.SignatureAttribute.MethodSignature
Returns the type of the returned value.
getReturnType() - Method in class xapi.bytecode.CtMethod
Obtains the type of the returned value.
getReturnType(String, ClassPool) - Static method in class xapi.bytecode.Descriptor
Returns the CtClass object representing the return type specified by the given descriptor.
getRuntimeAnnotation(String) - Method in class xapi.bytecode.ClassFile
This method returns any runtime annotations on the given classfile.
getScanUrls() - Method in class xapi.bytecode.impl.BytecodeAdapterService
 
getSignature() - Method in class xapi.bytecode.attributes.SignatureAttribute
Returns the signature indicated by signature_index.
getSignature() - Method in class xapi.bytecode.CtBehavior
Returns the method signature (the parameter types and the return type).
getSignature() - Method in class xapi.bytecode.CtField
Returns the character string representing the type of the field.
getSignature() - Method in class xapi.bytecode.CtMember
Returns the character string representing the signature of the member.
getSignature() - Method in class xapi.bytecode.FieldInfo
 
getSignature() - Method in class xapi.bytecode.MemberInfo
 
getSignature() - Method in class xapi.bytecode.MethodInfo
 
getSimpleName() - Method in class xapi.bytecode.ClassFile
 
getSimpleName() - Method in class xapi.bytecode.CtClass
Obtains the not-qualified class name.
getSize() - Method in class xapi.bytecode.ConstPool
Returns the number of entries in this table.
getSourceFile() - Method in class xapi.bytecode.ClassFile
Returns the source file containing this class.
getStackDepth() - Method in class xapi.bytecode.Bytecode
Returns the current stack depth.
GETSTATIC - Static variable in interface xapi.bytecode.api.Opcode
 
getStringInfo(int) - Method in class xapi.bytecode.ConstPool
Reads CONSTANT_String_info structure at the given index.
getSuperClass() - Method in class xapi.bytecode.attributes.SignatureAttribute.ClassSignature
Returns the super class.
getSuperclass() - Method in class xapi.bytecode.ClassFile
Returns the super class name.
getSuperclass() - Method in class xapi.bytecode.CtClass
Obtains the class object representing the superclass of the class.
getSuperclass() - Method in class xapi.bytecode.CtClassType
 
getSuperclassId() - Method in class xapi.bytecode.ClassFile
Returns the index of the constant pool entry representing the super class.
getTag() - Method in class xapi.bytecode.ClassInfo
 
getTag() - Method in class xapi.bytecode.ConstInfo
 
getTag() - Method in class xapi.bytecode.ConstInfoPadding
 
getTag(int) - Method in class xapi.bytecode.ConstPool
Returns the tag field of the constant pool table entry at the given index.
getTag() - Method in class xapi.bytecode.DoubleInfo
 
getTag() - Method in class xapi.bytecode.FieldrefInfo
 
getTag() - Method in class xapi.bytecode.FloatInfo
 
getTag() - Method in class xapi.bytecode.IntegerInfo
 
getTag() - Method in class xapi.bytecode.InterfaceMethodrefInfo
 
getTag() - Method in class xapi.bytecode.LongInfo
 
getTag() - Method in class xapi.bytecode.MethodrefInfo
 
getTag() - Method in class xapi.bytecode.StringInfo
 
getTag() - Method in class xapi.bytecode.Utf8Info
 
getTagName() - Method in class xapi.bytecode.FieldrefInfo
 
getTagName() - Method in class xapi.bytecode.InterfaceMethodrefInfo
 
getTagName() - Method in class xapi.bytecode.MemberrefInfo
 
getTagName() - Method in class xapi.bytecode.MethodrefInfo
 
getThisClassIndex() - Method in class xapi.bytecode.ClassFile
 
getThisClassInfo() - Method in class xapi.bytecode.ConstPool
Returns the index of CONSTANT_Class_info structure specifying the class using this constant pool table.
getType(ClassLoader) - Method in class xapi.bytecode.annotation.AnnotationMemberValue
 
getType(ClassLoader) - Method in class xapi.bytecode.annotation.ArrayMemberValue
 
getType() - Method in class xapi.bytecode.annotation.ArrayMemberValue
Obtains the type of the elements.
getType(ClassLoader) - Method in class xapi.bytecode.annotation.BooleanMemberValue
 
getType(ClassLoader) - Method in class xapi.bytecode.annotation.ByteMemberValue
 
getType(ClassLoader) - Method in class xapi.bytecode.annotation.CharMemberValue
 
getType(ClassLoader) - Method in class xapi.bytecode.annotation.ClassMemberValue
 
getType(ClassLoader) - Method in class xapi.bytecode.annotation.DoubleMemberValue
 
getType(ClassLoader) - Method in class xapi.bytecode.annotation.EnumMemberValue
 
getType() - Method in class xapi.bytecode.annotation.EnumMemberValue
Obtains the enum type name.
getType(ClassLoader) - Method in class xapi.bytecode.annotation.FloatMemberValue
 
getType(ClassLoader) - Method in class xapi.bytecode.annotation.IntegerMemberValue
 
getType(ClassLoader) - Method in class xapi.bytecode.annotation.LongMemberValue
 
getType(ClassLoader) - Method in class xapi.bytecode.annotation.MemberValue
 
getType(ClassLoader) - Method in class xapi.bytecode.annotation.ShortMemberValue
 
getType(ClassLoader) - Method in class xapi.bytecode.annotation.StringMemberValue
 
getType() - Method in class xapi.bytecode.attributes.SignatureAttribute.TypeArgument
Returns the type represented by this argument if the argument is not a wildcard type.
getType() - Method in class xapi.bytecode.CtField
Returns the type of the field.
getTypeArguments() - Method in class xapi.bytecode.attributes.SignatureAttribute.ClassType
Returns the type arguments.
getTypeName() - Method in class xapi.bytecode.annotation.Annotation
Obtains the name of the annotation type.
getTypeName() - Method in class xapi.bytecode.annotation.AnnotationImpl
Obtains the name of the annotation type.
getTypeParameters() - Method in class xapi.bytecode.attributes.SignatureAttribute.MethodSignature
Returns the formal type parameters.
getURL() - Method in class xapi.bytecode.CtClass
Returns the uniform resource locator (URL) of the class file.
getURL() - Method in class xapi.bytecode.CtClassType
 
getUtf8Info(int) - Method in class xapi.bytecode.ConstPool
Reads CONSTANT_utf8_info structure at the given index.
getValue() - Method in class xapi.bytecode.annotation.AnnotationMemberValue
Obtains the value.
getValue() - Method in class xapi.bytecode.annotation.ArrayMemberValue
Obtains the elements of the array.
getValue() - Method in class xapi.bytecode.annotation.BooleanMemberValue
Obtains the value of the member.
getValue() - Method in class xapi.bytecode.annotation.ByteMemberValue
Obtains the value of the member.
getValue() - Method in class xapi.bytecode.annotation.CharMemberValue
Obtains the value of the member.
getValue() - Method in class xapi.bytecode.annotation.ClassMemberValue
Obtains the value of the member.
getValue() - Method in class xapi.bytecode.annotation.DoubleMemberValue
Obtains the value of the member.
getValue() - Method in class xapi.bytecode.annotation.EnumMemberValue
Obtains the name of the enum constant value.
getValue() - Method in class xapi.bytecode.annotation.FloatMemberValue
Obtains the value of the member.
getValue() - Method in class xapi.bytecode.annotation.IntegerMemberValue
Obtains the value of the member.
getValue() - Method in class xapi.bytecode.annotation.LongMemberValue
Obtains the value of the member.
getValue() - Method in class xapi.bytecode.annotation.ShortMemberValue
Obtains the value of the member.
getValue() - Method in class xapi.bytecode.annotation.StringMemberValue
Obtains the value of the member.
getWrapperName() - Method in class xapi.bytecode.CtPrimitiveType
Returns the name of the wrapper class.
GOTO - Static variable in interface xapi.bytecode.api.Opcode
 
GOTO_W - Static variable in interface xapi.bytecode.api.Opcode
 
growStack(int) - Method in class xapi.bytecode.Bytecode
Increases the current stack depth.

H

handlerPc(int) - Method in class xapi.bytecode.attributes.ExceptionTable
Returns handlerPc of the n-th entry.
hasAnnotation(Class<?>) - Method in class xapi.bytecode.ClassFile
 
hasAnnotation(Class<?>) - Method in class xapi.bytecode.CtBehavior
Returns true if the class has the specified annotation class.
hasAnnotation(Class<?>) - Method in class xapi.bytecode.CtClass
Returns true if the class has the specified annotation class.
hasAnnotation(Class<?>) - Method in class xapi.bytecode.CtClassType
 
hasAnnotation(Class<?>) - Method in class xapi.bytecode.CtField
Returns true if the class has the specified annotation class.
hasAnnotation(Class<?>) - Method in class xapi.bytecode.CtMember
Returns true if the class has the specified annotation class.
hasAnnotation(String) - Method in class xapi.bytecode.MemberInfo
 
HasAnnotationMatcher(Class<? extends Annotation>...) - Constructor for class xapi.bytecode.ClassFileMatchers.HasAnnotationMatcher
 
HasAnnotationMatcher(String...) - Constructor for class xapi.bytecode.ClassFileMatchers.HasAnnotationMatcher
 
hashCode() - Method in class xapi.bytecode.annotation.AnnotationImpl
Returns a hash code value for this object.
hashCode() - Method in class xapi.bytecode.ClassFile
 
hashCode() - Method in class xapi.bytecode.CtMethod
Returns a hash code value for the method.
hashCode() - Method in class xapi.bytecode.MemberInfo
 
hasMemberCache() - Method in class xapi.bytecode.CtClassType
Returns null if members are not cached.
hasNext() - Method in class xapi.bytecode.CodeIterator
Returns true if there is more instructions.
hasNext() - Method in class xapi.bytecode.Descriptor.Iterator
Returns true if the iteration has more elements.
hasSuperClass(String) - Method in class xapi.bytecode.ClassFile
 

I

I2B - Static variable in interface xapi.bytecode.api.Opcode
 
I2C - Static variable in interface xapi.bytecode.api.Opcode
 
I2D - Static variable in interface xapi.bytecode.api.Opcode
 
I2F - Static variable in interface xapi.bytecode.api.Opcode
 
I2L - Static variable in interface xapi.bytecode.api.Opcode
 
I2S - Static variable in interface xapi.bytecode.api.Opcode
 
IADD - Static variable in interface xapi.bytecode.api.Opcode
 
IALOAD - Static variable in interface xapi.bytecode.api.Opcode
 
IAND - Static variable in interface xapi.bytecode.api.Opcode
 
IASTORE - Static variable in interface xapi.bytecode.api.Opcode
 
ICONST_0 - Static variable in interface xapi.bytecode.api.Opcode
 
ICONST_1 - Static variable in interface xapi.bytecode.api.Opcode
 
ICONST_2 - Static variable in interface xapi.bytecode.api.Opcode
 
ICONST_3 - Static variable in interface xapi.bytecode.api.Opcode
 
ICONST_4 - Static variable in interface xapi.bytecode.api.Opcode
 
ICONST_5 - Static variable in interface xapi.bytecode.api.Opcode
 
ICONST_M1 - Static variable in interface xapi.bytecode.api.Opcode
 
IDIV - Static variable in interface xapi.bytecode.api.Opcode
 
IF_ACMPEQ - Static variable in interface xapi.bytecode.api.Opcode
 
IF_ACMPNE - Static variable in interface xapi.bytecode.api.Opcode
 
IF_ICMPEQ - Static variable in interface xapi.bytecode.api.Opcode
 
IF_ICMPGE - Static variable in interface xapi.bytecode.api.Opcode
 
IF_ICMPGT - Static variable in interface xapi.bytecode.api.Opcode
 
IF_ICMPLE - Static variable in interface xapi.bytecode.api.Opcode
 
IF_ICMPLT - Static variable in interface xapi.bytecode.api.Opcode
 
IF_ICMPNE - Static variable in interface xapi.bytecode.api.Opcode
 
IFEQ - Static variable in interface xapi.bytecode.api.Opcode
 
IFGE - Static variable in interface xapi.bytecode.api.Opcode
 
IFGT - Static variable in interface xapi.bytecode.api.Opcode
 
IFLE - Static variable in interface xapi.bytecode.api.Opcode
 
IFLT - Static variable in interface xapi.bytecode.api.Opcode
 
IFNE - Static variable in interface xapi.bytecode.api.Opcode
 
IFNONNULL - Static variable in interface xapi.bytecode.api.Opcode
 
IFNULL - Static variable in interface xapi.bytecode.api.Opcode
 
IINC - Static variable in interface xapi.bytecode.api.Opcode
 
ILOAD - Static variable in interface xapi.bytecode.api.Opcode
 
ILOAD_0 - Static variable in interface xapi.bytecode.api.Opcode
 
ILOAD_1 - Static variable in interface xapi.bytecode.api.Opcode
 
ILOAD_2 - Static variable in interface xapi.bytecode.api.Opcode
 
ILOAD_3 - Static variable in interface xapi.bytecode.api.Opcode
 
importPackage(String) - Method in class xapi.bytecode.ClassPool
Record a package name so that the Javassist compiler searches the package to resolve a class name.
IMUL - Static variable in interface xapi.bytecode.api.Opcode
 
incMaxLocals(int) - Method in class xapi.bytecode.Bytecode
Increments max_locals.
index - Variable in class xapi.bytecode.attributes.CodeAttribute.LdcEntry
 
index - Variable in class xapi.bytecode.attributes.LineNumberAttribute.Pc
The index into the code array.
index(int) - Method in class xapi.bytecode.attributes.LocalVariableAttribute
Returns local_variable_table[i].index.
INEG - Static variable in interface xapi.bytecode.api.Opcode
 
info - Variable in class xapi.bytecode.attributes.AttributeInfo
 
initCause(Throwable) - Method in exception xapi.bytecode.CannotCompileException
Initializes the cause of this throwable.
innerClass(int) - Method in class xapi.bytecode.attributes.InnerClassesAttribute
Returns the class name indicated by classes[nth].inner_class_info_index.
InnerClassesAttribute - Class in xapi.bytecode.attributes
 
InnerClassesAttribute(ConstPool) - Constructor for class xapi.bytecode.attributes.InnerClassesAttribute
Constructs an empty InnerClasses attribute.
innerClassIndex(int) - Method in class xapi.bytecode.attributes.InnerClassesAttribute
Returns classes[nth].inner_class_info_index.
innerName(int) - Method in class xapi.bytecode.attributes.InnerClassesAttribute
Returns the simple class name indicated by classes[nth].inner_name_index.
innerNameIndex(int) - Method in class xapi.bytecode.attributes.InnerClassesAttribute
Returns classes[nth].inner_name_index.
insert(byte[]) - Method in class xapi.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 xapi.bytecode.CodeIterator
Inserts the given bytecode sequence before the instruction at the given index pos.
insert(ExceptionTable, int) - Method in class xapi.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.
insertAt(int, byte[]) - Method in class xapi.bytecode.CodeIterator
Inserts the given bytecode sequence before the instruction at the given index pos.
insertClassPath(ClassPath) - Method in class xapi.bytecode.ClassPool
Insert a ClassPath object at the head of the search path.
insertClassPath(String) - Method in class xapi.bytecode.ClassPool
Inserts a directory or a jar (or zip) file at the head of the search path.
insertEx(byte[]) - Method in class xapi.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 xapi.bytecode.CodeIterator
Inserts the given bytecode sequence exclusively before the instruction at the given index pos.
insertExAt(int, byte[]) - Method in class xapi.bytecode.CodeIterator
Inserts the given bytecode sequence exclusively before the instruction at the given index pos.
insertExGap(int) - Method in class xapi.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 xapi.bytecode.CodeIterator
Inserts an exclusive gap in front of the instruction at the given index pos.
insertGap(int) - Method in class xapi.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 xapi.bytecode.CodeIterator
Inserts a gap in front of the instruction at the given index pos.
insertGapAt(int, int, boolean) - Method in class xapi.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 xapi.bytecode.attributes.StackMap
Updates this stack map table when a new local variable is inserted for a new parameter.
insertLocal(int, int, int) - Method in class xapi.bytecode.attributes.StackMapTable
Updates this stack map table when a new local variable is inserted for a new parameter.
insertLocalVar(int, int) - Method in class xapi.bytecode.attributes.CodeAttribute
Changes the index numbers of the local variables to append a new parameter.
insertParameter(CtClass) - Method in class xapi.bytecode.CtBehavior
Inserts a new parameter, which becomes the first parameter.
insertParameter(String, String) - Static method in class xapi.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 xapi.bytecode.Descriptor
Inserts a parameter type at the beginning of the parameter list represented by the given descriptor.
INSTANCEOF - Static variable in interface xapi.bytecode.api.Opcode
 
INTEGER - Static variable in class xapi.bytecode.attributes.StackMap
Integer_variable_info.tag.
INTEGER - Static variable in class xapi.bytecode.attributes.StackMapTable
Integer_variable_info.tag.
integer(int) - Static method in class xapi.bytecode.CtMethod.ConstParameter
Makes an integer constant.
integer(long) - Static method in class xapi.bytecode.CtMethod.ConstParameter
Makes a long integer constant.
IntegerInfo - Class in xapi.bytecode
 
IntegerInfo(int) - Constructor for class xapi.bytecode.IntegerInfo
 
IntegerInfo(DataInput) - Constructor for class xapi.bytecode.IntegerInfo
 
IntegerMemberValue - Class in xapi.bytecode.annotation
 
IntegerMemberValue(int, ConstPool) - Constructor for class xapi.bytecode.annotation.IntegerMemberValue
Constructs an int constant value.
IntegerMemberValue(ConstPool, int) - Constructor for class xapi.bytecode.annotation.IntegerMemberValue
Constructs an int constant value.
IntegerMemberValue(ConstPool) - Constructor for class xapi.bytecode.annotation.IntegerMemberValue
Constructs an int constant value.
InterfaceMethodrefInfo - Class in xapi.bytecode
 
InterfaceMethodrefInfo(int, int) - Constructor for class xapi.bytecode.InterfaceMethodrefInfo
 
InterfaceMethodrefInfo(DataInput) - Constructor for class xapi.bytecode.InterfaceMethodrefInfo
 
intType - Static variable in class xapi.bytecode.CtClass
The CtClass object representing the int type.
invisibleTag - Static variable in class xapi.bytecode.annotation.AnnotationsAttribute
The name of the RuntimeInvisibleAnnotations attribute.
invisibleTag - Static variable in class xapi.bytecode.attributes.ParameterAnnotationsAttribute
The name of the RuntimeInvisibleParameterAnnotations attribute.
invoke(Object, Method, Object[]) - Method in class xapi.bytecode.annotation.AnnotationImpl
Executes a method invocation on a proxy instance.
INVOKEINTERFACE - Static variable in interface xapi.bytecode.api.Opcode
 
INVOKESPECIAL - Static variable in interface xapi.bytecode.api.Opcode
 
INVOKESTATIC - Static variable in interface xapi.bytecode.api.Opcode
 
INVOKEVIRTUAL - Static variable in interface xapi.bytecode.api.Opcode
 
IOR - Static variable in interface xapi.bytecode.api.Opcode
 
IREM - Static variable in interface xapi.bytecode.api.Opcode
 
IRETURN - Static variable in interface xapi.bytecode.api.Opcode
 
is2byte() - Method in class xapi.bytecode.Descriptor.Iterator
Returns true if the current element is double or long type.
isAbstract() - Method in class xapi.bytecode.ClassFile
Returns true if this is an abstract class or an interface.
isAnnotation() - Method in class xapi.bytecode.CtClass
Determines whether this object represents an annotation type.
isAnnotation() - Method in class xapi.bytecode.CtClassType
 
isArray() - Method in class xapi.bytecode.CtClass
Returns true if this object represents an array type.
IsByteCode - Interface in xapi.bytecode.api
 
isClass(String, String) - Method in class xapi.bytecode.ClassFile
 
isClassInitializer() - Method in class xapi.bytecode.CtConstructor
Returns true if this object represents a static initializer.
isConstructor(String, int) - Method in class xapi.bytecode.ConstPool
Determines whether CONSTANT_Methodref_info structure at the given index represents the constructor of the given class.
isConstructor() - Method in class xapi.bytecode.CtConstructor
Returns true if this object represents a constructor.
isConstructor() - Method in class xapi.bytecode.MethodInfo
Returns true if this is a constructor.
isEmpty() - Method in class xapi.bytecode.CtBehavior
Returns true if the body is empty.
isEmpty() - Method in class xapi.bytecode.CtConstructor
Returns true if the constructor (or static initializer) is the default one.
isEmpty() - Method in class xapi.bytecode.CtMethod
Returns true if the method body is empty, that is, {}.
isEnum() - Method in class xapi.bytecode.CtClass
Determines whether this object represents an enum.
isEnum() - Method in class xapi.bytecode.CtClassType
 
isFinal() - Method in class xapi.bytecode.ClassFile
Returns true if this is a final class or interface.
isFrozen() - Method in class xapi.bytecode.CtClass
Returns true if the class has been loaded or written out and thus it cannot be modified any more.
ISHL - Static variable in interface xapi.bytecode.api.Opcode
 
ISHR - Static variable in interface xapi.bytecode.api.Opcode
 
isInterface() - Method in class xapi.bytecode.ClassFile
Returns true if this is an interface.
isInterface() - Method in class xapi.bytecode.CtClass
Determines whether this object represents a class or an interface.
isInterface() - Method in class xapi.bytecode.CtClassType
 
isMember(String, String, int) - Method in class xapi.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 xapi.bytecode.MethodInfo
Returns true if this is not a constructor or a class initializer (static initializer).
isModified() - Method in class xapi.bytecode.CtClass
Returns true if the definition of the class has been modified.
isModified() - Method in class xapi.bytecode.CtClassType
 
isParameter() - Method in class xapi.bytecode.Descriptor.Iterator
Returns true if the current element is a parameter type.
isPrimitive() - Method in class xapi.bytecode.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 xapi.bytecode.CtPrimitiveType
Returns true if this object represents a primitive Java type: boolean, byte, char, short, int, long, float, double, or void.
isStaticInitializer() - Method in class xapi.bytecode.MethodInfo
Returns true if this is a class initializer (static initializer).
ISTORE - Static variable in interface xapi.bytecode.api.Opcode
 
ISTORE_0 - Static variable in interface xapi.bytecode.api.Opcode
 
ISTORE_1 - Static variable in interface xapi.bytecode.api.Opcode
 
ISTORE_2 - Static variable in interface xapi.bytecode.api.Opcode
 
ISTORE_3 - Static variable in interface xapi.bytecode.api.Opcode
 
ISUB - Static variable in interface xapi.bytecode.api.Opcode
 
isWildcard() - Method in class xapi.bytecode.attributes.SignatureAttribute.TypeArgument
Returns true if this type argument is a wildcard type such as ?, ? extends String, or ? super Integer.
iterator() - Method in class xapi.bytecode.attributes.CodeAttribute
Makes a new iterator for reading this code attribute.
Iterator(String) - Constructor for class xapi.bytecode.Descriptor.Iterator
Constructs an iterator.
IUSHR - Static variable in interface xapi.bytecode.api.Opcode
 
IXOR - Static variable in interface xapi.bytecode.api.Opcode
 

J

JAVA_1 - Static variable in class xapi.bytecode.ClassFile
The major version number of class files for JDK 1.1.
JAVA_2 - Static variable in class xapi.bytecode.ClassFile
The major version number of class files for JDK 1.2.
JAVA_3 - Static variable in class xapi.bytecode.ClassFile
The major version number of class files for JDK 1.3.
JAVA_4 - Static variable in class xapi.bytecode.ClassFile
The major version number of class files for JDK 1.4.
JAVA_5 - Static variable in class xapi.bytecode.ClassFile
The major version number of class files for JDK 1.5.
JAVA_6 - Static variable in class xapi.bytecode.ClassFile
The major version number of class files for JDK 1.6.
JAVA_7 - Static variable in class xapi.bytecode.ClassFile
The major version number of class files for JDK 1.7.
JSR - Static variable in interface xapi.bytecode.api.Opcode
 
JSR_W - Static variable in interface xapi.bytecode.api.Opcode
 

L

L2D - Static variable in interface xapi.bytecode.api.Opcode
 
L2F - Static variable in interface xapi.bytecode.api.Opcode
 
L2I - Static variable in interface xapi.bytecode.api.Opcode
 
LADD - Static variable in interface xapi.bytecode.api.Opcode
 
LALOAD - Static variable in interface xapi.bytecode.api.Opcode
 
LAND - Static variable in interface xapi.bytecode.api.Opcode
 
LASTORE - Static variable in interface xapi.bytecode.api.Opcode
 
LCMP - Static variable in interface xapi.bytecode.api.Opcode
 
LCONST_0 - Static variable in interface xapi.bytecode.api.Opcode
 
LCONST_1 - Static variable in interface xapi.bytecode.api.Opcode
 
LDC - Static variable in interface xapi.bytecode.api.Opcode
 
LDC2_W - Static variable in interface xapi.bytecode.api.Opcode
 
LDC_W - Static variable in interface xapi.bytecode.api.Opcode
 
LdcEntry() - Constructor for class xapi.bytecode.attributes.CodeAttribute.LdcEntry
 
LDIV - Static variable in interface xapi.bytecode.api.Opcode
 
length() - Method in class xapi.bytecode.attributes.AttributeInfo
Returns the length of this attribute_info structure.
length() - Method in class xapi.bytecode.attributes.CodeAttribute
Returns the length of this attribute_info structure.
length() - Method in class xapi.bytecode.Bytecode
Returns the length of the bytecode sequence.
length - Variable in class xapi.bytecode.CodeIterator.Gap
The length of the gap.
line - Variable in class xapi.bytecode.attributes.LineNumberAttribute.Pc
The line number.
lineNumber(int) - Method in class xapi.bytecode.attributes.LineNumberAttribute
Returns line_number_table[i].line_number.
LineNumberAttribute - Class in xapi.bytecode.attributes
 
LineNumberAttribute.Pc - Class in xapi.bytecode.attributes
Used as a return type of toNearPc().
LLOAD - Static variable in interface xapi.bytecode.api.Opcode
 
LLOAD_0 - Static variable in interface xapi.bytecode.api.Opcode
 
LLOAD_1 - Static variable in interface xapi.bytecode.api.Opcode
 
LLOAD_2 - Static variable in interface xapi.bytecode.api.Opcode
 
LLOAD_3 - Static variable in interface xapi.bytecode.api.Opcode
 
LMUL - Static variable in interface xapi.bytecode.api.Opcode
 
LNEG - Static variable in interface xapi.bytecode.api.Opcode
 
locals(int, int, int) - Method in class xapi.bytecode.attributes.StackMap.Walker
Invoked when locals of stack_map_frame is visited.
LocalVariableAttribute - Class in xapi.bytecode.attributes
 
LocalVariableAttribute(ConstPool) - Constructor for class xapi.bytecode.attributes.LocalVariableAttribute
Constructs an empty LocalVariableTable.
LocalVariableAttribute(ConstPool, String) - Constructor for class xapi.bytecode.attributes.LocalVariableAttribute
Deprecated. 
LONG - Static variable in class xapi.bytecode.attributes.StackMap
Long_variable_info.tag.
LONG - Static variable in class xapi.bytecode.attributes.StackMapTable
Long_variable_info.tag.
LongInfo - Class in xapi.bytecode
 
LongInfo(long) - Constructor for class xapi.bytecode.LongInfo
 
LongInfo(DataInput) - Constructor for class xapi.bytecode.LongInfo
 
LongMemberValue - Class in xapi.bytecode.annotation
 
LongMemberValue(int, ConstPool) - Constructor for class xapi.bytecode.annotation.LongMemberValue
Constructs a long constant value.
LongMemberValue(long, ConstPool) - Constructor for class xapi.bytecode.annotation.LongMemberValue
Constructs a long constant value.
LongMemberValue(ConstPool) - Constructor for class xapi.bytecode.annotation.LongMemberValue
Constructs a long constant value.
longType - Static variable in class xapi.bytecode.CtClass
The CtClass object representing the long type.
lookAhead() - Method in class xapi.bytecode.CodeIterator
Obtains the value that the next call to next() will return.
lookup(ArrayList<?>, String) - Static method in class xapi.bytecode.attributes.AttributeInfo
 
LOOKUPSWITCH - Static variable in interface xapi.bytecode.api.Opcode
 
LOR - Static variable in interface xapi.bytecode.api.Opcode
 
LREM - Static variable in interface xapi.bytecode.api.Opcode
 
LRETURN - Static variable in interface xapi.bytecode.api.Opcode
 
LSHL - Static variable in interface xapi.bytecode.api.Opcode
 
LSHR - Static variable in interface xapi.bytecode.api.Opcode
 
LSTORE - Static variable in interface xapi.bytecode.api.Opcode
 
LSTORE_0 - Static variable in interface xapi.bytecode.api.Opcode
 
LSTORE_1 - Static variable in interface xapi.bytecode.api.Opcode
 
LSTORE_2 - Static variable in interface xapi.bytecode.api.Opcode
 
LSTORE_3 - Static variable in interface xapi.bytecode.api.Opcode
 
LSUB - Static variable in interface xapi.bytecode.api.Opcode
 
LUSHR - Static variable in interface xapi.bytecode.api.Opcode
 
LXOR - Static variable in interface xapi.bytecode.api.Opcode
 

M

main(String[]) - Static method in class xapi.bytecode.CtClass
Prints the version number and the copyright notice.
MAJOR_VERSION - Static variable in class xapi.bytecode.ClassFile
The major version number of class files created from scratch.
make(ClassLoader, Class<?>, ClassPool, Annotation) - Static method in class xapi.bytecode.annotation.AnnotationImpl
Constructs an annotation object.
make(MethodInfo, CtClass) - Static method in class xapi.bytecode.CtMethod
Creates a method from a MethodInfo object.
make(CtClass[], CtClass[], String, CtClass) - Static method in class xapi.bytecode.CtNewConstructor
Creates a public constructor.
makeClass(InputStream) - Method in class xapi.bytecode.ClassPool
Creates a new class (or interface) from the given class file.
makeClass(InputStream, boolean) - Method in class xapi.bytecode.ClassPool
Creates a new class (or interface) from the given class file.
makeClass(String) - Method in class xapi.bytecode.ClassPool
Creates a new public class.
makeClass(String, CtClass) - Method in class xapi.bytecode.ClassPool
Creates a new public class.
makeClassIfNew(InputStream) - Method in class xapi.bytecode.ClassPool
Creates a new class (or interface) from the given class file.
makeClassInitializer() - Method in class xapi.bytecode.CtClass
Makes an empty class initializer (static constructor).
makeInterface(String) - Method in class xapi.bytecode.ClassPool
Creates a new public interface.
makeInterface(String, CtClass) - Method in class xapi.bytecode.ClassPool
Creates a new public interface.
makeNestedClass(String, boolean) - Method in class xapi.bytecode.CtClass
Makes a new public nested class.
makeNestedClass(String, boolean) - Method in class xapi.bytecode.CtClassType
 
makeUniqueName(String) - Method in class xapi.bytecode.CtClass
Makes a unique member name.
makeUniqueName(String) - Method in class xapi.bytecode.CtClassType
 
mark - Variable in class xapi.bytecode.CodeIterator
 
matches(ClassFile) - Method in class xapi.bytecode.ClassFileMatchers.HasAnnotationMatcher
 
MemberInfo - Class in xapi.bytecode
 
MemberInfo() - Constructor for class xapi.bytecode.MemberInfo
 
MemberrefInfo - Class in xapi.bytecode
 
MemberrefInfo(int, int) - Constructor for class xapi.bytecode.MemberrefInfo
 
MemberrefInfo(DataInput) - Constructor for class xapi.bytecode.MemberrefInfo
 
MemberValue - Class in xapi.bytecode.annotation
 
memberValuePair(String) - Method in class xapi.bytecode.annotation.AnnotationsWriter
Writes an element of a member_value_pairs array in annotation.
memberValuePair(int) - Method in class xapi.bytecode.annotation.AnnotationsWriter
Writes an element of a member_value_pairs array in annotation.
MemberValueVisitor - Interface in xapi.bytecode.annotation
 
methodInfo - Variable in class xapi.bytecode.CtBehavior
 
MethodInfo - Class in xapi.bytecode
 
MethodInfo(ConstPool, String, String) - Constructor for class xapi.bytecode.MethodInfo
Constructs a method_info structure.
MethodInfo(ConstPool, String, MethodInfo, Map<?, ?>) - Constructor for class xapi.bytecode.MethodInfo
Constructs a copy of method_info structure.
MethodrefInfo - Class in xapi.bytecode
 
MethodrefInfo(int, int) - Constructor for class xapi.bytecode.MethodrefInfo
 
MethodrefInfo(DataInput) - Constructor for class xapi.bytecode.MethodrefInfo
 
MONITORENTER - Static variable in interface xapi.bytecode.api.Opcode
 
MONITOREXIT - Static variable in interface xapi.bytecode.api.Opcode
 
move(int) - Method in class xapi.bytecode.CodeIterator
Moves to the given index.
MULTIANEWARRAY - Static variable in interface xapi.bytecode.api.Opcode
 

N

name - Variable in class xapi.bytecode.attributes.AttributeInfo
 
nameClinit - Static variable in class xapi.bytecode.MethodInfo
The name of class initializer (static initializer): <clinit>.
nameIndex(int) - Method in class xapi.bytecode.attributes.LocalVariableAttribute
Returns the value of local_variable_table[i].name_index.
nameInit - Static variable in class xapi.bytecode.MethodInfo
The name of constructors: <init>.
NEW - Static variable in interface xapi.bytecode.api.Opcode
 
NEWARRAY - Static variable in interface xapi.bytecode.api.Opcode
 
next - Variable in class xapi.bytecode.attributes.CodeAttribute.LdcEntry
 
next() - Method in class xapi.bytecode.CodeIterator
Returns the index of the next instruction (not the operand following the current opcode).
next() - Method in class xapi.bytecode.Descriptor.Iterator
Returns the position of the next type character.
nextOpcode(byte[], int) - Static method in class xapi.bytecode.CodeIterator
Calculates the index of the next opcode.
NOP - Static variable in interface xapi.bytecode.api.Opcode
 
NoSuchClassError - Error in xapi.bytecode
 
NoSuchClassError(String, Error) - Constructor for error xapi.bytecode.NoSuchClassError
Constructs an exception.
NotFoundException - Exception in xapi.bytecode
Signals that something could not be found.
NotFoundException(String) - Constructor for exception xapi.bytecode.NotFoundException
 
NotFoundException(String, Exception) - Constructor for exception xapi.bytecode.NotFoundException
 
NULL - Static variable in class xapi.bytecode.attributes.StackMap
Null_variable_info.tag.
NULL - Static variable in class xapi.bytecode.attributes.StackMapTable
Null_variable_info.tag.
numAnnotations() - Method in class xapi.bytecode.annotation.AnnotationsAttribute
Returns num_annotations.
numAnnotations(int) - Method in class xapi.bytecode.annotation.AnnotationsWriter
Writes num_annotations in Runtime(In)VisibleAnnotations_attribute.
numOfEntries() - Method in class xapi.bytecode.attributes.StackMap
Returns number_of_entries.
numOfParameters(String) - Static method in class xapi.bytecode.Descriptor
Returns the number of the prameters included in the given descriptor.
numParameters(int) - Method in class xapi.bytecode.annotation.AnnotationsWriter
Writes num_parameters in Runtime(In)VisibleParameterAnnotations_attribute.
numParameters() - Method in class xapi.bytecode.attributes.ParameterAnnotationsAttribute
Returns num_parameters.

O

OBJECT - Static variable in class xapi.bytecode.attributes.StackMap
Object_variable_info.tag.
OBJECT - Static variable in class xapi.bytecode.attributes.StackMapTable
Object_variable_info.tag.
ObjectType() - Constructor for class xapi.bytecode.attributes.SignatureAttribute.ObjectType
 
objectVariable(int, int) - Method in class xapi.bytecode.attributes.StackMap.Walker
Invoked when an element of type Object_variable_info is visited.
of(String) - Static method in class xapi.bytecode.Descriptor
Converts to a descriptor from a Java class name
of(CtClass) - Static method in class xapi.bytecode.Descriptor
Returns the descriptor representing the given type.
ofConstructor(CtClass[]) - Static method in class xapi.bytecode.Descriptor
Returns the descriptor representing a constructor receiving the given parameter types.
ofMethod(CtClass, CtClass[]) - Static method in class xapi.bytecode.Descriptor
Returns the descriptor representing a method that receives the given parameter types and returns the given type.
ofParameters(CtClass[]) - Static method in class xapi.bytecode.Descriptor
Returns the descriptor representing a list of parameter types.
Opcode - Interface in xapi.bytecode.api
 
openClassfile(String) - Method in class xapi.bytecode.ClassClassPath
Obtains a class file by getResourceAsStream().
openClassfile(String) - Method in interface xapi.bytecode.ClassPath
Opens a class file.
outerClass(int) - Method in class xapi.bytecode.attributes.InnerClassesAttribute
Returns the class name indicated by classes[nth].outer_class_info_index.
outerClassIndex(int) - Method in class xapi.bytecode.attributes.InnerClassesAttribute
Returns classes[nth].outer_class_info_index.

P

ParameterAnnotationsAttribute - Class in xapi.bytecode.attributes
 
ParameterAnnotationsAttribute(ConstPool, String, byte[]) - Constructor for class xapi.bytecode.attributes.ParameterAnnotationsAttribute
Constructs a Runtime(In)VisibleParameterAnnotations_attribute.
ParameterAnnotationsAttribute(ConstPool, String) - Constructor for class xapi.bytecode.attributes.ParameterAnnotationsAttribute
Constructs an empty Runtime(In)VisibleParameterAnnotations_attribute.
parameters(int, int) - Method in class xapi.bytecode.annotation.AnnotationsAttribute.Copier
 
parameters(int, int) - Method in class xapi.bytecode.annotation.AnnotationsAttribute.Parser
 
parameters() - Method in class xapi.bytecode.annotation.AnnotationsAttribute.Walker
 
parameters(int, int) - Method in class xapi.bytecode.annotation.AnnotationsAttribute.Walker
 
paramSize(String) - Static method in class xapi.bytecode.Descriptor
Computes the data size of parameters.
parent - Variable in class xapi.bytecode.ClassPool
 
parse() - Method in class xapi.bytecode.attributes.StackMapTable.Walker
Visits each entry of the stack map frames.
parseAnnotations() - Method in class xapi.bytecode.annotation.AnnotationsAttribute.Parser
 
parseMemberValue() - Method in class xapi.bytecode.annotation.AnnotationsAttribute.Parser
 
parseParameters() - Method in class xapi.bytecode.annotation.AnnotationsAttribute.Parser
 
Parser(byte[], ConstPool) - Constructor for class xapi.bytecode.annotation.AnnotationsAttribute.Parser
Constructs a parser.
PASS_ARRAY - Static variable in class xapi.bytecode.CtNewConstructor
Specifies that parameters are converted into an array of Object and passed to a super-class' constructor.
PASS_NONE - Static variable in class xapi.bytecode.CtNewConstructor
Specifies that no parameters are passed to a super-class' constructor.
PASS_PARAMS - Static variable in class xapi.bytecode.CtNewConstructor
Specifies that parameters are passed as is to a super-class' constructor.
Pc() - Constructor for class xapi.bytecode.attributes.LineNumberAttribute.Pc
 
POP - Static variable in interface xapi.bytecode.api.Opcode
 
POP2 - Static variable in interface xapi.bytecode.api.Opcode
 
position - Variable in class xapi.bytecode.CodeIterator.Gap
The position of the gap.
print(PrintWriter) - Method in class xapi.bytecode.attributes.StackMap
Prints this stack map.
print(PrintWriter) - Method in class xapi.bytecode.ClassInfo
 
print(PrintWriter) - Method in class xapi.bytecode.ConstInfo
 
print(PrintWriter) - Method in class xapi.bytecode.ConstInfoPadding
 
print() - Method in class xapi.bytecode.ConstPool
Prints the contents of the constant pool table.
print(PrintWriter) - Method in class xapi.bytecode.ConstPool
Prints the contents of the constant pool table.
print(PrintWriter) - Method in class xapi.bytecode.DoubleInfo
 
print(PrintWriter) - Method in class xapi.bytecode.FloatInfo
 
print(PrintWriter) - Method in class xapi.bytecode.IntegerInfo
 
print(PrintWriter) - Method in class xapi.bytecode.LongInfo
 
print(PrintWriter) - Method in class xapi.bytecode.MemberrefInfo
 
print(PrintWriter) - Method in class xapi.bytecode.StringInfo
 
print(PrintWriter) - Method in class xapi.bytecode.Utf8Info
 
println(PrintWriter) - Method in class xapi.bytecode.attributes.StackMapTable
Prints the stack table map.
println(PrintStream) - Method in class xapi.bytecode.attributes.StackMapTable
Prints the stack table map.
prune() - Method in class xapi.bytecode.ClassFile
Discards all attributes, associated with both the class file and the members such as a code attribute and exceptions attribute.
prune() - Method in class xapi.bytecode.CtClass
Discards unnecessary attributes, in particular, CodeAttributes (method bodies) of the class, to minimize the memory footprint.
prune() - Method in class xapi.bytecode.CtClassType
 
put(CtClass, CtClass) - Method in class xapi.bytecode.ClassMap
Maps a class name to another name in this hashtable.
put(String, String) - Method in class xapi.bytecode.ClassMap
Maps a class name to another name in this hashtable.
put0(Object, Object) - Method in class xapi.bytecode.ClassMap
 
PUTFIELD - Static variable in interface xapi.bytecode.api.Opcode
 
putIfNone(String, String) - Method in class xapi.bytecode.ClassMap
Is equivalent to put() except that the given mapping is not recorded into the hashtable if another mapping from oldname is already included.
PUTSTATIC - Static variable in interface xapi.bytecode.api.Opcode
 

Q

qualifiedName - Variable in class xapi.bytecode.CtClass
 

R

read(ConstPool, DataInput) - Static method in class xapi.bytecode.attributes.AttributeInfo
 
read(int) - Method in class xapi.bytecode.Bytecode
Reads a signed 8bit value at the offset from the beginning of the bytecode sequence.
read16bit(int) - Method in class xapi.bytecode.Bytecode
Reads a signed 16bit value at the offset from the beginning of the bytecode sequence.
read32bit(int) - Method in class xapi.bytecode.Bytecode
Reads a signed 32bit value at the offset from the beginning of the bytecode sequence.
rebuildClassFile() - Method in class xapi.bytecode.CtClass
If this method is called, the class file will be rebuilt when it is finally generated by toBytecode() and writeFile().
rebuildClassFile() - Method in class xapi.bytecode.CtClassType
 
recordInvalidClassName(String) - Method in class xapi.bytecode.ClassPool
Records a name that never exists.
releaseUnmodifiedClassFile - Static variable in class xapi.bytecode.ClassPool
If true, unmodified and not-recently-used class files are periodically released for saving memory.
remove(ArrayList<?>, String) - Static method in class xapi.bytecode.attributes.AttributeInfo
 
remove(int) - Method in class xapi.bytecode.attributes.ExceptionTable
Removes the entry at the specified position in the table.
removeCached(String) - Method in class xapi.bytecode.ClassPool
Provide a hook so that subclasses can do their own caching of classes.
removeClassPath(ClassPath) - Method in class xapi.bytecode.ClassPool
Detatches the ClassPath object from the search path.
removeCodeAttribute() - Method in class xapi.bytecode.MethodInfo
Removes a Code attribute.
removeConstructor(CtConstructor) - Method in class xapi.bytecode.CtClass
Removes a constructor declared in this class.
removeConstructor(CtConstructor) - Method in class xapi.bytecode.CtClassType
 
removeExceptionsAttribute() - Method in class xapi.bytecode.MethodInfo
Removes an Exception attribute.
removeField(CtField) - Method in class xapi.bytecode.CtClass
Removes a field declared in this class.
removeField(CtField) - Method in class xapi.bytecode.CtClassType
 
removeMethod(CtMethod) - Method in class xapi.bytecode.CtClass
Removes a method declared in this class.
removeMethod(CtMethod) - Method in class xapi.bytecode.CtClassType
 
removeNew(int) - Method in class xapi.bytecode.attributes.StackMap
Undocumented method.
removeNew(int) - Method in class xapi.bytecode.attributes.StackMapTable
Undocumented method.
rename(String, String, String) - Static method in class xapi.bytecode.Descriptor
Substitutes a class name in the given descriptor string.
rename(String, Map<?, ?>) - Static method in class xapi.bytecode.Descriptor
Substitutes class names in the given descriptor string according to the given map.
renameClass(List<?>, String, String) - Static method in class xapi.bytecode.attributes.AttributeInfo
 
renameClass(List<?>, Map<?, ?>) - Static method in class xapi.bytecode.attributes.AttributeInfo
 
renameClass(String, String) - Method in class xapi.bytecode.ClassFile
Replaces all occurrences of a class name in the class file.
renameClass(Map<?, ?>) - Method in class xapi.bytecode.ClassFile
Replaces all occurrences of several class names in the class file.
renameClass(ConstPool, String, String) - Method in class xapi.bytecode.ClassInfo
 
renameClass(ConstPool, Map<?, ?>) - Method in class xapi.bytecode.ClassInfo
 
renameClass(ConstPool, String, String) - Method in class xapi.bytecode.ConstInfo
 
renameClass(ConstPool, Map<?, ?>) - Method in class xapi.bytecode.ConstInfo
 
renameClass(Map<?, ?>) - Method in class xapi.bytecode.ConstPool
Replaces all occurrences of class names.
renameClass(String, String) - Method in class xapi.bytecode.ConstPool
Replaces all occurrences of a class name.
replaceClassName(String, String) - Method in class xapi.bytecode.CtClass
Substitutes newName for all occurrences of a class name oldName in the class file.
replaceClassName(ClassMap) - Method in class xapi.bytecode.CtClass
Changes class names appearing in the class file according to the given map.
RET - Static variable in interface xapi.bytecode.api.Opcode
 
RETURN - Static variable in interface xapi.bytecode.api.Opcode
 
RuntimeCopyException(String) - Constructor for exception xapi.bytecode.attributes.CodeAttribute.RuntimeCopyException
Constructs an exception.
RuntimeCopyException(String) - Constructor for exception xapi.bytecode.attributes.StackMapTable.RuntimeCopyException
Constructs an exception.

S

s16bitAt(int) - Method in class xapi.bytecode.CodeIterator
Returns the signed 16bit value at the given index.
s32bitAt(int) - Method in class xapi.bytecode.CodeIterator
Returns the signed 32bit value at the given index.
SALOAD - Static variable in interface xapi.bytecode.api.Opcode
 
sameFrame(int, int) - Method in class xapi.bytecode.attributes.StackMapTable.Walker
Invoked if the visited frame is a same_frame or a same_frame_extended.
sameFrame(int) - Method in class xapi.bytecode.attributes.StackMapTable.Writer
Writes a same_frame or a same_frame_extended.
sameLocals(int, int, int, int) - Method in class xapi.bytecode.attributes.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 xapi.bytecode.attributes.StackMapTable.Writer
Writes a same_locals_1_stack_item or a same_locals_1_stack_item_extended.
SASTORE - Static variable in interface xapi.bytecode.api.Opcode
 
set(byte[]) - Method in class xapi.bytecode.attributes.AttributeInfo
Sets the info field of this attribute_info structure.
set(byte[]) - Method in class xapi.bytecode.attributes.CodeAttribute
This method is not available.
setAccessFlags(int, int) - Method in class xapi.bytecode.attributes.InnerClassesAttribute
Sets classes[nth].inner_class_access_flags to the given index.
setAccessFlags(int) - Method in class xapi.bytecode.ClassFile
Changes access flags.
setAccessFlags(int) - Method in class xapi.bytecode.FieldInfo
Sets the access flags.
setAccessFlags(int) - Method in class xapi.bytecode.MethodInfo
Sets access flags.
setAnnotation(Annotation) - Method in class xapi.bytecode.annotation.AnnotationsAttribute
Changes the annotations.
setAnnotations(Annotation[]) - Method in class xapi.bytecode.annotation.AnnotationsAttribute
Changes the annotations represented by this object according to the given array of Annotation objects.
setAnnotations(Annotation[][]) - Method in class xapi.bytecode.attributes.ParameterAnnotationsAttribute
Changes the annotations represented by this object according to the given array of Annotation objects.
setAttribute(StackMapTable) - Method in class xapi.bytecode.attributes.CodeAttribute
Adds a stack map table.
setAttribute(StackMap) - Method in class xapi.bytecode.attributes.CodeAttribute
Adds a stack map table for J2ME (CLDC).
setAttribute(String, byte[]) - Method in class xapi.bytecode.CtBehavior
Adds an attribute.
setAttribute(String, byte[]) - Method in class xapi.bytecode.CtClass
Adds a named attribute.
setAttribute(String, byte[]) - Method in class xapi.bytecode.CtClassType
 
setAttribute(String, byte[]) - Method in class xapi.bytecode.CtField
Adds an attribute.
setAttribute(String, byte[]) - Method in class xapi.bytecode.CtMember
Adds a user-defined attribute.
setBody(String) - Method in class xapi.bytecode.CtConstructor
Sets a constructor body.
setBody(CtConstructor, ClassMap) - Method in class xapi.bytecode.CtConstructor
Copies a constructor body from another constructor.
setCatchType(int, int) - Method in class xapi.bytecode.attributes.ExceptionTable
Sets catchType of the n-th entry.
setCode(byte[]) - Method in class xapi.bytecode.attributes.CodeAttribute
Sets code[].
setCodeAttribute(CodeAttribute) - Method in class xapi.bytecode.MethodInfo
Adds a Code attribute.
setDefaultValue(MemberValue) - Method in class xapi.bytecode.annotation.AnnotationDefaultAttribute
Changes the default value represented by this attribute.
setDescriptor(String) - Method in class xapi.bytecode.FieldInfo
Sets the field descriptor.
setDescriptor(String) - Method in class xapi.bytecode.MethodInfo
Sets a method descriptor.
setEndPc(int, int) - Method in class xapi.bytecode.attributes.ExceptionTable
Sets endPc of the n-th entry.
setExceptionIndexes(int[]) - Method in class xapi.bytecode.attributes.ExceptionsAttribute
Sets exception_index_table[].
setExceptions(String[]) - Method in class xapi.bytecode.attributes.ExceptionsAttribute
Sets the names of exceptions that the method may throw.
setExceptionsAttribute(ExceptionsAttribute) - Method in class xapi.bytecode.MethodInfo
Adds an Exception attribute.
setExceptionTypes(CtClass[]) - Method in class xapi.bytecode.CtBehavior
Sets exceptions that this method/constructor may throw.
setHandlerPc(int, int) - Method in class xapi.bytecode.attributes.ExceptionTable
Sets handlerPc of the n-th entry.
setInnerClassIndex(int, int) - Method in class xapi.bytecode.attributes.InnerClassesAttribute
Sets classes[nth].inner_class_info_index to the given index.
setInnerNameIndex(int, int) - Method in class xapi.bytecode.attributes.InnerClassesAttribute
Sets classes[nth].inner_name_index to the given index.
setInterfaces(String[]) - Method in class xapi.bytecode.ClassFile
Sets the interfaces.
setInterfaces(CtClass[]) - Method in class xapi.bytecode.CtClass
Sets implemented interfaces.
setInterfaces(CtClass[]) - Method in class xapi.bytecode.CtClassType
 
setMajorVersion(int) - Method in class xapi.bytecode.ClassFile
Set the major version.
setMark(int) - Method in class xapi.bytecode.CodeIterator
Sets a mark to the bytecode at the given index.
setMaxLocals(int) - Method in class xapi.bytecode.attributes.CodeAttribute
Sets max_locals.
setMaxLocals(int) - Method in class xapi.bytecode.Bytecode
Sets max_locals.
setMaxLocals(boolean, CtClass[], int) - Method in class xapi.bytecode.Bytecode
Sets max_locals.
setMaxStack(int) - Method in class xapi.bytecode.attributes.CodeAttribute
Sets max_stack.
setMaxStack(int) - Method in class xapi.bytecode.Bytecode
Sets max_stack.
setMinorVersion(int) - Method in class xapi.bytecode.ClassFile
Set the minor version.
setModifiers(int) - Method in class xapi.bytecode.CtBehavior
Sets the encoded modifiers of the method/constructor.
setModifiers(int) - Method in class xapi.bytecode.CtClass
Sets the modifiers.
setModifiers(int) - Method in class xapi.bytecode.CtClassType
 
setModifiers(int) - Method in class xapi.bytecode.CtField
Sets the encoded modifiers of the field.
setModifiers(int) - Method in class xapi.bytecode.CtMember
Sets the encoded modifiers of the member.
setName(String) - Method in class xapi.bytecode.ClassFile
Sets the class name.
setName(String) - Method in class xapi.bytecode.CtClass
Sets the class name
setName(String) - Method in class xapi.bytecode.CtClassType
 
setName(String) - Method in class xapi.bytecode.CtField
Changes the name of the field.
setName(String) - Method in class xapi.bytecode.CtMethod
Changes the name of this method.
setName(String) - Method in class xapi.bytecode.FieldInfo
Sets the field name.
setName(String) - Method in class xapi.bytecode.MethodInfo
Sets a method name.
setOuterClassIndex(int, int) - Method in class xapi.bytecode.attributes.InnerClassesAttribute
Sets classes[nth].outer_class_info_index to the given index.
setSignature(String) - Method in class xapi.bytecode.attributes.SignatureAttribute
Sets signature_index to the index of the given signature, which is added to a constant pool.
setStackDepth(int) - Method in class xapi.bytecode.Bytecode
Sets the current stack depth.
setStartPc(int, int) - Method in class xapi.bytecode.attributes.ExceptionTable
Sets startPc of the n-th entry.
setSuperclass(String) - Method in class xapi.bytecode.ClassFile
Sets the super class.
setSuperclass(CtClass) - Method in class xapi.bytecode.CtClass
Changes a super class unless this object represents an interface.
setSuperclass(CtClass) - Method in class xapi.bytecode.CtClassType
 
setSuperclass(String) - Method in class xapi.bytecode.MethodInfo
Changes a super constructor called by this constructor.
setType(String) - Method in class xapi.bytecode.annotation.EnumMemberValue
Changes the enum type name.
setType(CtClass) - Method in class xapi.bytecode.CtField
Sets the type of the field.
setValue(Annotation) - Method in class xapi.bytecode.annotation.AnnotationMemberValue
Sets the value of this member.
setValue(MemberValue[]) - Method in class xapi.bytecode.annotation.ArrayMemberValue
Sets the elements of the array.
setValue(boolean) - Method in class xapi.bytecode.annotation.BooleanMemberValue
Sets the value of the member.
setValue(byte) - Method in class xapi.bytecode.annotation.ByteMemberValue
Sets the value of the member.
setValue(char) - Method in class xapi.bytecode.annotation.CharMemberValue
Sets the value of the member.
setValue(String) - Method in class xapi.bytecode.annotation.ClassMemberValue
Sets the value of the member.
setValue(double) - Method in class xapi.bytecode.annotation.DoubleMemberValue
Sets the value of the member.
setValue(String) - Method in class xapi.bytecode.annotation.EnumMemberValue
Changes the name of the enum constant value.
setValue(float) - Method in class xapi.bytecode.annotation.FloatMemberValue
Sets the value of the member.
setValue(int) - Method in class xapi.bytecode.annotation.IntegerMemberValue
Sets the value of the member.
setValue(long) - Method in class xapi.bytecode.annotation.LongMemberValue
Sets the value of the member.
setValue(short) - Method in class xapi.bytecode.annotation.ShortMemberValue
Sets the value of the member.
setValue(String) - Method in class xapi.bytecode.annotation.StringMemberValue
Sets the value of the member.
setVersionToJava5() - Method in class xapi.bytecode.ClassFile
Sets the major and minor version to Java 5.
shiftIndex(int, int) - Method in class xapi.bytecode.attributes.LocalVariableAttribute
For each local_variable_table[i].index, this method increases index by delta.
shiftPc(int, int, boolean) - Method in class xapi.bytecode.attributes.ExceptionTable
 
shiftPc(int, int, boolean) - Method in class xapi.bytecode.attributes.LineNumberAttribute
Adjusts start_pc if bytecode is inserted in a method body.
shiftPc(int, int, boolean) - Method in class xapi.bytecode.attributes.LocalVariableAttribute
Adjusts start_pc and length if bytecode is inserted in a method body.
shiftPc(int, int, boolean) - Method in class xapi.bytecode.attributes.StackMap
 
shiftPc(int, int, boolean) - Method in class xapi.bytecode.attributes.StackMapTable
 
ShortMemberValue - Class in xapi.bytecode.annotation
 
ShortMemberValue(int, ConstPool) - Constructor for class xapi.bytecode.annotation.ShortMemberValue
Constructs a short constant value.
ShortMemberValue(short, ConstPool) - Constructor for class xapi.bytecode.annotation.ShortMemberValue
Constructs a short constant value.
ShortMemberValue(ConstPool) - Constructor for class xapi.bytecode.annotation.ShortMemberValue
Constructs a short constant value.
shortType - Static variable in class xapi.bytecode.CtClass
The CtClass object representing the short type.
signature(int) - Method in class xapi.bytecode.attributes.LocalVariableAttribute
This method is equivalent to descriptor().
SignatureAttribute - Class in xapi.bytecode.attributes
 
SignatureAttribute(ConstPool, String) - Constructor for class xapi.bytecode.attributes.SignatureAttribute
Constructs a Signature attribute.
SignatureAttribute.ArrayType - Class in xapi.bytecode.attributes
Array types.
SignatureAttribute.BaseType - Class in xapi.bytecode.attributes
Primitive types.
SignatureAttribute.ClassSignature - Class in xapi.bytecode.attributes
Class signature.
SignatureAttribute.ClassType - Class in xapi.bytecode.attributes
Class types.
SignatureAttribute.MethodSignature - Class in xapi.bytecode.attributes
Method type signature.
SignatureAttribute.NestedClassType - Class in xapi.bytecode.attributes
Nested class types.
SignatureAttribute.ObjectType - Class in xapi.bytecode.attributes
Class types, array types, and type variables.
SignatureAttribute.Type - Class in xapi.bytecode.attributes
Primitive types and object types.
SignatureAttribute.TypeArgument - Class in xapi.bytecode.attributes
Type argument.
SignatureAttribute.TypeParameter - Class in xapi.bytecode.attributes
Formal type parameters.
SignatureAttribute.TypeVariable - Class in xapi.bytecode.attributes
Type variables.
signatureIndex(int) - Method in class xapi.bytecode.attributes.LocalVariableAttribute
This method is equivalent to descriptorIndex().
SIPUSH - Static variable in interface xapi.bytecode.api.Opcode
 
size() - Method in class xapi.bytecode.attributes.ExceptionTable
Returns exception_table_length, which is the number of entries in the exception_table[].
size() - Method in class xapi.bytecode.attributes.StackMapTable.Walker
Returns the number of the entries.
skipConstructor() - Method in class xapi.bytecode.CodeIterator
Moves to the instruction for either super() or this().
skipSuperConstructor() - Method in class xapi.bytecode.CodeIterator
Moves to the instruction for super().
skipThisConstructor() - Method in class xapi.bytecode.CodeIterator
Moves to the instruction for this().
source - Variable in class xapi.bytecode.ClassPool
 
SourceFileAttribute - Class in xapi.bytecode.attributes
 
SourceFileAttribute(ConstPool, String) - Constructor for class xapi.bytecode.attributes.SourceFileAttribute
Constructs a SourceFile attribute.
stack(int, int, int) - Method in class xapi.bytecode.attributes.StackMap.Walker
Invoked when stack of stack_map_frame is visited.
STACK_GROW - Static variable in interface xapi.bytecode.api.Opcode
 
StackMap - Class in xapi.bytecode.attributes
 
StackMap.Walker - Class in xapi.bytecode.attributes
A code walker for a StackMap attribute.
StackMap.Writer - Class in xapi.bytecode.attributes
Internal use only.
StackMapTable - Class in xapi.bytecode.attributes
 
StackMapTable.RuntimeCopyException - Exception in xapi.bytecode.attributes
An exception that may be thrown by copy() in StackMapTable.
StackMapTable.Walker - Class in xapi.bytecode.attributes
A code walker for a StackMapTable attribute.
StackMapTable.Writer - Class in xapi.bytecode.attributes
A writer of stack map tables.
startPc(int) - Method in class xapi.bytecode.attributes.ExceptionTable
Returns startPc of the n-th entry.
startPc(int) - Method in class xapi.bytecode.attributes.LineNumberAttribute
Returns line_number_table[i].start_pc.
startPc(int) - Method in class xapi.bytecode.attributes.LocalVariableAttribute
Returns local_variable_table[i].start_pc.
stopPruning(boolean) - Method in class xapi.bytecode.CtClass
Disallows (or allows) automatically pruning this CtClass object.
stopPruning(boolean) - Method in class xapi.bytecode.CtClassType
 
string(String) - Static method in class xapi.bytecode.CtMethod.ConstParameter
Makes an String constant.
StringInfo - Class in xapi.bytecode
 
StringInfo(int) - Constructor for class xapi.bytecode.StringInfo
 
StringInfo(DataInput) - Constructor for class xapi.bytecode.StringInfo
 
StringMemberValue - Class in xapi.bytecode.annotation
 
StringMemberValue(int, ConstPool) - Constructor for class xapi.bytecode.annotation.StringMemberValue
Constructs a string constant value.
StringMemberValue(String, ConstPool) - Constructor for class xapi.bytecode.annotation.StringMemberValue
Constructs a string constant value.
StringMemberValue(ConstPool) - Constructor for class xapi.bytecode.annotation.StringMemberValue
Constructs a string constant value.
subclassOf(CtClass) - Method in class xapi.bytecode.CtClass
Determines whether the class directly or indirectly extends the given class.
subclassOf(CtClass) - Method in class xapi.bytecode.CtClassType
 
subtypeOf(CtClass) - Method in class xapi.bytecode.CtClass
Returns true if this class extends or implements clazz.
subtypeOf(CtClass) - Method in class xapi.bytecode.CtClassType
 
SWAP - Static variable in interface xapi.bytecode.api.Opcode
 

T

T_BOOLEAN - Static variable in interface xapi.bytecode.api.Opcode
 
T_BYTE - Static variable in interface xapi.bytecode.api.Opcode
 
T_CHAR - Static variable in interface xapi.bytecode.api.Opcode
 
T_DOUBLE - Static variable in interface xapi.bytecode.api.Opcode
 
T_FLOAT - Static variable in interface xapi.bytecode.api.Opcode
 
T_INT - Static variable in interface xapi.bytecode.api.Opcode
 
T_LONG - Static variable in interface xapi.bytecode.api.Opcode
 
T_SHORT - Static variable in interface xapi.bytecode.api.Opcode
 
tableLength() - Method in class xapi.bytecode.attributes.ExceptionsAttribute
Returns number_of_exceptions.
tableLength() - Method in class xapi.bytecode.attributes.InnerClassesAttribute
Returns number_of_classes.
tableLength() - Method in class xapi.bytecode.attributes.LineNumberAttribute
Returns line_number_table_length.
tableLength() - Method in class xapi.bytecode.attributes.LocalVariableAttribute
Returns local_variable_table_length.
TABLESWITCH - Static variable in interface xapi.bytecode.api.Opcode
 
tag - Static variable in class xapi.bytecode.annotation.AnnotationDefaultAttribute
The name of the AnnotationDefault attribute.
tag - Static variable in class xapi.bytecode.attributes.CodeAttribute
The name of this attribute "Code".
tag - Static variable in class xapi.bytecode.attributes.ConstantAttribute
The name of this attribute "ConstantValue".
tag - Static variable in class xapi.bytecode.attributes.ExceptionsAttribute
The name of this attribute "Exceptions".
tag - Static variable in class xapi.bytecode.attributes.InnerClassesAttribute
The name of this attribute "InnerClasses".
tag - Static variable in class xapi.bytecode.attributes.LineNumberAttribute
The name of this attribute "LineNumberTable".
tag - Static variable in class xapi.bytecode.attributes.LocalVariableAttribute
The name of this attribute "LocalVariableTable".
tag - Static variable in class xapi.bytecode.attributes.SignatureAttribute
The name of this attribute "Signature".
tag - Static variable in class xapi.bytecode.attributes.SourceFileAttribute
The name of this attribute "SourceFile".
tag - Static variable in class xapi.bytecode.attributes.StackMap
The name of this attribute "StackMap".
tag - Static variable in class xapi.bytecode.attributes.StackMapTable
The name of this attribute "StackMapTable".
THIS - Static variable in class xapi.bytecode.attributes.StackMap
UninitializedThis_variable_info.tag.
THIS - Static variable in class xapi.bytecode.attributes.StackMapTable
UninitializedThis_variable_info.tag.
THIS - Static variable in class xapi.bytecode.Bytecode
Represents the CtClass file using the constant pool table given to this Bytecode object.
THIS - Static variable in class xapi.bytecode.ConstPool
Represents the class using this constant pool table.
toAnnotation(Annotation) - Method in class xapi.bytecode.impl.BytecodeAdapterService
 
toAnnotationType(ClassLoader, ClassPool) - Method in class xapi.bytecode.annotation.Annotation
Constructs an annotation-type object representing this annotation.
toArrayComponent(String, int) - Static method in class xapi.bytecode.Descriptor
Returns the descriptor of the type of the array component.
toByteArray() - Method in class xapi.bytecode.attributes.StackMap.Writer
Converts the written data into a byte array.
toByteArray() - Method in class xapi.bytecode.attributes.StackMapTable.Writer
Returns the stack map table written out.
toBytecode() - Method in class xapi.bytecode.CtClass
Converts this class to a class file.
toBytecode(DataOutputStream) - Method in class xapi.bytecode.CtClass
Converts this class to a class file.
toClass(String) - Method in class xapi.bytecode.impl.BytecodeAdapterService
 
toClassName(String) - Static method in class xapi.bytecode.Descriptor
Converts to a Java class name from a descriptor.
toClassSignature(String) - Static method in class xapi.bytecode.attributes.SignatureAttribute
Parses the given signature string as a class signature.
toCodeAttribute() - Method in class xapi.bytecode.Bytecode
Converts to a CodeAttribute.
toCtClass(String, ClassPool) - Static method in class xapi.bytecode.Descriptor
Returns a CtClass object representing the type specified by the given descriptor.
toField(CtField) - Method in class xapi.bytecode.impl.BytecodeAdapterService
 
toFieldSignature(String) - Static method in class xapi.bytecode.attributes.SignatureAttribute
Parses the given signature string as a field type signature.
toJavaName(String) - Static method in class xapi.bytecode.ClassMap
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 xapi.bytecode.Descriptor
Converts a class name from the internal representation used in the JVM to the normal one used in Java.
toJvmName(String) - Static method in class xapi.bytecode.ClassMap
Converts a class name into the internal representation used in the JVM.
toJvmName(String) - Static method in class xapi.bytecode.Descriptor
Converts a class name into the internal representation used in the JVM.
toJvmName(CtClass) - Static method in class xapi.bytecode.Descriptor
Returns the internal representation of the class name in the JVM.
toLineNumber(int) - Method in class xapi.bytecode.attributes.LineNumberAttribute
Returns the line number corresponding to the specified bytecode.
toMethod(String, CtClass) - Method in class xapi.bytecode.CtConstructor
Makes a copy of this constructor and converts it into a method.
toMethod(String, CtClass, ClassMap) - Method in class xapi.bytecode.CtConstructor
Makes a copy of this constructor and converts it into a method.
toMethod(CtMethod) - Method in class xapi.bytecode.impl.BytecodeAdapterService
 
toMethodSignature(String) - Static method in class xapi.bytecode.attributes.SignatureAttribute
Parses the given signature string as a method type signature.
toNearPc(int) - Method in class xapi.bytecode.attributes.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 xapi.bytecode.attributes.StackMap
Top_variable_info.tag.
TOP - Static variable in class xapi.bytecode.attributes.StackMapTable
Top_variable_info.tag.
toPrimitiveClass(char) - Static method in class xapi.bytecode.Descriptor
 
toStackMap(ConstPool) - Method in class xapi.bytecode.attributes.StackMap.Writer
Converts to a StackMap attribute.
toStackMapTable(ConstPool) - Method in class xapi.bytecode.attributes.StackMapTable.Writer
Constructs and a return a stack map table containing the written stack map entries.
toStartPc(int) - Method in class xapi.bytecode.attributes.LineNumberAttribute
Returns the index into the code array at which the code for the specified line begins.
toString() - Method in class xapi.bytecode.annotation.Annotation
Returns a string representation of the annotation.
toString() - Method in class xapi.bytecode.annotation.AnnotationDefaultAttribute
Returns a string representation of this object.
toString() - Method in class xapi.bytecode.annotation.AnnotationMemberValue
Obtains the string representation of this object.
toString() - Method in class xapi.bytecode.annotation.AnnotationsAttribute
Returns a string representation of this object.
toString() - Method in class xapi.bytecode.annotation.ArrayMemberValue
Obtains the string representation of this object.
toString() - Method in class xapi.bytecode.annotation.BooleanMemberValue
Obtains the string representation of this object.
toString() - Method in class xapi.bytecode.annotation.ByteMemberValue
Obtains the string representation of this object.
toString() - Method in class xapi.bytecode.annotation.CharMemberValue
Obtains the string representation of this object.
toString() - Method in class xapi.bytecode.annotation.ClassMemberValue
Obtains the string representation of this object.
toString() - Method in class xapi.bytecode.annotation.DoubleMemberValue
Obtains the string representation of this object.
toString() - Method in class xapi.bytecode.annotation.EnumMemberValue
 
toString() - Method in class xapi.bytecode.annotation.FloatMemberValue
Obtains the string representation of this object.
toString() - Method in class xapi.bytecode.annotation.IntegerMemberValue
Obtains the string representation of this object.
toString() - Method in class xapi.bytecode.annotation.LongMemberValue
Obtains the string representation of this object.
toString() - Method in class xapi.bytecode.annotation.ShortMemberValue
Obtains the string representation of this object.
toString() - Method in class xapi.bytecode.annotation.StringMemberValue
Obtains the string representation of this object.
toString() - Method in class xapi.bytecode.attributes.SignatureAttribute.ArrayType
Returns the string representation.
toString() - Method in class xapi.bytecode.attributes.SignatureAttribute.BaseType
Returns the string representation.
toString() - Method in class xapi.bytecode.attributes.SignatureAttribute.ClassSignature
Returns the string representation.
toString() - Method in class xapi.bytecode.attributes.SignatureAttribute.ClassType
Returns the string representation.
toString() - Method in class xapi.bytecode.attributes.SignatureAttribute.MethodSignature
Returns the string representation.
toString() - Method in class xapi.bytecode.attributes.SignatureAttribute.TypeArgument
Returns the string representation.
toString() - Method in class xapi.bytecode.attributes.SignatureAttribute.TypeParameter
Returns the string representation.
toString() - Method in class xapi.bytecode.attributes.SignatureAttribute.TypeVariable
Returns the string representation.
toString() - Method in class xapi.bytecode.ClassClassPath
 
toString() - Method in class xapi.bytecode.ClassFile
 
toString() - Method in class xapi.bytecode.ClassPool
Returns the class search path.
toString() - Method in class xapi.bytecode.ConstInfo
 
toString() - Method in class xapi.bytecode.CtClass
Converts the object to a string.
toString() - Method in class xapi.bytecode.CtField
Returns a String representation of the object.
toString() - Method in class xapi.bytecode.CtMember
 
toString(String) - Static method in class xapi.bytecode.Descriptor
Returns a human-readable representation of the given descriptor.
toString() - Method in class xapi.bytecode.FieldInfo
Returns a string representation of the object.
toString() - Method in class xapi.bytecode.MethodInfo
Returns a string representation of the object.
toTypes(CtClass[]) - Method in class xapi.bytecode.impl.BytecodeAdapterService
 
Type() - Constructor for class xapi.bytecode.attributes.SignatureAttribute.Type
 
typeInfo(int, byte) - Method in class xapi.bytecode.attributes.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 xapi.bytecode.attributes.StackMap.Walker
Invoked when an array of verification_type_info is visited.
typeTag - Static variable in class xapi.bytecode.attributes.LocalVariableAttribute
The name of the attribute "LocalVariableTypeTable".
typeTagOf(char) - Static method in class xapi.bytecode.attributes.StackMapTable
Returns the tag of the type specified by the descriptor.

U

u16bitAt(int) - Method in class xapi.bytecode.CodeIterator
Returns the unsigned 16bit value at the given index.
UNINIT - Static variable in class xapi.bytecode.attributes.StackMap
Uninitialized_variable_info.tag.
UNINIT - Static variable in class xapi.bytecode.attributes.StackMapTable
Uninitialized_variable_info.tag.
uninitialized(int, int) - Method in class xapi.bytecode.attributes.StackMap.Walker
Invoked when an element of type Uninitialized_variable_info is visited.
updateCursors(int, int) - Method in class xapi.bytecode.CodeIterator
Is called when a gap is inserted.
Utf8Info - Class in xapi.bytecode
 
Utf8Info(String, int) - Constructor for class xapi.bytecode.Utf8Info
 
Utf8Info(DataInput, int) - Constructor for class xapi.bytecode.Utf8Info
 

V

valueOf(String) - Static method in enum xapi.bytecode.api.ByteCodes
Returns the enum constant of this type with the specified name.
values() - Static method in enum xapi.bytecode.api.ByteCodes
Returns an array containing the constants of this enum type, in the order they are declared.
variableName(int) - Method in class xapi.bytecode.attributes.LocalVariableAttribute
Returns the name of the local variable specified by local_variable_table[i].name_index.
version - Static variable in class xapi.bytecode.CtClass
The version number of this release.
visibleFrom(CtClass) - Method in class xapi.bytecode.CtMember
Returns true if this member is accessible from the given class.
visibleTag - Static variable in class xapi.bytecode.annotation.AnnotationsAttribute
The name of the RuntimeVisibleAnnotations attribute.
visibleTag - Static variable in class xapi.bytecode.attributes.ParameterAnnotationsAttribute
The name of the RuntimeVisibleParameterAnnotations attribute.
visit() - Method in class xapi.bytecode.attributes.StackMap.Walker
Visits each entry of the stack map frames.
visitAnnotationMemberValue(AnnotationMemberValue) - Method in interface xapi.bytecode.annotation.MemberValueVisitor
 
visitArrayMemberValue(ArrayMemberValue) - Method in interface xapi.bytecode.annotation.MemberValueVisitor
 
visitBooleanMemberValue(BooleanMemberValue) - Method in interface xapi.bytecode.annotation.MemberValueVisitor
 
visitByteMemberValue(ByteMemberValue) - Method in interface xapi.bytecode.annotation.MemberValueVisitor
 
visitCharMemberValue(CharMemberValue) - Method in interface xapi.bytecode.annotation.MemberValueVisitor
 
visitClassMemberValue(ClassMemberValue) - Method in interface xapi.bytecode.annotation.MemberValueVisitor
 
visitDoubleMemberValue(DoubleMemberValue) - Method in interface xapi.bytecode.annotation.MemberValueVisitor
 
visitEnumMemberValue(EnumMemberValue) - Method in interface xapi.bytecode.annotation.MemberValueVisitor
 
visitFloatMemberValue(FloatMemberValue) - Method in interface xapi.bytecode.annotation.MemberValueVisitor
 
visitIntegerMemberValue(IntegerMemberValue) - Method in interface xapi.bytecode.annotation.MemberValueVisitor
 
visitLongMemberValue(LongMemberValue) - Method in interface xapi.bytecode.annotation.MemberValueVisitor
 
visitShortMemberValue(ShortMemberValue) - Method in interface xapi.bytecode.annotation.MemberValueVisitor
 
visitStringMemberValue(StringMemberValue) - Method in interface xapi.bytecode.annotation.MemberValueVisitor
 
voidType - Static variable in class xapi.bytecode.CtClass
The CtClass object representing the void type.

W

Walker(StackMap) - Constructor for class xapi.bytecode.attributes.StackMap.Walker
Constructs a walker.
Walker(StackMapTable) - Constructor for class xapi.bytecode.attributes.StackMapTable.Walker
Constructs a walker.
Walker(byte[]) - Constructor for class xapi.bytecode.attributes.StackMapTable.Walker
Constructs a walker.
where - Variable in class xapi.bytecode.attributes.CodeAttribute.LdcEntry
 
WIDE - Static variable in interface xapi.bytecode.api.Opcode
 
width() - Method in enum xapi.bytecode.api.ByteCodes
 
width() - Method in interface xapi.bytecode.api.IsByteCode
 
write(AnnotationsWriter) - Method in class xapi.bytecode.annotation.Annotation
Writes this annotation.
write(AnnotationsWriter) - Method in class xapi.bytecode.annotation.AnnotationMemberValue
Writes the value.
write(AnnotationsWriter) - Method in class xapi.bytecode.annotation.ArrayMemberValue
Writes the value.
write(AnnotationsWriter) - Method in class xapi.bytecode.annotation.BooleanMemberValue
Writes the value.
write(AnnotationsWriter) - Method in class xapi.bytecode.annotation.ByteMemberValue
Writes the value.
write(AnnotationsWriter) - Method in class xapi.bytecode.annotation.CharMemberValue
Writes the value.
write(AnnotationsWriter) - Method in class xapi.bytecode.annotation.ClassMemberValue
Writes the value.
write(AnnotationsWriter) - Method in class xapi.bytecode.annotation.DoubleMemberValue
Writes the value.
write(AnnotationsWriter) - Method in class xapi.bytecode.annotation.EnumMemberValue
Writes the value.
write(AnnotationsWriter) - Method in class xapi.bytecode.annotation.FloatMemberValue
Writes the value.
write(AnnotationsWriter) - Method in class xapi.bytecode.annotation.IntegerMemberValue
Writes the value.
write(AnnotationsWriter) - Method in class xapi.bytecode.annotation.LongMemberValue
Writes the value.
write(AnnotationsWriter) - Method in class xapi.bytecode.annotation.MemberValue
Writes the value.
write(AnnotationsWriter) - Method in class xapi.bytecode.annotation.ShortMemberValue
Writes the value.
write(AnnotationsWriter) - Method in class xapi.bytecode.annotation.StringMemberValue
Writes the value.
write(int, int) - Method in class xapi.bytecode.Bytecode
Writes an 8bit value at the offset from the beginning of the bytecode sequence.
write(DataOutputStream) - Method in class xapi.bytecode.ClassFile
Writes a class file represented by this object into an output stream.
write(DataOutput) - Method in class xapi.bytecode.ClassInfo
 
write(byte[], int) - Method in class xapi.bytecode.CodeIterator
Writes a byte array at the index.
write(DataOutput) - Method in class xapi.bytecode.ConstInfo
 
write(DataOutput) - Method in class xapi.bytecode.ConstInfoPadding
 
write(DataOutput) - Method in class xapi.bytecode.ConstPool
Writes the contents of the constant pool table.
write(DataOutput) - Method in class xapi.bytecode.DoubleInfo
 
write(DataOutput) - Method in class xapi.bytecode.FloatInfo
 
write(DataOutput) - Method in class xapi.bytecode.IntegerInfo
 
write(DataOutput) - Method in class xapi.bytecode.LongInfo
 
write(DataOutput) - Method in class xapi.bytecode.MemberrefInfo
 
write(DataOutput) - Method in class xapi.bytecode.StringInfo
 
write(DataOutput) - Method in class xapi.bytecode.Utf8Info
 
write16bit(int) - Method in class xapi.bytecode.attributes.StackMap.Writer
Writes a 16bit value.
write16bit(int, int) - Method in class xapi.bytecode.Bytecode
Writes an 16bit value at the offset from the beginning of the bytecode sequence.
write16bit(int, int) - Method in class xapi.bytecode.CodeIterator
Writes a 16 bit integer at the index.
write32bit(int, int) - Method in class xapi.bytecode.Bytecode
Writes an 32bit value at the offset from the beginning of the bytecode sequence.
write32bit(int, int) - Method in class xapi.bytecode.CodeIterator
Writes a 32bit integer at the index.
writeAll(ArrayList<?>, DataOutputStream) - Static method in class xapi.bytecode.attributes.AttributeInfo
 
writeByte(int, int) - Method in class xapi.bytecode.CodeIterator
Writes an 8bit value at the given index.
writeFile() - Method in class xapi.bytecode.CtClass
Writes a class file represented by this CtClass object in the current directory.
writeFile(String) - Method in class xapi.bytecode.CtClass
Writes a class file represented by this CtClass object on a local disk.
Writer() - Constructor for class xapi.bytecode.attributes.StackMap.Writer
Constructs a writer.
Writer(int) - Constructor for class xapi.bytecode.attributes.StackMapTable.Writer
Constructs a writer.
writeVerifyTypeInfo(int, int) - Method in class xapi.bytecode.attributes.StackMap.Writer
Writes a union verification_type_info value.

X

xapi.bytecode - package xapi.bytecode
 
xapi.bytecode.annotation - package xapi.bytecode.annotation
 
xapi.bytecode.api - package xapi.bytecode.api
 
xapi.bytecode.attributes - package xapi.bytecode.attributes
 
xapi.bytecode.impl - package xapi.bytecode.impl
 
A B C D E F G H I J L M N O P Q R S T U V W X 
Skip navigation links

Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.