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

A

accept(MemberValueVisitor) - Method in class xapi.bytecode.ArrayMemberValue
Accepts a visitor.
accept(MemberValueVisitor) - Method in class xapi.bytecode.BooleanMemberValue
Accepts a visitor.
accept(MemberValueVisitor) - Method in class xapi.bytecode.ByteMemberValue
Accepts a visitor.
accept(MemberValueVisitor) - Method in class xapi.bytecode.CharMemberValue
Accepts a visitor.
accept(MemberValueVisitor) - Method in class xapi.bytecode.ClassMemberValue
Accepts a visitor.
accept(MemberValueVisitor) - Method in class xapi.bytecode.DoubleMemberValue
Accepts a visitor.
accept(MemberValueVisitor) - Method in class xapi.bytecode.EnumMemberValue
Accepts a visitor.
accept(MemberValueVisitor) - Method in class xapi.bytecode.FloatMemberValue
Accepts a visitor.
accept(MemberValueVisitor) - Method in class xapi.bytecode.IntegerMemberValue
Accepts a visitor.
accept(MemberValueVisitor) - Method in class xapi.bytecode.LongMemberValue
Accepts a visitor.
accept(MemberValueVisitor) - Method in class xapi.bytecode.MemberValue
Accepts a visitor.
accept(MemberValueVisitor) - Method in class xapi.bytecode.ShortMemberValue
Accepts a visitor.
accept(MemberValueVisitor) - Method in class xapi.bytecode.StringMemberValue
Accepts a visitor.
accept(String, ByteCodeResource, Set<Class<? extends Annotation>>) - Method in class xapi.dev.scanner.ClasspathResourceMap
 
accessFlags(int) - Method in class xapi.bytecode.InnerClassesAttribute
Returns classes[nth].inner_class_access_flags.
addAnnotation(Annotation) - Method in class xapi.bytecode.AnnotationsAttribute
Adds an annotation.
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.
addBytecode(String, ByteCodeResource) - Method in class xapi.dev.scanner.ClasspathResourceMap
 
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.
addDoubleInfo(double) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_Double_info structure.
addEntry(JarFile, JarEntry) - Method in class xapi.dev.scanner.ClasspathScannerDefault.ScanRunner
 
addField(FieldInfo) - Method in class xapi.bytecode.ClassFile
Appends a field to the class.
addFieldrefInfo(int, String, String) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_Fieldref_info structure.
addFieldrefInfo(int, int) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_Fieldref_info structure.
addFile(File, String) - Method in class xapi.dev.scanner.ClasspathScannerDefault.ScanRunner
 
addFloatInfo(float) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_Float_info structure.
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.
addInterfaceMethodrefInfo(int, String, String) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_InterfaceMethodref_info structure.
addInterfaceMethodrefInfo(int, int) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_InterfaceMethodref_info structure.
addLongInfo(long) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_Long_info structure.
addMemberValue(int, MemberValue) - Method in class xapi.bytecode.Annotation
Adds a new member.
addMemberValue(String, MemberValue) - Method in class xapi.bytecode.Annotation
Adds a new member.
addMethod(MethodInfo) - Method in class xapi.bytecode.ClassFile
Just appends a method to the class.
addMethodrefInfo(int, String, String) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_Methodref_info structure.
addMethodrefInfo(int, int) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_Methodref_info structure.
addNameAndTypeInfo(String, String) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_NameAndType_info structure.
addNameAndTypeInfo(int, int) - Method in class xapi.bytecode.ConstPool
Adds a new CONSTANT_NameAndType_info structure.
addResource(String, StringDataResource) - Method in class xapi.dev.scanner.ClasspathResourceMap
 
addSourcecode(String, SourceCodeResource) - Method in class xapi.dev.scanner.ClasspathResourceMap
 
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.
Annotation - Class in xapi.bytecode
 
Annotation(int, ConstPool) - Constructor for class xapi.bytecode.Annotation
Constructs an annotation including no members.
Annotation(String, ConstPool) - Constructor for class xapi.bytecode.Annotation
Constructs an annotation including no members.
Annotation(ConstPool, CtClass) - Constructor for class xapi.bytecode.Annotation
Constructs an annotation that can be accessed through the interface represented by clazz.
annotation(String, int) - Method in class xapi.bytecode.AnnotationsWriter
Writes annotation.
annotation(int, int) - Method in class xapi.bytecode.AnnotationsWriter
Writes annotation.
AnnotationDefaultAttribute - Class in xapi.bytecode
 
AnnotationDefaultAttribute(ConstPool, byte[]) - Constructor for class xapi.bytecode.AnnotationDefaultAttribute
Constructs an AnnotationDefault_attribute.
AnnotationDefaultAttribute(ConstPool) - Constructor for class xapi.bytecode.AnnotationDefaultAttribute
Constructs an empty AnnotationDefault_attribute.
AnnotationImpl - Class in xapi.bytecode
 
AnnotationsAttribute - Class in xapi.bytecode
 
AnnotationsAttribute(ConstPool, String, byte[]) - Constructor for class xapi.bytecode.AnnotationsAttribute
Constructs a Runtime(In)VisibleAnnotations_attribute.
AnnotationsAttribute(ConstPool, String) - Constructor for class xapi.bytecode.AnnotationsAttribute
Constructs an empty Runtime(In)VisibleAnnotations_attribute.
AnnotationsWriter - Class in xapi.bytecode
 
AnnotationsWriter(OutputStream, ConstPool) - Constructor for class xapi.bytecode.AnnotationsWriter
Constructs with the given output stream.
annotationValue() - Method in class xapi.bytecode.AnnotationsWriter
Writes tag and annotation_value in member_value.
append(String, String, String, int) - Method in class xapi.bytecode.InnerClassesAttribute
Appends a new entry.
append(int, int, int, int) - Method in class xapi.bytecode.InnerClassesAttribute
Appends a new entry.
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.
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.
arrayDimension(String) - Static method in class xapi.bytecode.Descriptor
Computes the dimension of the array represented by the given descriptor.
ArrayMemberValue - Class in xapi.bytecode
 
ArrayMemberValue(ConstPool) - Constructor for class xapi.bytecode.ArrayMemberValue
Constructs an array.
ArrayMemberValue(MemberValue, ConstPool) - Constructor for class xapi.bytecode.ArrayMemberValue
Constructs an array.
arrayValue(int) - Method in class xapi.bytecode.AnnotationsWriter
Writes tag and array_value in member_value.
AttributeInfo - Class in xapi.bytecode
 
AttributeInfo(ConstPool, int, byte[]) - Constructor for class xapi.bytecode.AttributeInfo
 
AttributeInfo(ConstPool, String) - Constructor for class xapi.bytecode.AttributeInfo
 
AttributeInfo(ConstPool, String, byte[]) - Constructor for class xapi.bytecode.AttributeInfo
Constructs an attribute_info structure.
AttributeInfo(ConstPool, int, DataInputStream) - Constructor for class xapi.bytecode.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
 
BooleanMemberValue - Class in xapi.bytecode
 
BooleanMemberValue(int, ConstPool) - Constructor for class xapi.bytecode.BooleanMemberValue
Constructs a boolean constant value.
BooleanMemberValue(boolean, ConstPool) - Constructor for class xapi.bytecode.BooleanMemberValue
Constructs a boolean constant value.
BooleanMemberValue(ConstPool) - Constructor for class xapi.bytecode.BooleanMemberValue
Constructs a boolean constant value.
booleanType - Static variable in class xapi.bytecode.CtClass
The CtClass object representing the boolean type.
ByteCodeResource - Class in xapi.dev.scanner
 
ByteCodeResource(ClasspathResource) - Constructor for class xapi.dev.scanner.ByteCodeResource
 
ByteCodes - Enum in xapi.bytecode.api
 
ByteMemberValue - Class in xapi.bytecode
 
ByteMemberValue(int, ConstPool) - Constructor for class xapi.bytecode.ByteMemberValue
Constructs a byte constant value.
ByteMemberValue(byte, ConstPool) - Constructor for class xapi.bytecode.ByteMemberValue
Constructs a byte constant value.
ByteMemberValue(ConstPool) - Constructor for class xapi.bytecode.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
 
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.
changeReturnType(String, String) - Static method in class xapi.bytecode.Descriptor
Changes the return type included in the given descriptor.
CharMemberValue - Class in xapi.bytecode
 
CharMemberValue(int, ConstPool) - Constructor for class xapi.bytecode.CharMemberValue
Constructs a char constant value.
CharMemberValue(char, ConstPool) - Constructor for class xapi.bytecode.CharMemberValue
Constructs a char constant value.
CharMemberValue(ConstPool) - Constructor for class xapi.bytecode.CharMemberValue
Constructs a char constant value.
charType - Static variable in class xapi.bytecode.CtClass
The CtClass object representing the char type.
childFirstLookup - Variable in class xapi.bytecode.ClassPool
Determines the search order.
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(DataInputStream) - 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.
classInfoIndex(String) - Method in class xapi.bytecode.AnnotationsWriter
Writes tag and class_info_index in member_value.
classInfoIndex(int) - Method in class xapi.bytecode.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
 
ClassMemberValue(int, ConstPool) - Constructor for class xapi.bytecode.ClassMemberValue
Constructs a class value.
ClassMemberValue(String, ConstPool) - Constructor for class xapi.bytecode.ClassMemberValue
Constructs a class value.
ClassMemberValue(ConstPool) - Constructor for class xapi.bytecode.ClassMemberValue
Constructs a class value.
ClassPath - Interface in xapi.bytecode
 
ClasspathResource - Interface in xapi.dev.scanner
 
ClasspathResourceMap - Class in xapi.dev.scanner
 
ClasspathResourceMap(ExecutorService, Set<Class<? extends Annotation>>, Set<Pattern>, Set<Pattern>, Set<Pattern>) - Constructor for class xapi.dev.scanner.ClasspathResourceMap
 
ClasspathScanner - Interface in xapi.dev.scanner
Most runtime annotation scanner libraries are too heavyweight; they try to do too much.
ClasspathScannerDefault - Class in xapi.dev.scanner
 
ClasspathScannerDefault() - Constructor for class xapi.dev.scanner.ClasspathScannerDefault
 
ClasspathScannerDefault.ScanRunner - Class in xapi.dev.scanner
 
ClasspathScannerDefault.ScanRunner(URL, Iterable<String>, ClasspathResourceMap, int) - Constructor for class xapi.dev.scanner.ClasspathScannerDefault.ScanRunner
 
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.
clearImportedPackages() - Method in class xapi.bytecode.ClassPool
Clear all the package names recorded by importPackage().
close() - Method in class xapi.bytecode.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
 
compact() - Method in class xapi.bytecode.ClassFile
Eliminates dead constant pool items.
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
 
ConstantAttribute(ConstPool, int) - Constructor for class xapi.bytecode.ConstantAttribute
Constructs a ConstantValue attribute.
constPool - Variable in class xapi.bytecode.AttributeInfo
 
ConstPool - Class in xapi.bytecode
 
ConstPool(String) - Constructor for class xapi.bytecode.ConstPool
Constructs a constant pool table.
ConstPool(DataInput) - Constructor for class xapi.bytecode.ConstPool
Constructs a constant pool table from the given byte stream.
constValueIndex(boolean) - Method in class xapi.bytecode.AnnotationsWriter
Writes tag and const_value_index in member_value.
constValueIndex(byte) - Method in class xapi.bytecode.AnnotationsWriter
Writes tag and const_value_index in member_value.
constValueIndex(char) - Method in class xapi.bytecode.AnnotationsWriter
Writes tag and const_value_index in member_value.
constValueIndex(short) - Method in class xapi.bytecode.AnnotationsWriter
Writes tag and const_value_index in member_value.
constValueIndex(int) - Method in class xapi.bytecode.AnnotationsWriter
Writes tag and const_value_index in member_value.
constValueIndex(long) - Method in class xapi.bytecode.AnnotationsWriter
Writes tag and const_value_index in member_value.
constValueIndex(float) - Method in class xapi.bytecode.AnnotationsWriter
Writes tag and const_value_index in member_value.
constValueIndex(double) - Method in class xapi.bytecode.AnnotationsWriter
Writes tag and const_value_index in member_value.
constValueIndex(String) - Method in class xapi.bytecode.AnnotationsWriter
Writes tag and const_value_index in member_value.
constValueIndex(int, int) - Method in class xapi.bytecode.AnnotationsWriter
Writes tag and const_value_index in member_value.
copy(ConstPool, Map<?, ?>) - Method in class xapi.bytecode.AnnotationDefaultAttribute
Copies this attribute and returns a new copy.
copy(ConstPool, Map<?, ?>) - Method in class xapi.bytecode.AnnotationsAttribute
Copies this attribute and returns a new copy.
copy(ConstPool, Map<?, ?>) - Method in class xapi.bytecode.AttributeInfo
Makes a copy.
copy(ConstPool, Map<?, ?>) - Method in class xapi.bytecode.ConstantAttribute
Makes a copy.
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(ConstPool, Map<?, ?>) - Method in class xapi.bytecode.InnerClassesAttribute
Makes a copy.
copy(ConstPool, Map<?, ?>) - Method in class xapi.bytecode.ParameterAnnotationsAttribute
Copies this attribute and returns a new copy.
copy(ConstPool, Map<?, ?>) - Method in class xapi.bytecode.SignatureAttribute
Makes a copy.
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
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
 
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.
CtPrimitiveType - Class in xapi.bytecode
 
currentChar() - Method in class xapi.bytecode.Descriptor.Iterator
Returns the first character of the current element.

D

dataSize(String) - Static method in class xapi.bytecode.Descriptor
Computes the data size specified by the given descriptor.
declaringClass - Variable in class xapi.bytecode.CtMember
 
defrost() - Method in class xapi.bytecode.CtClass
Defrosts the class so that the class can be modified again.
DelegateClasspathResource - Class in xapi.dev.scanner
 
DelegateClasspathResource(ClasspathResource) - Constructor for class xapi.dev.scanner.DelegateClasspathResource
 
Descriptor - Class in xapi.bytecode
 
Descriptor() - Constructor for class xapi.bytecode.Descriptor
 
Descriptor.Iterator - Class in xapi.bytecode
An Iterator over a descriptor.
Descriptor.Iterator(String) - Constructor for class xapi.bytecode.Descriptor.Iterator
Constructs an iterator.
detach() - Method in class xapi.bytecode.CtClass
Removes this CtClass object from the ClassPool.
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.
DoubleMemberValue - Class in xapi.bytecode
 
DoubleMemberValue(int, ConstPool) - Constructor for class xapi.bytecode.DoubleMemberValue
Constructs a double constant value.
DoubleMemberValue(double, ConstPool) - Constructor for class xapi.bytecode.DoubleMemberValue
Constructs a double constant value.
DoubleMemberValue(ConstPool) - Constructor for class xapi.bytecode.DoubleMemberValue
Constructs a double constant value.
doubleType - Static variable in class xapi.bytecode.CtClass
The CtClass object representing the double type.

E

enumConstValue(String, String) - Method in class xapi.bytecode.AnnotationsWriter
Writes tag and enum_const_value in member_value.
enumConstValue(int, int) - Method in class xapi.bytecode.AnnotationsWriter
Writes tag and enum_const_value in member_value.
EnumMemberValue - Class in xapi.bytecode
 
EnumMemberValue(int, int, ConstPool) - Constructor for class xapi.bytecode.EnumMemberValue
Constructs an enum constant value.
EnumMemberValue(ConstPool) - Constructor for class xapi.bytecode.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
Returns true if the given object represents the same annotation as this object.
equals(Object) - Method in class xapi.bytecode.CtMethod
Indicates whether obj has the same name and the same signature as this method.
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.

F

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.
FileBackedResource - Class in xapi.dev.scanner
 
FileBackedResource(String, File, int) - Constructor for class xapi.dev.scanner.FileBackedResource
 
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.
findClassAnnotatedWith(Class<? extends Annotation>...) - Method in class xapi.dev.scanner.ClasspathResourceMap
 
findResources(String, Pattern...) - Method in class xapi.dev.scanner.ClasspathResourceMap
 
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.
FloatMemberValue - Class in xapi.bytecode
 
FloatMemberValue(int, ConstPool) - Constructor for class xapi.bytecode.FloatMemberValue
Constructs a float constant value.
FloatMemberValue(float, ConstPool) - Constructor for class xapi.bytecode.FloatMemberValue
Constructs a float constant value.
FloatMemberValue(ConstPool) - Constructor for class xapi.bytecode.FloatMemberValue
Constructs a float constant value.
floatType - Static variable in class xapi.bytecode.CtClass
The CtClass object representing the float type.
freeze() - Method in class xapi.bytecode.CtClass
Makes the class frozen.

G

get() - Method in class xapi.bytecode.AttributeInfo
Returns the info field of this attribute_info structure.
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.
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() - Method in class xapi.bytecode.AnnotationImpl
Obtains the internal data structure representing the annotation.
getAnnotation(String) - Method in class xapi.bytecode.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.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.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.
getAnnotations() - Method in class xapi.bytecode.AnnotationsAttribute
Parses the annotations and returns a data structure representing that parsed annotations.
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.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.ParameterAnnotationsAttribute
Parses the annotations and returns a data structure representing that parsed annotations.
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.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.MethodInfo
Returns the attribute with the specified name.
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.MethodInfo
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.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.SignatureAttribute.TypeParameter
Returns the class bound of this parameter.
getClassData() - Method in class xapi.dev.scanner.ByteCodeResource
 
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).
getClassInfo(int) - Method in class xapi.bytecode.ConstPool
Reads CONSTANT_Class_info structure at the given index.
getClassLoader() - Method in class xapi.bytecode.ClassPool
Get the classloader for toClass(), getAnnotations() in CtClass, etc.
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.
getCompileAnnotation(String) - Method in class xapi.bytecode.ClassFile
This method returns any compile annotations on the given classfile.
getComponentType() - Method in class xapi.bytecode.CtClass
If this object represents an array, this method returns the component type of the array.
getComponentType() - Method in class xapi.bytecode.SignatureAttribute.ArrayType
Returns the component type.
getConstantValue() - Method in class xapi.bytecode.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.AnnotationsWriter
Obtains the constant pool given to the constructor.
getConstPool() - Method in class xapi.bytecode.AttributeInfo
Returns 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.
getCtClass(String) - Method in class xapi.bytecode.ClassPool
Returns a CtClass object with the given name.
getCtlass() - Method in class xapi.bytecode.SignatureAttribute.BaseType
Returns the CtClass representing this primitive type.
getDataSize() - Method in class xapi.bytecode.CtPrimitiveType
Returns the data size of the primitive type.
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.
getDeclaredMethods() - Method in class xapi.bytecode.CtClass
Gets all methods declared in the 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.CtField
Returns the class declaring the field.
getDeclaringClass() - Method in class xapi.bytecode.CtMember
Returns the class that declares this member.
getDeclaringClass() - Method in class xapi.bytecode.SignatureAttribute.ClassType
If this class is a member of another class, returns the class in which this class is declared.
getDeclaringClass() - Method in class xapi.bytecode.SignatureAttribute.NestedClassType
Returns the class that declares this nested class.
getDefault() - Static method in class xapi.bytecode.ClassPool
Returns the default class pool.
getDefaultValue() - Method in class xapi.bytecode.AnnotationDefaultAttribute
Obtains the default value represented by this attribute.
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.
getDescriptor() - Method in class xapi.bytecode.SignatureAttribute.BaseType
Returns the descriptor representing this primitive type.
getDimension() - Method in class xapi.bytecode.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.
getExceptionTypes() - Method in class xapi.bytecode.SignatureAttribute.MethodSignature
Returns the types of the exceptions that may be thrown.
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.
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.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.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.SignatureAttribute.ClassSignature
Returns the super interfaces.
getKind() - Method in class xapi.bytecode.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.
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.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.
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
Obtains all the member names.
getMemberValue(String) - Method in class xapi.bytecode.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.
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.
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.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.AttributeInfo
Returns an attribute 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.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.
getName() - Method in class xapi.bytecode.SignatureAttribute.ClassType
Returns the class name.
getName() - Method in class xapi.bytecode.SignatureAttribute.TypeParameter
Returns the name of the type parameter.
getName() - Method in class xapi.bytecode.SignatureAttribute.TypeVariable
Returns the variable 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.
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.
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.SignatureAttribute.ClassSignature
Returns the type 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.
getParameterTypes() - Method in class xapi.bytecode.SignatureAttribute.MethodSignature
Returns the types of the formal parameters.
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 interface xapi.dev.scanner.ClasspathResource
 
getResourceName() - Method in class xapi.dev.scanner.DelegateClasspathResource
 
getResourceName() - Method in class xapi.dev.scanner.FileBackedResource
 
getResourceName() - Method in class xapi.dev.scanner.JarBackedResource
 
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.
getReturnType() - Method in class xapi.bytecode.SignatureAttribute.MethodSignature
Returns the type of the returned value.
getRuntimeAnnotation(String) - Method in class xapi.bytecode.ClassFile
This method returns any runtime annotations on the given classfile.
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.SignatureAttribute
Returns the signature indicated by signature_index.
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.
getSource() - Method in class xapi.dev.scanner.SourceCodeResource
 
getSourceFile() - Method in class xapi.bytecode.ClassFile
Returns the source file containing this class.
getStringInfo(int) - Method in class xapi.bytecode.ConstPool
Reads CONSTANT_String_info structure at the given index.
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.SignatureAttribute.ClassSignature
Returns the super class.
getSuperclassId() - Method in class xapi.bytecode.ClassFile
Returns the index of the constant pool entry representing the super class.
getTag(int) - Method in class xapi.bytecode.ConstPool
Returns the tag field of the constant pool table entry at the given index.
getThisClassInfo() - Method in class xapi.bytecode.ConstPool
Returns the index of CONSTANT_Class_info structure specifying the class using this constant pool table.
getType() - Method in class xapi.bytecode.ArrayMemberValue
Obtains the type of the elements.
getType() - Method in class xapi.bytecode.CtField
Returns the type of the field.
getType() - Method in class xapi.bytecode.EnumMemberValue
Obtains the enum type name.
getType() - Method in class xapi.bytecode.SignatureAttribute.TypeArgument
Returns the type represented by this argument if the argument is not a wildcard type.
getTypeArguments() - Method in class xapi.bytecode.SignatureAttribute.ClassType
Returns the type arguments.
getTypeName() - Method in class xapi.bytecode.Annotation
Obtains the name of the annotation type.
getTypeName() - Method in class xapi.bytecode.AnnotationImpl
Obtains the name of the annotation type.
getTypeParameters() - Method in class xapi.bytecode.SignatureAttribute.MethodSignature
Returns the formal type parameters.
getURL() - Method in class xapi.bytecode.CtClass
Returns the uniform resource locator (URL) of the class file.
getUtf8Info(int) - Method in class xapi.bytecode.ConstPool
Reads CONSTANT_utf8_info structure at the given index.
getValue() - Method in class xapi.bytecode.ArrayMemberValue
Obtains the elements of the array.
getValue() - Method in class xapi.bytecode.BooleanMemberValue
Obtains the value of the member.
getValue() - Method in class xapi.bytecode.ByteMemberValue
Obtains the value of the member.
getValue() - Method in class xapi.bytecode.CharMemberValue
Obtains the value of the member.
getValue() - Method in class xapi.bytecode.ClassMemberValue
Obtains the value of the member.
getValue() - Method in class xapi.bytecode.DoubleMemberValue
Obtains the value of the member.
getValue() - Method in class xapi.bytecode.EnumMemberValue
Obtains the name of the enum constant value.
getValue() - Method in class xapi.bytecode.FloatMemberValue
Obtains the value of the member.
getValue() - Method in class xapi.bytecode.IntegerMemberValue
Obtains the value of the member.
getValue() - Method in class xapi.bytecode.LongMemberValue
Obtains the value of the member.
getValue() - Method in class xapi.bytecode.ShortMemberValue
Obtains the value of the member.
getValue() - Method in class xapi.bytecode.StringMemberValue
Obtains the value of the member.
getWrapperName() - Method in class xapi.bytecode.CtPrimitiveType
Returns the name of the wrapper class.

H

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.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.
hashCode() - Method in class xapi.bytecode.AnnotationImpl
Returns a hash code value for this object.
hashCode() - Method in class xapi.bytecode.CtMethod
Returns a hash code value for the method.
hasNext() - Method in class xapi.bytecode.Descriptor.Iterator
Returns true if the iteration has more elements.
hasNext() - Method in class xapi.dev.scanner.ResourceCollection.FileResourceIterator
 
hasNext() - Method in class xapi.dev.scanner.ResourceCollection.JarResourceIterator
 

I

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.
includeBytecode(String) - Method in class xapi.dev.scanner.ClasspathResourceMap
 
includeResource(String) - Method in class xapi.dev.scanner.ClasspathResourceMap
 
includeSourcecode(String) - Method in class xapi.dev.scanner.ClasspathResourceMap
 
initCause(Throwable) - Method in exception xapi.bytecode.CannotCompileException
Initializes the cause of this throwable.
innerClass(int) - Method in class xapi.bytecode.InnerClassesAttribute
Returns the class name indicated by classes[nth].inner_class_info_index.
InnerClassesAttribute - Class in xapi.bytecode
 
InnerClassesAttribute(ConstPool) - Constructor for class xapi.bytecode.InnerClassesAttribute
Constructs an empty InnerClasses attribute.
innerClassIndex(int) - Method in class xapi.bytecode.InnerClassesAttribute
Returns classes[nth].inner_class_info_index.
innerName(int) - Method in class xapi.bytecode.InnerClassesAttribute
Returns the simple class name indicated by classes[nth].inner_name_index.
innerNameIndex(int) - Method in class xapi.bytecode.InnerClassesAttribute
Returns classes[nth].inner_name_index.
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.
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.
IntegerMemberValue - Class in xapi.bytecode
 
IntegerMemberValue(int, ConstPool) - Constructor for class xapi.bytecode.IntegerMemberValue
Constructs an int constant value.
IntegerMemberValue(ConstPool, int) - Constructor for class xapi.bytecode.IntegerMemberValue
Constructs an int constant value.
IntegerMemberValue(ConstPool) - Constructor for class xapi.bytecode.IntegerMemberValue
Constructs an int constant value.
intType - Static variable in class xapi.bytecode.CtClass
The CtClass object representing the int type.
invisibleTag - Static variable in class xapi.bytecode.AnnotationsAttribute
The name of the RuntimeInvisibleAnnotations attribute.
invisibleTag - Static variable in class xapi.bytecode.ParameterAnnotationsAttribute
The name of the RuntimeInvisibleParameterAnnotations attribute.
invoke(Object, Method, Object[]) - Method in class xapi.bytecode.AnnotationImpl
Executes a method invocation on a proxy instance.
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.
isArray() - Method in class xapi.bytecode.CtClass
Returns true if this object represents an array type.
IsByteCode - Interface in xapi.bytecode.api
 
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.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.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.
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.
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.
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.
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).
isWildcard() - Method in class xapi.bytecode.SignatureAttribute.TypeArgument
Returns true if this type argument is a wildcard type such as ?, ? extends String, or ? super Integer.
iterator() - Method in class xapi.dev.scanner.ResourceCollection.FileResourceIterable
 
iterator() - Method in class xapi.dev.scanner.ResourceCollection
 
iterator() - Method in class xapi.dev.scanner.ResourceCollection.JarResourceIterable
 

J

JarBackedResource - Class in xapi.dev.scanner
 
JarBackedResource(JarFile, JarEntry, int) - Constructor for class xapi.dev.scanner.JarBackedResource
 
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.

L

length() - Method in class xapi.bytecode.AttributeInfo
Returns the length of this attribute_info structure.
LongMemberValue - Class in xapi.bytecode
 
LongMemberValue(int, ConstPool) - Constructor for class xapi.bytecode.LongMemberValue
Constructs a long constant value.
LongMemberValue(long, ConstPool) - Constructor for class xapi.bytecode.LongMemberValue
Constructs a long constant value.
LongMemberValue(ConstPool) - Constructor for class xapi.bytecode.LongMemberValue
Constructs a long constant value.
longType - Static variable in class xapi.bytecode.CtClass
The CtClass object representing the long type.

M

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.AnnotationImpl
Constructs an annotation object.
make(MethodInfo, CtClass) - Static method in class xapi.bytecode.CtMethod
Creates a method from a MethodInfo object.
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.
makeClassIfNew(InputStream) - Method in class xapi.bytecode.ClassPool
Creates a new class (or interface) from the given class file.
makeNestedClass(String, boolean) - Method in class xapi.bytecode.CtClass
Makes a new public nested class.
makeUniqueName(String) - Method in class xapi.bytecode.CtClass
Makes a unique member name.
matchClassFile(String) - Method in interface xapi.dev.scanner.ClasspathScanner
 
matchClassFile(String) - Method in class xapi.dev.scanner.ClasspathScannerDefault
 
matchClassFiles(String...) - Method in interface xapi.dev.scanner.ClasspathScanner
 
matchClassFiles(String...) - Method in class xapi.dev.scanner.ClasspathScannerDefault
 
matchResource(String) - Method in interface xapi.dev.scanner.ClasspathScanner
 
matchResource(String) - Method in class xapi.dev.scanner.ClasspathScannerDefault
 
matchResources(String...) - Method in interface xapi.dev.scanner.ClasspathScanner
 
matchResources(String...) - Method in class xapi.dev.scanner.ClasspathScannerDefault
 
matchSourceFile(String) - Method in interface xapi.dev.scanner.ClasspathScanner
 
matchSourceFile(String) - Method in class xapi.dev.scanner.ClasspathScannerDefault
 
matchSourceFiles(String...) - Method in interface xapi.dev.scanner.ClasspathScanner
 
matchSourceFiles(String...) - Method in class xapi.dev.scanner.ClasspathScannerDefault
 
MemberValue - Class in xapi.bytecode
 
memberValuePair(String) - Method in class xapi.bytecode.AnnotationsWriter
Writes an element of a member_value_pairs array in annotation.
memberValuePair(int) - Method in class xapi.bytecode.AnnotationsWriter
Writes an element of a member_value_pairs array in annotation.
MemberValueVisitor - Interface in xapi.bytecode
 
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.

N

nameClinit - Static variable in class xapi.bytecode.MethodInfo
The name of class initializer (static initializer): <clinit>.
nameInit - Static variable in class xapi.bytecode.MethodInfo
The name of constructors: <init>.
next() - Method in class xapi.bytecode.Descriptor.Iterator
Returns the position of the next type character.
next() - Method in class xapi.dev.scanner.ResourceCollection.FileResourceIterator
 
next() - Method in class xapi.dev.scanner.ResourceCollection.JarResourceIterator
 
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
 
numAnnotations() - Method in class xapi.bytecode.AnnotationsAttribute
Returns num_annotations.
numAnnotations(int) - Method in class xapi.bytecode.AnnotationsWriter
Writes num_annotations in Runtime(In)VisibleAnnotations_attribute.
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.AnnotationsWriter
Writes num_parameters in Runtime(In)VisibleParameterAnnotations_attribute.
numParameters() - Method in class xapi.bytecode.ParameterAnnotationsAttribute
Returns num_parameters.

O

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.
open() - Method in interface xapi.dev.scanner.ClasspathResource
 
open() - Method in class xapi.dev.scanner.DelegateClasspathResource
 
open() - Method in class xapi.dev.scanner.FileBackedResource
 
open() - Method in class xapi.dev.scanner.JarBackedResource
 
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.InnerClassesAttribute
Returns the class name indicated by classes[nth].outer_class_info_index.
outerClassIndex(int) - Method in class xapi.bytecode.InnerClassesAttribute
Returns classes[nth].outer_class_info_index.

P

ParameterAnnotationsAttribute - Class in xapi.bytecode
 
ParameterAnnotationsAttribute(ConstPool, String, byte[]) - Constructor for class xapi.bytecode.ParameterAnnotationsAttribute
Constructs a Runtime(In)VisibleParameterAnnotations_attribute.
ParameterAnnotationsAttribute(ConstPool, String) - Constructor for class xapi.bytecode.ParameterAnnotationsAttribute
Constructs an empty Runtime(In)VisibleParameterAnnotations_attribute.
paramSize(String) - Static method in class xapi.bytecode.Descriptor
Computes the data size of parameters.
parent - Variable in class xapi.bytecode.ClassPool
 
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.
priority() - Method in interface xapi.dev.scanner.ClasspathResource
 
priority() - Method in class xapi.dev.scanner.DelegateClasspathResource
 
priority() - Method in class xapi.dev.scanner.FileBackedResource
 
priority() - Method in class xapi.dev.scanner.JarBackedResource
 
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.
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
 
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.

Q

qualifiedName - Variable in class xapi.bytecode.CtClass
 

R

readAll() - Method in class xapi.dev.scanner.StringDataResource
 
readLines() - Method in class xapi.dev.scanner.StringDataResource
 
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().
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() - Method in class xapi.dev.scanner.ResourceCollection.FileResourceIterator
 
remove() - Method in class xapi.dev.scanner.ResourceCollection.JarResourceIterator
 
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.
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(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(String, String) - Method in class xapi.bytecode.ConstPool
Replaces all occurrences of a class name.
renameClass(Map<?, ?>) - Method in class xapi.bytecode.ConstPool
Replaces all occurrences of class names.
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.
ResourceCollection - Class in xapi.dev.scanner
 
ResourceCollection(File) - Constructor for class xapi.dev.scanner.ResourceCollection
 
ResourceCollection(String, JarFile) - Constructor for class xapi.dev.scanner.ResourceCollection
 
ResourceCollection.FileResourceIterable - Class in xapi.dev.scanner
 
ResourceCollection.FileResourceIterable(File) - Constructor for class xapi.dev.scanner.ResourceCollection.FileResourceIterable
 
ResourceCollection.FileResourceIterator - Class in xapi.dev.scanner
 
ResourceCollection.FileResourceIterator(File) - Constructor for class xapi.dev.scanner.ResourceCollection.FileResourceIterator
 
ResourceCollection.JarResourceIterable - Class in xapi.dev.scanner
 
ResourceCollection.JarResourceIterable(String, JarFile) - Constructor for class xapi.dev.scanner.ResourceCollection.JarResourceIterable
 
ResourceCollection.JarResourceIterator - Class in xapi.dev.scanner
 
ResourceCollection.JarResourceIterator(JarEntry) - Constructor for class xapi.dev.scanner.ResourceCollection.JarResourceIterator
 
run() - Method in class xapi.dev.scanner.ClasspathScannerDefault.ScanRunner
 

S

scan(ClassLoader) - Method in interface xapi.dev.scanner.ClasspathScanner
 
scan(ClassLoader, ExecutorService) - Method in interface xapi.dev.scanner.ClasspathScanner
 
scan(ClassLoader) - Method in class xapi.dev.scanner.ClasspathScannerDefault
 
scan(ClassLoader, ExecutorService) - Method in class xapi.dev.scanner.ClasspathScannerDefault
 
scanAnnotation(Class<? extends Annotation>) - Method in interface xapi.dev.scanner.ClasspathScanner
 
scanAnnotation(Class<? extends Annotation>) - Method in class xapi.dev.scanner.ClasspathScannerDefault
 
scanAnnotations(Class<? extends Annotation>...) - Method in interface xapi.dev.scanner.ClasspathScanner
 
scanAnnotations(Class<? extends Annotation>...) - Method in class xapi.dev.scanner.ClasspathScannerDefault
 
scanPackage(String) - Method in interface xapi.dev.scanner.ClasspathScanner
 
scanPackage(String) - Method in class xapi.dev.scanner.ClasspathScannerDefault
 
scanPackages(String...) - Method in interface xapi.dev.scanner.ClasspathScanner
 
scanPackages(String...) - Method in class xapi.dev.scanner.ClasspathScannerDefault
 
set(byte[]) - Method in class xapi.bytecode.AttributeInfo
Sets the info field of this attribute_info structure.
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, int) - Method in class xapi.bytecode.InnerClassesAttribute
Sets classes[nth].inner_class_access_flags to the given index.
setAccessFlags(int) - Method in class xapi.bytecode.MethodInfo
Sets access flags.
setAnnotation(Annotation) - Method in class xapi.bytecode.AnnotationsAttribute
Changes the annotations.
setAnnotations(Annotation[]) - Method in class xapi.bytecode.AnnotationsAttribute
Changes the annotations represented by this object according to the given array of Annotation objects.
setAnnotations(Annotation[][]) - Method in class xapi.bytecode.ParameterAnnotationsAttribute
Changes the annotations represented by this object according to the given array of Annotation objects.
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.CtField
Adds an attribute.
setAttribute(String, byte[]) - Method in class xapi.bytecode.CtMember
Adds a user-defined attribute.
setDefaultValue(MemberValue) - Method in class xapi.bytecode.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.
setInnerClassIndex(int, int) - Method in class xapi.bytecode.InnerClassesAttribute
Sets classes[nth].inner_class_info_index to the given index.
setInnerNameIndex(int, int) - Method in class xapi.bytecode.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.
setMajorVersion(int) - Method in class xapi.bytecode.ClassFile
Set the major version.
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.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.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.InnerClassesAttribute
Sets classes[nth].outer_class_info_index to the given index.
setSignature(String) - Method in class xapi.bytecode.SignatureAttribute
Sets signature_index to the index of the given signature, which is added to a constant pool.
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.
setType(CtClass) - Method in class xapi.bytecode.CtField
Sets the type of the field.
setType(String) - Method in class xapi.bytecode.EnumMemberValue
Changes the enum type name.
setValue(MemberValue[]) - Method in class xapi.bytecode.ArrayMemberValue
Sets the elements of the array.
setValue(boolean) - Method in class xapi.bytecode.BooleanMemberValue
Sets the value of the member.
setValue(byte) - Method in class xapi.bytecode.ByteMemberValue
Sets the value of the member.
setValue(char) - Method in class xapi.bytecode.CharMemberValue
Sets the value of the member.
setValue(String) - Method in class xapi.bytecode.ClassMemberValue
Sets the value of the member.
setValue(double) - Method in class xapi.bytecode.DoubleMemberValue
Sets the value of the member.
setValue(String) - Method in class xapi.bytecode.EnumMemberValue
Changes the name of the enum constant value.
setValue(float) - Method in class xapi.bytecode.FloatMemberValue
Sets the value of the member.
setValue(int) - Method in class xapi.bytecode.IntegerMemberValue
Sets the value of the member.
setValue(long) - Method in class xapi.bytecode.LongMemberValue
Sets the value of the member.
setValue(short) - Method in class xapi.bytecode.ShortMemberValue
Sets the value of the member.
setValue(String) - Method in class xapi.bytecode.StringMemberValue
Sets the value of the member.
setVersionToJava5() - Method in class xapi.bytecode.ClassFile
Sets the major and minor version to Java 5.
ShortMemberValue - Class in xapi.bytecode
 
ShortMemberValue(int, ConstPool) - Constructor for class xapi.bytecode.ShortMemberValue
Constructs a short constant value.
ShortMemberValue(short, ConstPool) - Constructor for class xapi.bytecode.ShortMemberValue
Constructs a short constant value.
ShortMemberValue(ConstPool) - Constructor for class xapi.bytecode.ShortMemberValue
Constructs a short constant value.
shortType - Static variable in class xapi.bytecode.CtClass
The CtClass object representing the short type.
SignatureAttribute - Class in xapi.bytecode
 
SignatureAttribute(ConstPool, String) - Constructor for class xapi.bytecode.SignatureAttribute
Constructs a Signature attribute.
SignatureAttribute.ArrayType - Class in xapi.bytecode
Array types.
SignatureAttribute.ArrayType(int, SignatureAttribute.Type) - Constructor for class xapi.bytecode.SignatureAttribute.ArrayType
 
SignatureAttribute.BaseType - Class in xapi.bytecode
Primitive types.
SignatureAttribute.ClassSignature - Class in xapi.bytecode
Class signature.
SignatureAttribute.ClassType - Class in xapi.bytecode
Class types.
SignatureAttribute.MethodSignature - Class in xapi.bytecode
Method type signature.
SignatureAttribute.NestedClassType - Class in xapi.bytecode
Nested class types.
SignatureAttribute.ObjectType - Class in xapi.bytecode
Class types, array types, and type variables.
SignatureAttribute.ObjectType() - Constructor for class xapi.bytecode.SignatureAttribute.ObjectType
 
SignatureAttribute.Type - Class in xapi.bytecode
Primitive types and object types.
SignatureAttribute.Type() - Constructor for class xapi.bytecode.SignatureAttribute.Type
 
SignatureAttribute.TypeArgument - Class in xapi.bytecode
Type argument.
SignatureAttribute.TypeParameter - Class in xapi.bytecode
Formal type parameters.
SignatureAttribute.TypeVariable - Class in xapi.bytecode
Type variables.
source - Variable in class xapi.bytecode.ClassPool
 
SourceCodeResource - Class in xapi.dev.scanner
 
SourceCodeResource(ClasspathResource) - Constructor for class xapi.dev.scanner.SourceCodeResource
 
stopPruning(boolean) - Method in class xapi.bytecode.CtClass
Disallows (or allows) automatically pruning this CtClass object.
StringDataResource - Class in xapi.dev.scanner
 
StringDataResource(ClasspathResource) - Constructor for class xapi.dev.scanner.StringDataResource
 
StringMemberValue - Class in xapi.bytecode
 
StringMemberValue(int, ConstPool) - Constructor for class xapi.bytecode.StringMemberValue
Constructs a string constant value.
StringMemberValue(String, ConstPool) - Constructor for class xapi.bytecode.StringMemberValue
Constructs a string constant value.
StringMemberValue(ConstPool) - Constructor for class xapi.bytecode.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.
subtypeOf(CtClass) - Method in class xapi.bytecode.CtClass
Returns true if this class extends or implements clazz.

T

tableLength() - Method in class xapi.bytecode.InnerClassesAttribute
Returns number_of_classes.
tag - Static variable in class xapi.bytecode.AnnotationDefaultAttribute
The name of the AnnotationDefault attribute.
tag - Static variable in class xapi.bytecode.ConstantAttribute
The name of this attribute "ConstantValue".
tag - Static variable in class xapi.bytecode.InnerClassesAttribute
The name of this attribute "InnerClasses".
tag - Static variable in class xapi.bytecode.SignatureAttribute
The name of this attribute "Signature".
THIS - Static variable in class xapi.bytecode.ConstPool
Represents the class using this constant pool table.
toAnnotationType(ClassLoader, ClassPool) - Method in class xapi.bytecode.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.
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.SignatureAttribute
Parses the given signature string as a class signature.
toCtClass(String, ClassPool) - Static method in class xapi.bytecode.Descriptor
Returns a CtClass object representing the type specified by the given descriptor.
toFieldSignature(String) - Static method in class xapi.bytecode.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.
toMethodSignature(String) - Static method in class xapi.bytecode.SignatureAttribute
Parses the given signature string as a method type signature.
toString() - Method in class xapi.bytecode.Annotation
Returns a string representation of the annotation.
toString() - Method in class xapi.bytecode.AnnotationDefaultAttribute
Returns a string representation of this object.
toString() - Method in class xapi.bytecode.AnnotationsAttribute
Returns a string representation of this object.
toString() - Method in class xapi.bytecode.ArrayMemberValue
Obtains the string representation of this object.
toString() - Method in class xapi.bytecode.BooleanMemberValue
Obtains the string representation of this object.
toString() - Method in class xapi.bytecode.ByteMemberValue
Obtains the string representation of this object.
toString() - Method in class xapi.bytecode.CharMemberValue
Obtains the string representation of this object.
toString() - Method in class xapi.bytecode.ClassClassPath
 
toString() - Method in class xapi.bytecode.ClassMemberValue
Obtains the string representation of this object.
toString() - Method in class xapi.bytecode.ClassPool
Returns the class search path.
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.DoubleMemberValue
Obtains the string representation of this object.
toString() - Method in class xapi.bytecode.EnumMemberValue
 
toString() - Method in class xapi.bytecode.FieldInfo
Returns a string representation of the object.
toString() - Method in class xapi.bytecode.FloatMemberValue
Obtains the string representation of this object.
toString() - Method in class xapi.bytecode.IntegerMemberValue
Obtains the string representation of this object.
toString() - Method in class xapi.bytecode.LongMemberValue
Obtains the string representation of this object.
toString() - Method in class xapi.bytecode.MethodInfo
Returns a string representation of the object.
toString() - Method in class xapi.bytecode.ShortMemberValue
Obtains the string representation of this object.
toString() - Method in class xapi.bytecode.SignatureAttribute.ArrayType
Returns the string representation.
toString() - Method in class xapi.bytecode.SignatureAttribute.BaseType
Returns the string representation.
toString() - Method in class xapi.bytecode.SignatureAttribute.ClassSignature
Returns the string representation.
toString() - Method in class xapi.bytecode.SignatureAttribute.ClassType
Returns the string representation.
toString() - Method in class xapi.bytecode.SignatureAttribute.MethodSignature
Returns the string representation.
toString() - Method in class xapi.bytecode.SignatureAttribute.TypeArgument
Returns the string representation.
toString() - Method in class xapi.bytecode.SignatureAttribute.TypeParameter
Returns the string representation.
toString() - Method in class xapi.bytecode.SignatureAttribute.TypeVariable
Returns the string representation.
toString() - Method in class xapi.bytecode.StringMemberValue
Obtains the string representation of this object.

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.
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.AnnotationsAttribute
The name of the RuntimeVisibleAnnotations attribute.
visibleTag - Static variable in class xapi.bytecode.ParameterAnnotationsAttribute
The name of the RuntimeVisibleParameterAnnotations attribute.
visitAnnotationMemberValue(AnnotationMemberValue) - Method in interface xapi.bytecode.MemberValueVisitor
 
visitArrayMemberValue(ArrayMemberValue) - Method in interface xapi.bytecode.MemberValueVisitor
 
visitBooleanMemberValue(BooleanMemberValue) - Method in interface xapi.bytecode.MemberValueVisitor
 
visitByteMemberValue(ByteMemberValue) - Method in interface xapi.bytecode.MemberValueVisitor
 
visitCharMemberValue(CharMemberValue) - Method in interface xapi.bytecode.MemberValueVisitor
 
visitClassMemberValue(ClassMemberValue) - Method in interface xapi.bytecode.MemberValueVisitor
 
visitDoubleMemberValue(DoubleMemberValue) - Method in interface xapi.bytecode.MemberValueVisitor
 
visitEnumMemberValue(EnumMemberValue) - Method in interface xapi.bytecode.MemberValueVisitor
 
visitFloatMemberValue(FloatMemberValue) - Method in interface xapi.bytecode.MemberValueVisitor
 
visitIntegerMemberValue(IntegerMemberValue) - Method in interface xapi.bytecode.MemberValueVisitor
 
visitLongMemberValue(LongMemberValue) - Method in interface xapi.bytecode.MemberValueVisitor
 
visitShortMemberValue(ShortMemberValue) - Method in interface xapi.bytecode.MemberValueVisitor
 
visitStringMemberValue(StringMemberValue) - Method in interface xapi.bytecode.MemberValueVisitor
 
voidType - Static variable in class xapi.bytecode.CtClass
The CtClass object representing the void type.

W

width() - Method in enum xapi.bytecode.api.ByteCodes
 
width() - Method in interface xapi.bytecode.api.IsByteCode
 
write(AnnotationsWriter) - Method in class xapi.bytecode.Annotation
Writes this annotation.
write(AnnotationsWriter) - Method in class xapi.bytecode.ArrayMemberValue
Writes the value.
write(AnnotationsWriter) - Method in class xapi.bytecode.BooleanMemberValue
Writes the value.
write(AnnotationsWriter) - Method in class xapi.bytecode.ByteMemberValue
Writes the value.
write(AnnotationsWriter) - Method in class xapi.bytecode.CharMemberValue
Writes the value.
write(DataOutputStream) - Method in class xapi.bytecode.ClassFile
Writes a class file represened by this object into an output stream.
write(AnnotationsWriter) - Method in class xapi.bytecode.ClassMemberValue
Writes the value.
write(DataOutput) - Method in class xapi.bytecode.ConstPool
Writes the contents of the constant pool table.
write(AnnotationsWriter) - Method in class xapi.bytecode.DoubleMemberValue
Writes the value.
write(AnnotationsWriter) - Method in class xapi.bytecode.EnumMemberValue
Writes the value.
write(AnnotationsWriter) - Method in class xapi.bytecode.FloatMemberValue
Writes the value.
write(AnnotationsWriter) - Method in class xapi.bytecode.IntegerMemberValue
Writes the value.
write(AnnotationsWriter) - Method in class xapi.bytecode.LongMemberValue
Writes the value.
write(AnnotationsWriter) - Method in class xapi.bytecode.MemberValue
Writes the value.
write(AnnotationsWriter) - Method in class xapi.bytecode.ShortMemberValue
Writes the value.
write(AnnotationsWriter) - Method in class xapi.bytecode.StringMemberValue
Writes the value.

X

xapi.bytecode - package xapi.bytecode
 
xapi.bytecode.api - package xapi.bytecode.api
 
xapi.dev.scanner - package xapi.dev.scanner
 
A B C D E F G H I J L M N O P Q R S T V W X 

Copyright © 2012-2013 The Internet Party. All Rights Reserved.