A B C D E F G H I J L M N O P R S T U V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- aaload() - Method in class serp.bytecode.Code
-
Load an object array value onto the stack; the
aaload
opcode. - AALOAD - Static variable in interface serp.bytecode.Constants
- aastore() - Method in class serp.bytecode.Code
-
Store an object value from the stack into an array; the
aastore
opcode. - AASTORE - Static variable in interface serp.bytecode.Constants
- acceptVisit(BCVisitor) - Method in class serp.bytecode.Annotation
- acceptVisit(BCVisitor) - Method in class serp.bytecode.Annotation.Property
- acceptVisit(BCVisitor) - Method in class serp.bytecode.Annotations
- acceptVisit(BCVisitor) - Method in class serp.bytecode.ArrayLoadInstruction
- acceptVisit(BCVisitor) - Method in class serp.bytecode.ArrayStoreInstruction
- acceptVisit(BCVisitor) - Method in class serp.bytecode.BCClass
- acceptVisit(BCVisitor) - Method in class serp.bytecode.BCField
- acceptVisit(BCVisitor) - Method in class serp.bytecode.BCMethod
- acceptVisit(BCVisitor) - Method in class serp.bytecode.BootstrapMethods
- acceptVisit(BCVisitor) - Method in class serp.bytecode.ClassInstruction
- acceptVisit(BCVisitor) - Method in class serp.bytecode.CmpInstruction
- acceptVisit(BCVisitor) - Method in class serp.bytecode.Code
- acceptVisit(BCVisitor) - Method in class serp.bytecode.ConstantInstruction
- acceptVisit(BCVisitor) - Method in class serp.bytecode.ConstantValue
- acceptVisit(BCVisitor) - Method in class serp.bytecode.ConvertInstruction
- acceptVisit(BCVisitor) - Method in class serp.bytecode.Deprecated
- acceptVisit(BCVisitor) - Method in class serp.bytecode.ExceptionHandler
- acceptVisit(BCVisitor) - Method in class serp.bytecode.Exceptions
- acceptVisit(BCVisitor) - Method in class serp.bytecode.GetFieldInstruction
- acceptVisit(BCVisitor) - Method in class serp.bytecode.IfInstruction
- acceptVisit(BCVisitor) - Method in class serp.bytecode.IIncInstruction
- acceptVisit(BCVisitor) - Method in class serp.bytecode.InnerClass
- acceptVisit(BCVisitor) - Method in class serp.bytecode.InnerClasses
- acceptVisit(BCVisitor) - Method in class serp.bytecode.Instruction
- acceptVisit(BCVisitor) - Method in class serp.bytecode.JumpInstruction
- acceptVisit(BCVisitor) - Method in class serp.bytecode.LineNumber
- acceptVisit(BCVisitor) - Method in class serp.bytecode.LineNumberTable
- acceptVisit(BCVisitor) - Method in class serp.bytecode.LoadInstruction
- acceptVisit(BCVisitor) - Method in class serp.bytecode.LocalVariable
- acceptVisit(BCVisitor) - Method in class serp.bytecode.LocalVariableTable
- acceptVisit(BCVisitor) - Method in class serp.bytecode.LocalVariableType
- acceptVisit(BCVisitor) - Method in class serp.bytecode.LocalVariableTypeTable
- acceptVisit(BCVisitor) - Method in class serp.bytecode.LookupSwitchInstruction
- acceptVisit(BCVisitor) - Method in class serp.bytecode.lowlevel.ClassEntry
- acceptVisit(BCVisitor) - Method in class serp.bytecode.lowlevel.ConstantPool
- acceptVisit(BCVisitor) - Method in class serp.bytecode.lowlevel.DoubleEntry
- acceptVisit(BCVisitor) - Method in class serp.bytecode.lowlevel.FieldEntry
- acceptVisit(BCVisitor) - Method in class serp.bytecode.lowlevel.FloatEntry
- acceptVisit(BCVisitor) - Method in class serp.bytecode.lowlevel.IntEntry
- acceptVisit(BCVisitor) - Method in class serp.bytecode.lowlevel.InterfaceMethodEntry
- acceptVisit(BCVisitor) - Method in class serp.bytecode.lowlevel.InvokeDynamicEntry
- acceptVisit(BCVisitor) - Method in class serp.bytecode.lowlevel.LongEntry
- acceptVisit(BCVisitor) - Method in class serp.bytecode.lowlevel.MethodEntry
- acceptVisit(BCVisitor) - Method in class serp.bytecode.lowlevel.MethodHandleEntry
- acceptVisit(BCVisitor) - Method in class serp.bytecode.lowlevel.MethodTypeEntry
- acceptVisit(BCVisitor) - Method in class serp.bytecode.lowlevel.NameAndTypeEntry
- acceptVisit(BCVisitor) - Method in class serp.bytecode.lowlevel.StringEntry
- acceptVisit(BCVisitor) - Method in class serp.bytecode.lowlevel.UTF8Entry
- acceptVisit(BCVisitor) - Method in class serp.bytecode.MathInstruction
- acceptVisit(BCVisitor) - Method in class serp.bytecode.MethodInstruction
- acceptVisit(BCVisitor) - Method in class serp.bytecode.MonitorEnterInstruction
- acceptVisit(BCVisitor) - Method in class serp.bytecode.MonitorExitInstruction
- acceptVisit(BCVisitor) - Method in class serp.bytecode.MultiANewArrayInstruction
- acceptVisit(BCVisitor) - Method in class serp.bytecode.NewArrayInstruction
- acceptVisit(BCVisitor) - Method in class serp.bytecode.Project
- acceptVisit(BCVisitor) - Method in class serp.bytecode.PutFieldInstruction
- acceptVisit(BCVisitor) - Method in class serp.bytecode.RetInstruction
- acceptVisit(BCVisitor) - Method in class serp.bytecode.ReturnInstruction
- acceptVisit(BCVisitor) - Method in class serp.bytecode.SourceFile
- acceptVisit(BCVisitor) - Method in class serp.bytecode.StackInstruction
- acceptVisit(BCVisitor) - Method in class serp.bytecode.StoreInstruction
- acceptVisit(BCVisitor) - Method in class serp.bytecode.Synthetic
- acceptVisit(BCVisitor) - Method in class serp.bytecode.TableSwitchInstruction
- acceptVisit(BCVisitor) - Method in class serp.bytecode.UnknownAttribute
- acceptVisit(BCVisitor) - Method in interface serp.bytecode.visitor.VisitAcceptor
-
Accept a visit from a
BCVisitor
, calling the appropriate methods to notify the visitor that it has entered this entity, and to provide it with the proper callbacks for each sub-entity owned by this one. - acceptVisit(BCVisitor) - Method in class serp.bytecode.WideInstruction
- ACCESS_ABSTRACT - Static variable in interface serp.bytecode.Constants
- ACCESS_ANNOTATION - Static variable in interface serp.bytecode.Constants
- ACCESS_BRIDGE - Static variable in interface serp.bytecode.Constants
- ACCESS_ENUM - Static variable in interface serp.bytecode.Constants
- ACCESS_FINAL - Static variable in interface serp.bytecode.Constants
- ACCESS_INTERFACE - Static variable in interface serp.bytecode.Constants
- ACCESS_NATIVE - Static variable in interface serp.bytecode.Constants
- ACCESS_PRIVATE - Static variable in interface serp.bytecode.Constants
- ACCESS_PROTECTED - Static variable in interface serp.bytecode.Constants
- ACCESS_PUBLIC - Static variable in interface serp.bytecode.Constants
- ACCESS_STATIC - Static variable in interface serp.bytecode.Constants
- ACCESS_STRICT - Static variable in interface serp.bytecode.Constants
- ACCESS_SUPER - Static variable in interface serp.bytecode.Constants
- ACCESS_SYNCHRONIZED - Static variable in interface serp.bytecode.Constants
- ACCESS_SYNTHETIC - Static variable in interface serp.bytecode.Constants
- ACCESS_TRANSIENT - Static variable in interface serp.bytecode.Constants
- ACCESS_VARARGS - Static variable in interface serp.bytecode.Constants
- ACCESS_VOLATILE - Static variable in interface serp.bytecode.Constants
- ACONSTNULL - Static variable in interface serp.bytecode.Constants
- add(Instruction) - Method in class serp.bytecode.Code
-
Adds a copy of the given instruction.
- addAnnotation(Class) - Method in class serp.bytecode.Annotations
-
Add a new annotation.
- addAnnotation(String) - Method in class serp.bytecode.Annotations
-
Add a new annotation.
- addAnnotation(Annotation) - Method in class serp.bytecode.Annotations
-
Import an annotation from another instance.
- addAnnotation(BCClass) - Method in class serp.bytecode.Annotations
-
Add a new annotation.
- addAttribute(String) - Method in class serp.bytecode.Attributes
-
Add an attribute of the given type.
- addAttribute(Attribute) - Method in class serp.bytecode.Attributes
-
Import an attribute from another entity, or make a copy of one on this entity.
- addCase(int, Instruction) - Method in class serp.bytecode.LookupSwitchInstruction
-
Add a case to this switch.
- addCase(int, Instruction) - Method in class serp.bytecode.SwitchInstruction
-
Add a case to this switch.
- addDefaultConstructor() - Method in class serp.bytecode.BCClass
-
Convenience method to add a default constructor to this class.
- addEntry(Entry) - Method in class serp.bytecode.lowlevel.ConstantPool
-
Add an entry to the pool.
- addException(Class) - Method in class serp.bytecode.Exceptions
-
Add an exception to those thrown by this method.
- addException(String) - Method in class serp.bytecode.Exceptions
-
Add an exception type to those thrown by this method.
- addException(BCClass) - Method in class serp.bytecode.Exceptions
-
Add an exception to those thrown by this method.
- addExceptionHandler() - Method in class serp.bytecode.Code
-
Add an exception handler to this code block.
- addExceptionHandler(ExceptionHandler) - Method in class serp.bytecode.Code
-
Import the given exception handler from another code block.
- addExceptionHandler(Instruction, Instruction, Instruction, Class) - Method in class serp.bytecode.Code
-
Add an exception handler to this code block.
- addExceptionHandler(Instruction, Instruction, Instruction, String) - Method in class serp.bytecode.Code
-
Add an exception handler to this code block.
- addExceptionHandler(Instruction, Instruction, Instruction, BCClass) - Method in class serp.bytecode.Code
-
Add an exception handler to this code block.
- addInnerClass() - Method in class serp.bytecode.InnerClasses
-
Add an inner class.
- addInnerClass(String, Class, Class) - Method in class serp.bytecode.InnerClasses
-
Add an inner class.
- addInnerClass(String, String, String) - Method in class serp.bytecode.InnerClasses
-
Add an inner class.
- addInnerClass(String, BCClass, BCClass) - Method in class serp.bytecode.InnerClasses
-
Add an inner class.
- addInnerClass(InnerClass) - Method in class serp.bytecode.InnerClasses
-
Import an inner class from another entity, or make a copy of one on this entity.
- addLineNumber() - Method in class serp.bytecode.LineNumberTable
-
Add a new line number to this table.
- addLineNumber(int, int) - Method in class serp.bytecode.LineNumberTable
-
Add a new line number to this table.
- addLineNumber(Instruction, int) - Method in class serp.bytecode.LineNumberTable
-
Add a new line number to this table.
- addLineNumber(LineNumber) - Method in class serp.bytecode.LineNumberTable
-
Import a line number from another method.
- addLocal() - Method in class serp.bytecode.LocalTable
-
Add a local to this table.
- addLocal(String, String) - Method in class serp.bytecode.LocalTable
-
Add a local to this table.
- addLocal(Local) - Method in class serp.bytecode.LocalTable
-
Import a local from another method/class.
- addLocalVariable() - Method in class serp.bytecode.LocalVariableTable
-
Add a local to this table.
- addLocalVariable(String, Class) - Method in class serp.bytecode.LocalVariableTable
-
Add a local to this table.
- addLocalVariable(String, String) - Method in class serp.bytecode.LocalVariableTable
-
Add a local to this table.
- addLocalVariable(String, BCClass) - Method in class serp.bytecode.LocalVariableTable
-
Add a local to this table.
- addLocalVariable(LocalVariable) - Method in class serp.bytecode.LocalVariableTable
-
Import a local from another method/class.
- addLocalVariableType() - Method in class serp.bytecode.LocalVariableTypeTable
-
Add a local to this table.
- addLocalVariableType(String, String) - Method in class serp.bytecode.LocalVariableTypeTable
-
Add a local to this table.
- addLocalVariableType(LocalVariableType) - Method in class serp.bytecode.LocalVariableTypeTable
-
Import a local from another method/class.
- addMatch(int) - Method in class serp.bytecode.SwitchInstruction
- addParam(int, Class) - Method in class serp.bytecode.BCMethod
-
Add a parameter type to this method.
- addParam(int, String) - Method in class serp.bytecode.BCMethod
-
Add a parameter type to this method.
- addParam(int, BCClass) - Method in class serp.bytecode.BCMethod
-
Add a parameter type to this method.
- addParam(Class) - Method in class serp.bytecode.BCMethod
-
Add a parameter type to this method.
- addParam(String) - Method in class serp.bytecode.BCMethod
-
Add a parameter type to this method.
- addParam(BCClass) - Method in class serp.bytecode.BCMethod
-
Add a parameter type to this method.
- addProperty(String) - Method in class serp.bytecode.Annotation
-
Add a new property.
- addProperty(Annotation.Property) - Method in class serp.bytecode.Annotation
-
Import a property from another instance.
- addTarget(Instruction) - Method in class serp.bytecode.SwitchInstruction
-
Add a target to this switch.
- addTarget(Instruction) - Method in class serp.bytecode.TableSwitchInstruction
-
Add a target to this switch.
- after(int) - Method in class serp.bytecode.Code
-
Place the iterator after the given list index.
- after(Instruction) - Method in class serp.bytecode.Code
-
Position the iterator just after the given instruction.
- afterLast() - Method in class serp.bytecode.Code
-
Set the position of the instruction iterator to after the last opcode.
- aload() - Method in class serp.bytecode.Code
-
Load an object local variable onto the stack.
- aload() - Method in class serp.bytecode.WideInstruction
-
Set the type of instruction this wide instruction modifies.
- ALOAD - Static variable in interface serp.bytecode.Constants
- ALOAD0 - Static variable in interface serp.bytecode.Constants
- ALOAD1 - Static variable in interface serp.bytecode.Constants
- ALOAD2 - Static variable in interface serp.bytecode.Constants
- ALOAD3 - Static variable in interface serp.bytecode.Constants
- anew() - Method in class serp.bytecode.Code
-
Create a new instance of an object; the
new
opcode. - anewarray() - Method in class serp.bytecode.Code
-
Create a new instance of an object array; the
anew
opcode. - ANEWARRAY - Static variable in interface serp.bytecode.Constants
- Annotated - Class in serp.bytecode
-
An annotated entity.
- Annotated() - Constructor for class serp.bytecode.Annotated
- Annotation - Class in serp.bytecode
-
A declared annotation.
- Annotation.Property - Class in serp.bytecode
-
An annotation property.
- Annotations - Class in serp.bytecode
-
Java annotation data.
- areturn() - Method in class serp.bytecode.Code
-
Return an object from a method; the
areturn
opcode. - ARETURN - Static variable in interface serp.bytecode.Constants
- ARRAY_BOOLEAN - Static variable in interface serp.bytecode.Constants
- ARRAY_BYTE - Static variable in interface serp.bytecode.Constants
- ARRAY_CHAR - Static variable in interface serp.bytecode.Constants
- ARRAY_DOUBLE - Static variable in interface serp.bytecode.Constants
- ARRAY_FLOAT - Static variable in interface serp.bytecode.Constants
- ARRAY_INT - Static variable in interface serp.bytecode.Constants
- ARRAY_LONG - Static variable in interface serp.bytecode.Constants
- ARRAY_SHORT - Static variable in interface serp.bytecode.Constants
- ArrayInstruction - Class in serp.bytecode
-
Any array load or store instruction.
- arraylength() - Method in class serp.bytecode.Code
-
Get the length of an array on the stack; the
arraylength
opcode. - ARRAYLENGTH - Static variable in interface serp.bytecode.Constants
- ArrayLoadInstruction - Class in serp.bytecode
-
Loads a value from an array onto the stack.
- ArrayStoreInstruction - Class in serp.bytecode
-
Store a value from the stack into an array.
- astore() - Method in class serp.bytecode.Code
-
Store an object value from the stack into a local variable.
- astore() - Method in class serp.bytecode.WideInstruction
-
Set the type of instruction this wide instruction modifies.
- ASTORE - Static variable in interface serp.bytecode.Constants
- ASTORE0 - Static variable in interface serp.bytecode.Constants
- ASTORE1 - Static variable in interface serp.bytecode.Constants
- ASTORE2 - Static variable in interface serp.bytecode.Constants
- ASTORE3 - Static variable in interface serp.bytecode.Constants
- athrow() - Method in class serp.bytecode.Code
-
Throw an exception; the
athrow
opcode. - ATHROW - Static variable in interface serp.bytecode.Constants
- ATTR_ANNOTATIONS - Static variable in interface serp.bytecode.Constants
- ATTR_BOOTSTRAP_METHODS - Static variable in interface serp.bytecode.Constants
- ATTR_CODE - Static variable in interface serp.bytecode.Constants
- ATTR_CONST - Static variable in interface serp.bytecode.Constants
- ATTR_DEPRECATED - Static variable in interface serp.bytecode.Constants
- ATTR_EXCEPTIONS - Static variable in interface serp.bytecode.Constants
- ATTR_INNERCLASS - Static variable in interface serp.bytecode.Constants
- ATTR_LINENUMBERS - Static variable in interface serp.bytecode.Constants
- ATTR_LOCAL_TYPES - Static variable in interface serp.bytecode.Constants
- ATTR_LOCALS - Static variable in interface serp.bytecode.Constants
- ATTR_RUNTIME_ANNOTATIONS - Static variable in interface serp.bytecode.Constants
- ATTR_SOURCE - Static variable in interface serp.bytecode.Constants
- ATTR_SYNTHETIC - Static variable in interface serp.bytecode.Constants
- ATTR_UNKNOWN - Static variable in interface serp.bytecode.Constants
- Attribute - Class in serp.bytecode
-
In bytecode attributes are used to represent anything that is not part of the class structure.
- Attributes - Class in serp.bytecode
-
Abstract superclass for all bytecode entities that hold attributes.
- Attributes() - Constructor for class serp.bytecode.Attributes
B
- baload() - Method in class serp.bytecode.Code
-
Load a byte array value onto the stack; the
baload
opcode. - BALOAD - Static variable in interface serp.bytecode.Constants
- bastore() - Method in class serp.bytecode.Code
-
Store a byte value from the stack into an array; the
bastore
opcode. - BASTORE - Static variable in interface serp.bytecode.Constants
- BCClass - Class in serp.bytecode
-
The BCClass represents a class object in the bytecode framework, in many ways mirroring the
Class
class of Java reflection. - BCClassLoader - Class in serp.bytecode
-
Class loader that will attempt to find requested classes in a given
Project
. - BCClassLoader(Project) - Constructor for class serp.bytecode.BCClassLoader
-
Constructor.
- BCClassLoader(Project, ClassLoader) - Constructor for class serp.bytecode.BCClassLoader
-
Constructor.
- BCEntity - Interface in serp.bytecode
-
Interface implemented by all bytecode entities.
- BCField - Class in serp.bytecode
-
A field of a class.
- BCMember - Class in serp.bytecode
-
A member field or method of a class.
- BCMethod - Class in serp.bytecode
-
A method of a class.
- BCVisitor - Class in serp.bytecode.visitor
-
Base class for visitors on a bytecode entity.
- BCVisitor() - Constructor for class serp.bytecode.visitor.BCVisitor
- before(int) - Method in class serp.bytecode.Code
-
Place the iterator before the given list index.
- before(Instruction) - Method in class serp.bytecode.Code
-
Position the iterator just before the given instruction.
- beforeFirst() - Method in class serp.bytecode.Code
-
Reset the position of the instruction iterator to the first opcode.
- BIPUSH - Static variable in interface serp.bytecode.Constants
- BootstrapMethodElement - Class in serp.bytecode
- BootstrapMethodElement() - Constructor for class serp.bytecode.BootstrapMethodElement
- BootstrapMethodElement(BootstrapMethods, int, int, int[]) - Constructor for class serp.bytecode.BootstrapMethodElement
- BootstrapMethodElement(BootstrapMethods, DataInput) - Constructor for class serp.bytecode.BootstrapMethodElement
- BootstrapMethods - Class in serp.bytecode
C
- calculateMaxLocals() - Method in class serp.bytecode.Code
-
Calculate and set the number of locals needed based on the instructions used and the parameters of the method this code block is a part of.
- calculateMaxStack() - Method in class serp.bytecode.Code
-
Calculate and set the maximum stack depth needed for the instructions used.
- caload() - Method in class serp.bytecode.Code
-
Load a char array value onto the stack; the
caload
opcode. - CALOAD - Static variable in interface serp.bytecode.Constants
- canParse(Class) - Static method in class serp.util.Strings
-
Whether the given type is parsable via
Strings.parse(java.lang.String, java.lang.Class)
. - castore() - Method in class serp.bytecode.Code
-
Store a char value from the stack into an array; the
castore
opcode. - CASTORE - Static variable in interface serp.bytecode.Constants
- checkcast() - Method in class serp.bytecode.Code
-
Cast an object on the stack to another type; the
checkcast
opcode. - CHECKCAST - Static variable in interface serp.bytecode.Constants
- CLASS - Static variable in class serp.bytecode.lowlevel.Entry
- classconstant() - Method in class serp.bytecode.Code
-
Load a class constant onto the stack.
- ClassConstantInstruction - Class in serp.bytecode
-
Pseudo-instruction used to place
Class
objects onto the stack. - ClassEntry - Class in serp.bytecode.lowlevel
-
A constant pool entry describing a class.
- ClassEntry() - Constructor for class serp.bytecode.lowlevel.ClassEntry
-
Default constructor.
- ClassEntry(int) - Constructor for class serp.bytecode.lowlevel.ClassEntry
-
Constructor.
- ClassInstruction - Class in serp.bytecode
-
An instruction that takes as an argument a class to operate on.
- clear() - Method in class serp.bytecode.Annotations
-
Remove all annotations.
- clear() - Method in class serp.bytecode.Exceptions
-
Clear this method of all exception declarations.
- clear() - Method in class serp.bytecode.InnerClasses
-
Clear all inner classes from this entity.
- clear() - Method in class serp.bytecode.LineNumberTable
-
Clear the line numbers.
- clear() - Method in class serp.bytecode.LocalTable
-
Clear all locals from this table.
- clear() - Method in class serp.bytecode.lowlevel.ConstantPool
-
Clear all entries from the pool.
- clear() - Method in class serp.bytecode.NameCache
-
Clear the cache.
- clear() - Method in class serp.bytecode.Project
-
Clears all classes from this project.
- clearAttributes() - Method in class serp.bytecode.Attributes
-
Clear all attributes from this entity.
- clearDeclaredFields() - Method in class serp.bytecode.BCClass
-
Clear all fields from this class.
- clearDeclaredInterfaces() - Method in class serp.bytecode.BCClass
-
Clear this class of all interface declarations.
- clearDeclaredMethods() - Method in class serp.bytecode.BCClass
-
Clear all declared methods from this class.
- clearExceptionHandlers() - Method in class serp.bytecode.Code
-
Clear all exception handlers.
- clearParams() - Method in class serp.bytecode.BCMethod
-
Clear all parameters from this method.
- clearProperties() - Method in class serp.bytecode.Annotation
-
Clear all annotation properties.
- CmpInstruction - Class in serp.bytecode
-
An instruction comparing two stack values.
- Code - Class in serp.bytecode
-
Representation of a code block of a class.
- Code() - Constructor for class serp.bytecode.Code
-
The public constructor is for creating template code modules that produce
Instruction
s used in matching through the varioussearch
andreplace
methods. - compareTo(Object) - Method in class serp.bytecode.LineNumber
- ComplexEntry - Class in serp.bytecode.lowlevel
-
Base class for field, method, and interface method constant pool entries.
- ComplexEntry() - Constructor for class serp.bytecode.lowlevel.ComplexEntry
-
Default constructor.
- ComplexEntry(int, int) - Constructor for class serp.bytecode.lowlevel.ComplexEntry
-
Constructor.
- constant() - Method in class serp.bytecode.Code
-
Load some constant onto the stack.
- ConstantEntry - Interface in serp.bytecode.lowlevel
-
Interface implemented by entries representing constant values.
- ConstantInstruction - Class in serp.bytecode
-
An instruction that that loads a constant onto the stack.
- ConstantPool - Class in serp.bytecode.lowlevel
-
A bytecode constant pool, containing entries for all strings, constants, classes, etc referenced in the class structure and method opcodes.
- ConstantPool() - Constructor for class serp.bytecode.lowlevel.ConstantPool
-
Default constructor.
- ConstantPoolTable - Class in serp.bytecode.lowlevel
-
Efficient representation of the constant pool as a table.
- ConstantPoolTable(byte[]) - Constructor for class serp.bytecode.lowlevel.ConstantPoolTable
-
Constructor; supply class bytecode.
- ConstantPoolTable(InputStream) - Constructor for class serp.bytecode.lowlevel.ConstantPoolTable
-
Constructor; supply input stream to bytecode.
- Constants - Interface in serp.bytecode
-
Interface to track constants used in bytecode.
- ConstantValue - Class in serp.bytecode
-
A constant value for a member field.
- containsClass(Class) - Method in class serp.bytecode.Project
-
Return true if the project already contains the given class.
- containsClass(String) - Method in class serp.bytecode.Project
-
Return true if the project already contains the given class.
- containsClass(BCClass) - Method in class serp.bytecode.Project
-
Return true if the project already contains the given class.
- convert() - Method in class serp.bytecode.Code
-
Convert the top stack value to another type.
- ConvertInstruction - Class in serp.bytecode
-
A conversion opcode such as
i2l, f2i
, etc. - countTargets() - Method in class serp.bytecode.SwitchInstruction
- create(int) - Static method in class serp.bytecode.lowlevel.Entry
-
Create an entry based on its type code.
- createClass(String) - Method in class serp.bytecode.BCClassLoader
-
Override this method if unfound classes should be created on-the-fly.
D
- D2F - Static variable in interface serp.bytecode.Constants
- D2I - Static variable in interface serp.bytecode.Constants
- D2L - Static variable in interface serp.bytecode.Constants
- dadd() - Method in class serp.bytecode.Code
-
Add the top two stack double values; the
dadd
opcode. - DADD - Static variable in interface serp.bytecode.Constants
- daload() - Method in class serp.bytecode.Code
-
Load a double array value onto the stack; the
daload
opcode. - DALOAD - Static variable in interface serp.bytecode.Constants
- dastore() - Method in class serp.bytecode.Code
-
Store a double value from the stack into an array; the
dastore
opcode. - DASTORE - Static variable in interface serp.bytecode.Constants
- dcmpg() - Method in class serp.bytecode.Code
-
Compare the top two stack values; the
dcmpg
opcode. - DCMPG - Static variable in interface serp.bytecode.Constants
- dcmpl() - Method in class serp.bytecode.Code
-
Compare the top two stack values; the
dcmpl
opcode. - DCMPL - Static variable in interface serp.bytecode.Constants
- DCONST0 - Static variable in interface serp.bytecode.Constants
- DCONST1 - Static variable in interface serp.bytecode.Constants
- ddiv() - Method in class serp.bytecode.Code
-
Divide the top two stack double values; the
ddiv
opcode. - DDIV - Static variable in interface serp.bytecode.Constants
- declareField(String, Class) - Method in class serp.bytecode.BCClass
-
Add a field to this class.
- declareField(String, String) - Method in class serp.bytecode.BCClass
-
Add a field to this class.
- declareField(String, BCClass) - Method in class serp.bytecode.BCClass
-
Add a field to this class.
- declareField(BCField) - Method in class serp.bytecode.BCClass
-
Import the information from given field as a new field in this class.
- declareInterface(Class) - Method in class serp.bytecode.BCClass
-
Add an interface to those declared by this class.
- declareInterface(String) - Method in class serp.bytecode.BCClass
-
Add an interface to those declared by this class.
- declareInterface(BCClass) - Method in class serp.bytecode.BCClass
-
Add an interface to those declared by this class.
- declareMethod(String, Class, Class[]) - Method in class serp.bytecode.BCClass
-
Add a method to this class.
- declareMethod(String, String, String[]) - Method in class serp.bytecode.BCClass
-
Add a method to this class.
- declareMethod(String, BCClass, BCClass[]) - Method in class serp.bytecode.BCClass
-
Add a method to this class.
- declareMethod(BCMethod) - Method in class serp.bytecode.BCClass
-
Import the information in the given method as a new method of this class.
- Deprecated - Class in serp.bytecode
-
Attribute signifying that a method or class is deprecated.
- dload() - Method in class serp.bytecode.Code
-
Load a double local variable onto the stack.
- dload() - Method in class serp.bytecode.WideInstruction
-
Set the type of instruction this wide instruction modifies.
- DLOAD - Static variable in interface serp.bytecode.Constants
- DLOAD0 - Static variable in interface serp.bytecode.Constants
- DLOAD1 - Static variable in interface serp.bytecode.Constants
- DLOAD2 - Static variable in interface serp.bytecode.Constants
- DLOAD3 - Static variable in interface serp.bytecode.Constants
- dmul() - Method in class serp.bytecode.Code
-
Multiply the top two stack double values; the
dmul
opcode. - DMUL - Static variable in interface serp.bytecode.Constants
- dneg() - Method in class serp.bytecode.Code
-
Negate the top stack double value; the
dneg
opcode. - DNEG - Static variable in interface serp.bytecode.Constants
- DOUBLE - Static variable in class serp.bytecode.lowlevel.Entry
- DoubleEntry - Class in serp.bytecode.lowlevel
-
A constant double value in the constant pool.
- DoubleEntry() - Constructor for class serp.bytecode.lowlevel.DoubleEntry
-
Default constructor.
- DoubleEntry(double) - Constructor for class serp.bytecode.lowlevel.DoubleEntry
-
Constructor.
- drem() - Method in class serp.bytecode.Code
-
Take the remainder of the top two double stack values; the
drem
opcode. - DREM - Static variable in interface serp.bytecode.Constants
- dreturn() - Method in class serp.bytecode.Code
-
Return a double from a method; the
dreturn
opcode. - DRETURN - Static variable in interface serp.bytecode.Constants
- dstore() - Method in class serp.bytecode.Code
-
Store a double value from the stack into a local variable.
- dstore() - Method in class serp.bytecode.WideInstruction
-
Set the type of instruction this wide instruction modifies.
- DSTORE - Static variable in interface serp.bytecode.Constants
- DSTORE0 - Static variable in interface serp.bytecode.Constants
- DSTORE1 - Static variable in interface serp.bytecode.Constants
- DSTORE2 - Static variable in interface serp.bytecode.Constants
- DSTORE3 - Static variable in interface serp.bytecode.Constants
- dsub() - Method in class serp.bytecode.Code
-
Subtract the top two stack double values; the
dsub
opcode. - DSUB - Static variable in interface serp.bytecode.Constants
- dup() - Method in class serp.bytecode.Code
-
The
dup
opcode. - DUP - Static variable in interface serp.bytecode.Constants
- dup2() - Method in class serp.bytecode.Code
-
The
dup2
opcode. - DUP2 - Static variable in interface serp.bytecode.Constants
- dup2x1() - Method in class serp.bytecode.Code
-
The
dup2x1
opcode. - DUP2X1 - Static variable in interface serp.bytecode.Constants
- dup2x2() - Method in class serp.bytecode.Code
-
The
dup2x2
opcode. - DUP2X2 - Static variable in interface serp.bytecode.Constants
- dupx1() - Method in class serp.bytecode.Code
-
The
dupx1
opcode. - DUPX1 - Static variable in interface serp.bytecode.Constants
- dupx2() - Method in class serp.bytecode.Code
-
The
dupx2
opcode. - DUPX2 - Static variable in interface serp.bytecode.Constants
E
- enterAnnotation(Annotation) - Method in class serp.bytecode.visitor.BCVisitor
- enterAnnotation(Annotation) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterAnnotationProperty(Annotation.Property) - Method in class serp.bytecode.visitor.BCVisitor
- enterAnnotationProperty(Annotation.Property) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterAnnotations(Annotations) - Method in class serp.bytecode.visitor.BCVisitor
- enterArrayLoadInstruction(ArrayLoadInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- enterArrayStoreInstruction(ArrayStoreInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- enterAttribute(Attribute) - Method in class serp.bytecode.visitor.BCVisitor
- enterAttribute(Attribute) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterBCClass(BCClass) - Method in class serp.bytecode.visitor.BCVisitor
- enterBCClass(BCClass) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterBCField(BCField) - Method in class serp.bytecode.visitor.BCVisitor
- enterBCField(BCField) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterBCMember(BCMember) - Method in class serp.bytecode.visitor.BCVisitor
- enterBCMethod(BCMethod) - Method in class serp.bytecode.visitor.BCVisitor
- enterBCMethod(BCMethod) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterBootstrapMethod(BootstrapMethods) - Method in class serp.bytecode.visitor.BCVisitor
- enterClassEntry(ClassEntry) - Method in class serp.bytecode.visitor.BCVisitor
- enterClassEntry(ClassEntry) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterClassInstruction(ClassInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- enterClassInstruction(ClassInstruction) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterCmpInstruction(CmpInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- enterCode(Code) - Method in class serp.bytecode.visitor.BCVisitor
- enterCode(Code) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterConstantInstruction(ConstantInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- enterConstantInstruction(ConstantInstruction) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterConstantPool(ConstantPool) - Method in class serp.bytecode.visitor.BCVisitor
- enterConstantPool(ConstantPool) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterConstantValue(ConstantValue) - Method in class serp.bytecode.visitor.BCVisitor
- enterConstantValue(ConstantValue) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterConvertInstruction(ConvertInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- enterDeprecated(Deprecated) - Method in class serp.bytecode.visitor.BCVisitor
- enterDoubleEntry(DoubleEntry) - Method in class serp.bytecode.visitor.BCVisitor
- enterDoubleEntry(DoubleEntry) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterEntry(Entry) - Method in class serp.bytecode.visitor.BCVisitor
- enterEntry(Entry) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterExceptionHandler(ExceptionHandler) - Method in class serp.bytecode.visitor.BCVisitor
- enterExceptionHandler(ExceptionHandler) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterExceptions(Exceptions) - Method in class serp.bytecode.visitor.BCVisitor
- enterExceptions(Exceptions) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterFieldEntry(FieldEntry) - Method in class serp.bytecode.visitor.BCVisitor
- enterFieldEntry(FieldEntry) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterFloatEntry(FloatEntry) - Method in class serp.bytecode.visitor.BCVisitor
- enterFloatEntry(FloatEntry) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterGetFieldInstruction(GetFieldInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- enterGetFieldInstruction(GetFieldInstruction) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterIfInstruction(IfInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- enterIfInstruction(IfInstruction) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterIIncInstruction(IIncInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- enterIIncInstruction(IIncInstruction) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterInnerClass(InnerClass) - Method in class serp.bytecode.visitor.BCVisitor
- enterInnerClass(InnerClass) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterInnerClasses(InnerClasses) - Method in class serp.bytecode.visitor.BCVisitor
- enterInstruction(Instruction) - Method in class serp.bytecode.visitor.BCVisitor
- enterInstruction(Instruction) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterIntEntry(IntEntry) - Method in class serp.bytecode.visitor.BCVisitor
- enterIntEntry(IntEntry) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterInterfaceMethodEntry(InterfaceMethodEntry) - Method in class serp.bytecode.visitor.BCVisitor
- enterInterfaceMethodEntry(InterfaceMethodEntry) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterInvokeDynamicEntry(InvokeDynamicEntry) - Method in class serp.bytecode.visitor.BCVisitor
- enterJumpInstruction(JumpInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- enterJumpInstruction(JumpInstruction) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterLineNumber(LineNumber) - Method in class serp.bytecode.visitor.BCVisitor
- enterLineNumber(LineNumber) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterLineNumberTable(LineNumberTable) - Method in class serp.bytecode.visitor.BCVisitor
- enterLoadInstruction(LoadInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- enterLoadInstruction(LoadInstruction) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterLocalVariable(LocalVariable) - Method in class serp.bytecode.visitor.BCVisitor
- enterLocalVariable(LocalVariable) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterLocalVariableTable(LocalVariableTable) - Method in class serp.bytecode.visitor.BCVisitor
- enterLocalVariableType(LocalVariableType) - Method in class serp.bytecode.visitor.BCVisitor
- enterLocalVariableType(LocalVariableType) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterLocalVariableTypeTable(LocalVariableTypeTable) - Method in class serp.bytecode.visitor.BCVisitor
- enterLongEntry(LongEntry) - Method in class serp.bytecode.visitor.BCVisitor
- enterLongEntry(LongEntry) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterLookupSwitchInstruction(LookupSwitchInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- enterLookupSwitchInstruction(LookupSwitchInstruction) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterMathInstruction(MathInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- enterMethodEntry(MethodEntry) - Method in class serp.bytecode.visitor.BCVisitor
- enterMethodEntry(MethodEntry) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterMethodHandleEntry(MethodHandleEntry) - Method in class serp.bytecode.visitor.BCVisitor
- enterMethodInstruction(MethodInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- enterMethodInstruction(MethodInstruction) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterMethodTypeEntry(MethodTypeEntry) - Method in class serp.bytecode.visitor.BCVisitor
- enterMonitorEnterInstruction(MonitorEnterInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- enterMonitorExitInstruction(MonitorExitInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- enterMultiANewArrayInstruction(MultiANewArrayInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- enterMultiANewArrayInstruction(MultiANewArrayInstruction) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterNameAndTypeEntry(NameAndTypeEntry) - Method in class serp.bytecode.visitor.BCVisitor
- enterNameAndTypeEntry(NameAndTypeEntry) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterNewArrayInstruction(NewArrayInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- enterNewArrayInstruction(NewArrayInstruction) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterProject(Project) - Method in class serp.bytecode.visitor.BCVisitor
- enterProject(Project) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterPutFieldInstruction(PutFieldInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- enterPutFieldInstruction(PutFieldInstruction) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterRetInstruction(RetInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- enterRetInstruction(RetInstruction) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterReturnInstruction(ReturnInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- enterSourceFile(SourceFile) - Method in class serp.bytecode.visitor.BCVisitor
- enterSourceFile(SourceFile) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterStackInstruction(StackInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- enterStoreInstruction(StoreInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- enterStoreInstruction(StoreInstruction) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterStringEntry(StringEntry) - Method in class serp.bytecode.visitor.BCVisitor
- enterStringEntry(StringEntry) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterSynthetic(Synthetic) - Method in class serp.bytecode.visitor.BCVisitor
- enterTableSwitchInstruction(TableSwitchInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- enterTableSwitchInstruction(TableSwitchInstruction) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterUnknownAttribute(UnknownAttribute) - Method in class serp.bytecode.visitor.BCVisitor
- enterUTF8Entry(UTF8Entry) - Method in class serp.bytecode.visitor.BCVisitor
- enterUTF8Entry(UTF8Entry) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- enterWideInstruction(WideInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- enterWideInstruction(WideInstruction) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- Entry - Class in serp.bytecode.lowlevel
-
Base type for all constant pool entries.
- Entry() - Constructor for class serp.bytecode.lowlevel.Entry
- equalsInstruction(Instruction) - Method in class serp.bytecode.ClassInstruction
-
ClassInstructions are equal if the type they reference is the same or unset and if their opcodes are equal.
- equalsInstruction(Instruction) - Method in class serp.bytecode.ConstantInstruction
-
ConstantInstructions are equal if the const they reference is the same, or if the const of either is unset.
- equalsInstruction(Instruction) - Method in class serp.bytecode.ConvertInstruction
-
ConvertInstructions are equal if the types they convert between are either equal or unset.
- equalsInstruction(Instruction) - Method in class serp.bytecode.FieldInstruction
-
FieldInstructions are equal if the field they reference is the same, or if the field of either is unset.
- equalsInstruction(Instruction) - Method in class serp.bytecode.IIncInstruction
- equalsInstruction(Instruction) - Method in class serp.bytecode.Instruction
-
Instructions are equal if their opcodes are the same.
- equalsInstruction(Instruction) - Method in class serp.bytecode.JumpInstruction
-
JumpInstructions are equal if they represent the same operation and the instruction they jump to is the same, or if the jump Instruction of either is unset.
- equalsInstruction(Instruction) - Method in class serp.bytecode.LoadInstruction
-
LoadInstructions are equal if the type they reference the same type and locals index or if either is unset.
- equalsInstruction(Instruction) - Method in class serp.bytecode.LocalVariableInstruction
-
Two local variable instructions are equal if the local index they reference is equal or if either index is 0/unset.
- equalsInstruction(Instruction) - Method in class serp.bytecode.MathInstruction
-
MathInstructions are equal if they have the same operation and type, or the operation and type of either is unset.
- equalsInstruction(Instruction) - Method in class serp.bytecode.MethodInstruction
-
MethodInstructions are equal if the method they reference is the same, or if the method of either is unset.
- equalsInstruction(Instruction) - Method in class serp.bytecode.MultiANewArrayInstruction
-
Two MultiANewArray instructions are equal if they have the same type and dimensions, or if the type and dimensions of either is unset.
- equalsInstruction(Instruction) - Method in class serp.bytecode.NewArrayInstruction
-
NewArray instructions are equal if the array type is the same, of if the array type of either is unset.
- equalsInstruction(Instruction) - Method in class serp.bytecode.RetInstruction
- equalsInstruction(Instruction) - Method in class serp.bytecode.StoreInstruction
-
StoreInstructions are equal if the type they reference the same type and locals index or if either is unset.
- equalsInstruction(Instruction) - Method in class serp.bytecode.WideInstruction
-
WideInstructions are equal if the instruction they augment is the same or unset.
- ExceptionHandler - Class in serp.bytecode
-
Represents a
try {} catch() {}
statement in bytecode. - Exceptions - Class in serp.bytecode
-
Attribute declaring the checked exceptions a method can throw.
- exitAnnotation(Annotation) - Method in class serp.bytecode.visitor.BCVisitor
- exitAnnotation(Annotation) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- exitAnnotationProperty(Annotation.Property) - Method in class serp.bytecode.visitor.BCVisitor
- exitAnnotationProperty(Annotation.Property) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- exitAnnotations(Annotations) - Method in class serp.bytecode.visitor.BCVisitor
- exitArrayLoadInstruction(ArrayLoadInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- exitArrayStoreInstruction(ArrayStoreInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- exitAttribute(Attribute) - Method in class serp.bytecode.visitor.BCVisitor
- exitAttribute(Attribute) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- exitBCClass(BCClass) - Method in class serp.bytecode.visitor.BCVisitor
- exitBCClass(BCClass) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- exitBCField(BCField) - Method in class serp.bytecode.visitor.BCVisitor
- exitBCField(BCField) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- exitBCMember(BCMember) - Method in class serp.bytecode.visitor.BCVisitor
- exitBCMethod(BCMethod) - Method in class serp.bytecode.visitor.BCVisitor
- exitBCMethod(BCMethod) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- exitBootstrapMethod(BootstrapMethods) - Method in class serp.bytecode.visitor.BCVisitor
- exitClassEntry(ClassEntry) - Method in class serp.bytecode.visitor.BCVisitor
- exitClassInstruction(ClassInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- exitCmpInstruction(CmpInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- exitCode(Code) - Method in class serp.bytecode.visitor.BCVisitor
- exitConstantInstruction(ConstantInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- exitConstantPool(ConstantPool) - Method in class serp.bytecode.visitor.BCVisitor
- exitConstantPool(ConstantPool) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- exitConstantValue(ConstantValue) - Method in class serp.bytecode.visitor.BCVisitor
- exitConvertInstruction(ConvertInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- exitDeprecated(Deprecated) - Method in class serp.bytecode.visitor.BCVisitor
- exitDoubleEntry(DoubleEntry) - Method in class serp.bytecode.visitor.BCVisitor
- exitEntry(Entry) - Method in class serp.bytecode.visitor.BCVisitor
- exitEntry(Entry) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- exitExceptionHandler(ExceptionHandler) - Method in class serp.bytecode.visitor.BCVisitor
- exitExceptionHandler(ExceptionHandler) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- exitExceptions(Exceptions) - Method in class serp.bytecode.visitor.BCVisitor
- exitFieldEntry(FieldEntry) - Method in class serp.bytecode.visitor.BCVisitor
- exitFloatEntry(FloatEntry) - Method in class serp.bytecode.visitor.BCVisitor
- exitGetFieldInstruction(GetFieldInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- exitIfInstruction(IfInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- exitIIncInstruction(IIncInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- exitInnerClass(InnerClass) - Method in class serp.bytecode.visitor.BCVisitor
- exitInnerClass(InnerClass) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- exitInnerClasses(InnerClasses) - Method in class serp.bytecode.visitor.BCVisitor
- exitInstruction(Instruction) - Method in class serp.bytecode.visitor.BCVisitor
- exitInstruction(Instruction) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- exitIntEntry(IntEntry) - Method in class serp.bytecode.visitor.BCVisitor
- exitInterfaceMethodEntry(InterfaceMethodEntry) - Method in class serp.bytecode.visitor.BCVisitor
- exitInvokeDynamicEntry(InvokeDynamicEntry) - Method in class serp.bytecode.visitor.BCVisitor
- exitJumpInstruction(JumpInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- exitLineNumber(LineNumber) - Method in class serp.bytecode.visitor.BCVisitor
- exitLineNumber(LineNumber) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- exitLineNumberTable(LineNumberTable) - Method in class serp.bytecode.visitor.BCVisitor
- exitLoadInstruction(LoadInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- exitLocalVariable(LocalVariable) - Method in class serp.bytecode.visitor.BCVisitor
- exitLocalVariable(LocalVariable) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- exitLocalVariableTable(LocalVariableTable) - Method in class serp.bytecode.visitor.BCVisitor
- exitLocalVariableType(LocalVariableType) - Method in class serp.bytecode.visitor.BCVisitor
- exitLocalVariableType(LocalVariableType) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- exitLocalVariableTypeTable(LocalVariableTypeTable) - Method in class serp.bytecode.visitor.BCVisitor
- exitLongEntry(LongEntry) - Method in class serp.bytecode.visitor.BCVisitor
- exitLookupSwitchInstruction(LookupSwitchInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- exitMathInstruction(MathInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- exitMethodEntry(MethodEntry) - Method in class serp.bytecode.visitor.BCVisitor
- exitMethodHandleEntry(MethodHandleEntry) - Method in class serp.bytecode.visitor.BCVisitor
- exitMethodInstruction(MethodInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- exitMethodTypeEntry(MethodTypeEntry) - Method in class serp.bytecode.visitor.BCVisitor
- exitMonitorEnterInstruction(MonitorEnterInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- exitMonitorExitInstruction(MonitorExitInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- exitMultiANewArrayInstruction(MultiANewArrayInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- exitNameAndTypeEntry(NameAndTypeEntry) - Method in class serp.bytecode.visitor.BCVisitor
- exitNewArrayInstruction(NewArrayInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- exitProject(Project) - Method in class serp.bytecode.visitor.BCVisitor
- exitProject(Project) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- exitPutFieldInstruction(PutFieldInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- exitRetInstruction(RetInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- exitReturnInstruction(ReturnInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- exitSourceFile(SourceFile) - Method in class serp.bytecode.visitor.BCVisitor
- exitStackInstruction(StackInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- exitStoreInstruction(StoreInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- exitStringEntry(StringEntry) - Method in class serp.bytecode.visitor.BCVisitor
- exitSynthetic(Synthetic) - Method in class serp.bytecode.visitor.BCVisitor
- exitTableSwitchInstruction(TableSwitchInstruction) - Method in class serp.bytecode.visitor.BCVisitor
- exitUnknownAttribute(UnknownAttribute) - Method in class serp.bytecode.visitor.BCVisitor
- exitUTF8Entry(UTF8Entry) - Method in class serp.bytecode.visitor.BCVisitor
- exitWideInstruction(WideInstruction) - Method in class serp.bytecode.visitor.BCVisitor
F
- F2D - Static variable in interface serp.bytecode.Constants
- F2I - Static variable in interface serp.bytecode.Constants
- F2L - Static variable in interface serp.bytecode.Constants
- fadd() - Method in class serp.bytecode.Code
-
Add the top two stack float values; the
fadd
opcode. - FADD - Static variable in interface serp.bytecode.Constants
- faload() - Method in class serp.bytecode.Code
-
Load a float array value onto the stack; the
faload
opcode. - FALOAD - Static variable in interface serp.bytecode.Constants
- fastore() - Method in class serp.bytecode.Code
-
Store a float value from the stack into an array; the
fastore
opcode. - FASTORE - Static variable in interface serp.bytecode.Constants
- fcmpg() - Method in class serp.bytecode.Code
-
Compare the top two stack values; the
fcmpg
opcode. - FCMPG - Static variable in interface serp.bytecode.Constants
- fcmpl() - Method in class serp.bytecode.Code
-
Compare the top two stack values; the
fcmpl
opcode. - FCMPL - Static variable in interface serp.bytecode.Constants
- FCONST0 - Static variable in interface serp.bytecode.Constants
- FCONST1 - Static variable in interface serp.bytecode.Constants
- FCONST2 - Static variable in interface serp.bytecode.Constants
- fdiv() - Method in class serp.bytecode.Code
-
Divide the top two stack float values; the
fdiv
opcode. - FDIV - Static variable in interface serp.bytecode.Constants
- FIELD - Static variable in class serp.bytecode.lowlevel.Entry
- FieldEntry - Class in serp.bytecode.lowlevel
-
A reference to a class field.
- FieldEntry() - Constructor for class serp.bytecode.lowlevel.FieldEntry
-
Default constructor.
- FieldEntry(int, int) - Constructor for class serp.bytecode.lowlevel.FieldEntry
-
Constructor.
- FieldInstruction - Class in serp.bytecode
-
Instruction that takes as an argument a field to operate on.
- findClass(String) - Method in class serp.bytecode.BCClassLoader
- findClassEntry(String, boolean) - Method in class serp.bytecode.lowlevel.ConstantPool
-
Return the constant pool index of the
ClassEntry
for the given class name, or 0 if it does not exist. - findDoubleEntry(double, boolean) - Method in class serp.bytecode.lowlevel.ConstantPool
-
Return the constant pool index of the
DoubleEntry
for the given value, or 0 if it does not exist. - findFieldEntry(String, String, String, boolean) - Method in class serp.bytecode.lowlevel.ConstantPool
-
Return the constant pool index of the
FieldEntry
for the given name, descriptor, and owner class name. - findFloatEntry(float, boolean) - Method in class serp.bytecode.lowlevel.ConstantPool
-
Return the constant pool index of the
FloatEntry
for the given value, or 0 if it does not exist. - findIntEntry(int, boolean) - Method in class serp.bytecode.lowlevel.ConstantPool
-
Return the constant pool index of the
IntEntry
for the given value, or 0 if it does not exist. - findInterfaceMethodEntry(String, String, String, boolean) - Method in class serp.bytecode.lowlevel.ConstantPool
-
Return the constant pool index of the
InterfaceMethodEntry
for the given name, descriptor, and owner class name. - findInvokeDynamicEntry(int, String, String, boolean) - Method in class serp.bytecode.lowlevel.ConstantPool
- findLongEntry(long, boolean) - Method in class serp.bytecode.lowlevel.ConstantPool
-
Return the constant pool index of the
LongEntry
for the given value, or 0 if it does not exist. - findMethodEntry(String, String, String, boolean) - Method in class serp.bytecode.lowlevel.ConstantPool
-
Return the constant pool index of the
MethodEntry
for the given name, descriptor, and owner class name. - findNameAndTypeEntry(String, String, boolean) - Method in class serp.bytecode.lowlevel.ConstantPool
-
Return the constant pool index of the
NameAndTypeEntry
for the given name and descriptor, or 0 if it does not exist. - findStringEntry(String, boolean) - Method in class serp.bytecode.lowlevel.ConstantPool
-
Return the constant pool index of the
StringEntry
for the given string value, or 0 if it does not exist. - findUTF8Entry(String, boolean) - Method in class serp.bytecode.lowlevel.ConstantPool
-
Return the index of the
UTF8Entry
with the given value, or 0 if it does not exist. - fload() - Method in class serp.bytecode.Code
-
Load a float local variable onto the stack.
- fload() - Method in class serp.bytecode.WideInstruction
-
Set the type of instruction this wide instruction modifies.
- FLOAD - Static variable in interface serp.bytecode.Constants
- FLOAD0 - Static variable in interface serp.bytecode.Constants
- FLOAD1 - Static variable in interface serp.bytecode.Constants
- FLOAD2 - Static variable in interface serp.bytecode.Constants
- FLOAD3 - Static variable in interface serp.bytecode.Constants
- FLOAT - Static variable in class serp.bytecode.lowlevel.Entry
- FloatEntry - Class in serp.bytecode.lowlevel
-
A constant float value in the constant pool.
- FloatEntry() - Constructor for class serp.bytecode.lowlevel.FloatEntry
-
Default constructor.
- FloatEntry(float) - Constructor for class serp.bytecode.lowlevel.FloatEntry
-
Constructor.
- fmul() - Method in class serp.bytecode.Code
-
Multiply the top two stack float values; the
fmul
opcode. - FMUL - Static variable in interface serp.bytecode.Constants
- fneg() - Method in class serp.bytecode.Code
-
Negate the top stack float value; the
fneg
opcode. - FNEG - Static variable in interface serp.bytecode.Constants
- frem() - Method in class serp.bytecode.Code
-
Take the remainder of the top two float stack values; the
frem
opcode. - FREM - Static variable in interface serp.bytecode.Constants
- freturn() - Method in class serp.bytecode.Code
-
Return a float from a method; the
freturn
opcode. - FRETURN - Static variable in interface serp.bytecode.Constants
- fstore() - Method in class serp.bytecode.Code
-
Store a float value from the stack into a local variable.
- fstore() - Method in class serp.bytecode.WideInstruction
-
Set the type of instruction this wide instruction modifies.
- FSTORE - Static variable in interface serp.bytecode.Constants
- FSTORE0 - Static variable in interface serp.bytecode.Constants
- FSTORE1 - Static variable in interface serp.bytecode.Constants
- FSTORE2 - Static variable in interface serp.bytecode.Constants
- FSTORE3 - Static variable in interface serp.bytecode.Constants
- fsub() - Method in class serp.bytecode.Code
-
Subtract the top two stack float values; the
fsub
opcode. - FSUB - Static variable in interface serp.bytecode.Constants
G
- get(int) - Method in class serp.bytecode.lowlevel.ConstantPoolTable
-
Return the given table entry.
- getAccessFlags() - Method in class serp.bytecode.BCClass
-
Return the access flags for this class as a bit array of ACCESS_XXX constants from
Constants
. - getAccessFlags() - Method in class serp.bytecode.BCMember
-
Return the access flags for this member as a bit array of ACCESS_XXX constants from
Constants
. - getAccessFlags() - Method in class serp.bytecode.InnerClass
-
Return the access flags of the inner class.
- getAnnotation() - Method in class serp.bytecode.Annotation.Property
-
The owning annotation.
- getAnnotation(Class) - Method in class serp.bytecode.Annotations
-
Return the annotation of the given type, or null if none.
- getAnnotation(String) - Method in class serp.bytecode.Annotations
-
Return the annotation of the given type, or null if none.
- getAnnotation(BCClass) - Method in class serp.bytecode.Annotations
-
Return the annotation of the given type, or null if none.
- getAnnotations() - Method in class serp.bytecode.Annotations
-
All declared annotations.
- getAnnotationValue() - Method in class serp.bytecode.Annotation.Property
-
Return the annotation value of this property, or null if not set.
- getAttribute(String) - Method in class serp.bytecode.Attributes
-
Return the attribute with the given name.
- getAttributes() - Method in class serp.bytecode.Attributes
-
Return all the attributes owned by this entity.
- getAttributes(String) - Method in class serp.bytecode.Attributes
-
Return all attributes with the given name.
- getBooleanValue() - Method in class serp.bytecode.Annotation.Property
-
Return the boolean value of this property, or false if not set.
- getBootstrapArgumentIndices() - Method in class serp.bytecode.BootstrapMethodElement
- getBootstrapArguments() - Method in class serp.bytecode.BootstrapMethodElement
- getBootstrapMethod() - Method in class serp.bytecode.BootstrapMethodElement
- getBootstrapMethodAttribute() - Method in class serp.bytecode.BootstrapMethodElement
- getBootstrapMethodAttrIndex() - Method in class serp.bytecode.lowlevel.InvokeDynamicEntry
- getBootstrapMethodRef() - Method in class serp.bytecode.BootstrapMethodElement
- getBootstrapMethods() - Method in class serp.bytecode.BootstrapMethods
- getByteIndex() - Method in class serp.bytecode.Instruction
-
Return the index in the method code byte block at which this opcode starts.
- getByteValue() - Method in class serp.bytecode.Annotation.Property
-
Return the byte value of this property, or false if not set.
- getCatchBC() - Method in class serp.bytecode.ExceptionHandler
-
Return the bytecode of the exception type; returns null for catch-all clauses used to implement finally blocks.
- getCatchIndex() - Method in class serp.bytecode.ExceptionHandler
-
Return the index into the class
ConstantPool
of theClassEntry
describing the exception type this handler catches. - getCatchName() - Method in class serp.bytecode.ExceptionHandler
-
Return the name of the exception type; returns null for catch-all clauses used to implement finally blocks.
- getCatchType() - Method in class serp.bytecode.ExceptionHandler
-
Return the
Class
of the exception type; returns null for catch-all clauses used to implement finally blocks. - getClassEntry() - Method in class serp.bytecode.lowlevel.ComplexEntry
-
Return the referenced
ClassEntry
. - getClasses() - Method in class serp.bytecode.Project
-
Return all loaded classes in the project.
- getClassIndex() - Method in class serp.bytecode.lowlevel.ComplexEntry
-
Return the constant pool index of the
ClassEntry
describing the owning class of this entity. - getClassLoader() - Method in class serp.bytecode.Annotation
- getClassLoader() - Method in class serp.bytecode.Annotation.Property
- getClassLoader() - Method in class serp.bytecode.Attribute
- getClassLoader() - Method in class serp.bytecode.BCClass
- getClassLoader() - Method in interface serp.bytecode.BCEntity
-
Return the class loader to use when loading related classes.
- getClassLoader() - Method in class serp.bytecode.BCMember
- getClassLoader() - Method in class serp.bytecode.ExceptionHandler
- getClassLoader() - Method in class serp.bytecode.InnerClass
- getClassLoader() - Method in class serp.bytecode.Instruction
- getClassLoader() - Method in class serp.bytecode.LineNumber
- getClassLoader() - Method in class serp.bytecode.Local
- getClassName() - Method in class serp.bytecode.BCClass
-
Return the name of the class only, without package.
- getClassName(Class) - Static method in class serp.util.Strings
-
Return only the class name, without package.
- getClassName(String) - Static method in class serp.util.Strings
-
Return only the class name.
- getClassNameValue() - Method in class serp.bytecode.Annotation.Property
-
Return the class value of this property, or null if not set.
- getClassNameValue() - Method in class serp.bytecode.ConstantInstruction
-
Return the class value of this constant, or null if not set.
- getCode() - Method in class serp.bytecode.ExceptionHandler
-
Return the owning code block.
- getCode() - Method in class serp.bytecode.Instruction
-
Return the code block that owns this instruction.
- getCode() - Method in interface serp.bytecode.InstructionPtr
-
Returns the Code block that owns the Instruction(s) this InstructionPtr points to.
- getCode() - Method in class serp.bytecode.LineNumber
- getCode() - Method in class serp.bytecode.LineNumberTable
- getCode() - Method in class serp.bytecode.Local
- getCode() - Method in class serp.bytecode.LocalTable
- getCode(boolean) - Method in class serp.bytecode.BCMethod
-
Return the code for the method.
- getComponentBC() - Method in class serp.bytecode.BCClass
-
Return the component type of this class, or null if not an array.
- getComponentName() - Method in class serp.bytecode.BCClass
-
Return the component type name of this class, or null if not an array.
- getComponentName(String) - Method in class serp.bytecode.NameCache
-
Return the component type name for the given array type, or null if the given string does not represent an array type name.
- getComponentType() - Method in class serp.bytecode.BCClass
-
Return the component type of this class, or null if not an array.
- getConstant() - Method in class serp.bytecode.lowlevel.ClassEntry
- getConstant() - Method in interface serp.bytecode.lowlevel.ConstantEntry
-
Return the value of the constant held by this entry.
- getConstant() - Method in class serp.bytecode.lowlevel.DoubleEntry
- getConstant() - Method in class serp.bytecode.lowlevel.FloatEntry
- getConstant() - Method in class serp.bytecode.lowlevel.IntEntry
- getConstant() - Method in class serp.bytecode.lowlevel.LongEntry
- getConstant() - Method in class serp.bytecode.lowlevel.StringEntry
- getConstant() - Method in class serp.bytecode.lowlevel.UTF8Entry
- getConstantValue(boolean) - Method in class serp.bytecode.BCField
-
Return the constant value information for the field.
- getDeclaredAnnotations(boolean) - Method in class serp.bytecode.Annotated
-
Return runtime invisible annotation information for the entity.
- getDeclaredField(String) - Method in class serp.bytecode.BCClass
-
Return the declared field with the given name, or null if none.
- getDeclaredFields() - Method in class serp.bytecode.BCClass
-
Return all the declared fields of this class, or an empty array if none.
- getDeclaredInterfaceBCs() - Method in class serp.bytecode.BCClass
-
Return the bytecode for the declared interfaces of this class, or an empty array if none.
- getDeclaredInterfaceIndexes() - Method in class serp.bytecode.BCClass
-
Return the list of
ConstantPool
indexes of theClassEntry
s describing all the interfaces this class declares that it implements/extends. - getDeclaredInterfaceNames() - Method in class serp.bytecode.BCClass
-
Return the names of the interfaces declared for this class, including package names, or an empty array if none.
- getDeclaredInterfaceTypes() - Method in class serp.bytecode.BCClass
-
Return the
Class
objects for the declared interfaces of this class, or an empty array if none. - getDeclaredMethod(String) - Method in class serp.bytecode.BCClass
-
Return the declared method with the given name, or null if none.
- getDeclaredMethod(String, Class[]) - Method in class serp.bytecode.BCClass
-
Return the declared method with the given name and parameter types, or null if none.
- getDeclaredMethod(String, Class, Class[]) - Method in class serp.bytecode.BCClass
-
Return the declared method with the given name and signature, or null if none.
- getDeclaredMethod(String, String[]) - Method in class serp.bytecode.BCClass
-
Return the declared method with the given name and parameter types, or null if none.
- getDeclaredMethod(String, String, String[]) - Method in class serp.bytecode.BCClass
-
Return the declared method with the given name and signature, or null if none.
- getDeclaredMethod(String, BCClass[]) - Method in class serp.bytecode.BCClass
-
Return the declared method with the given name and parameter types, or null if none.
- getDeclaredMethod(String, BCClass, BCClass[]) - Method in class serp.bytecode.BCClass
-
Return the declared method with the given name and signature, or null if none.
- getDeclaredMethods() - Method in class serp.bytecode.BCClass
-
Return all methods declared by this class.
- getDeclaredMethods(String) - Method in class serp.bytecode.BCClass
-
Return all the declared methods with the given name, or an empty array if none.
- getDeclaredMethods(String, Class[]) - Method in class serp.bytecode.BCClass
-
Return all declared methods with the given name and parameter types.
- getDeclaredMethods(String, String[]) - Method in class serp.bytecode.BCClass
-
Return all declared methods with the given name and parameter types.
- getDeclaredMethods(String, BCClass[]) - Method in class serp.bytecode.BCClass
-
Return all declared methods with the given name and parameter types.
- getDeclaredRuntimeAnnotations(boolean) - Method in class serp.bytecode.Annotated
-
Return runtime visible annotation information for the entity.
- getDeclarer() - Method in class serp.bytecode.BCMember
-
Return the
BCClass
that declares this member. - getDeclarerBC() - Method in class serp.bytecode.InnerClass
-
Return the type for this instruction.
- getDeclarerIndex() - Method in class serp.bytecode.InnerClass
-
Return the
ConstantPool
index of theClassEntry
that describes the declaring class, or 0 if this class is not a member class. - getDeclarerName() - Method in class serp.bytecode.InnerClass
-
Return the full name of the declaring class, or null if unset/not a member.
- getDeclarerType() - Method in class serp.bytecode.InnerClass
-
Return the type of the declaring class.
- getDefaultOffset() - Method in class serp.bytecode.LookupSwitchInstruction
-
Synonymous with
JumpInstruction.getOffset()
. - getDefaultOffset() - Method in class serp.bytecode.SwitchInstruction
-
Synonymous with
JumpInstruction.getOffset()
. - getDefaultOffset() - Method in class serp.bytecode.TableSwitchInstruction
-
Synonymous with
JumpInstruction.getOffset()
. - getDefaultTarget() - Method in class serp.bytecode.LookupSwitchInstruction
-
Synonymous with
JumpInstruction.getTarget()
. - getDefaultTarget() - Method in class serp.bytecode.SwitchInstruction
-
Synonymous with
JumpInstruction.getTarget()
. - getDefaultTarget() - Method in class serp.bytecode.TableSwitchInstruction
-
Synonymous with
JumpInstruction.getTarget()
. - getDescriptor() - Method in class serp.bytecode.BCMember
-
Return the descriptor of this member, in internal form.
- getDescriptor(String, String[]) - Method in class serp.bytecode.NameCache
-
Construct a method descriptor from the given return and parameter types, which will be converted to internal form.
- getDescriptorEntry() - Method in class serp.bytecode.lowlevel.NameAndTypeEntry
-
Return the descriptor's referenced
UTF8Entry
. - getDescriptorIndex() - Method in class serp.bytecode.BCMember
-
Return the index in the class
ConstantPool
of theUTF8Entry
holding the descriptor of this member. - getDescriptorIndex() - Method in class serp.bytecode.lowlevel.NameAndTypeEntry
-
Return the constant pool index of the
UTF8Entry
containing the descriptor for this entity. - getDescriptorParamNames(String) - Method in class serp.bytecode.NameCache
-
Return the parameter types, in internal form, for the given method descriptor string.
- getDescriptorReturnName(String) - Method in class serp.bytecode.NameCache
-
Return the return type, in internal form, for the given method descriptor string.
- getDimensions() - Method in class serp.bytecode.MultiANewArrayInstruction
-
Return the dimensions of the array, or -1 if not set.
- getDoubleValue() - Method in class serp.bytecode.Annotation.Property
-
Return the double value of this property, or 0 if not set.
- getDoubleValue() - Method in class serp.bytecode.ConstantInstruction
-
Return the double value of this constant, or 0 if not set.
- getDoubleValue() - Method in class serp.bytecode.ConstantValue
-
Get the value of this double constant.
- getEnd() - Method in class serp.bytecode.Local
-
The last
Instruction
for which this local is in scope. - getEndIndex() - Method in class serp.bytecode.lowlevel.ConstantPoolTable
-
Return the index into the bytecode of the end of the constant pool.
- getEndIndex(byte[]) - Static method in class serp.bytecode.lowlevel.ConstantPoolTable
-
Allows static computation of the byte index after the constant pool without caching constant pool information.
- getEntries() - Method in class serp.bytecode.lowlevel.ConstantPool
-
Return all the entries in the pool.
- getEntry(int) - Method in class serp.bytecode.lowlevel.ConstantPool
-
Retrieve the entry at the specified 1-based index.
- getExceptionBCs() - Method in class serp.bytecode.Exceptions
-
Return bytecode for the exception types of this method, or an empty array if none.
- getExceptionHandler(Class) - Method in class serp.bytecode.Code
-
Return the exception handler that catches the given exception type; if multiple handlers catch the given type, which is returned is undefined.
- getExceptionHandler(String) - Method in class serp.bytecode.Code
-
Return the exception handler that catches the given exception type; if multiple handlers catch the given type, which is returned is undefined.
- getExceptionHandler(BCClass) - Method in class serp.bytecode.Code
-
Return the exception handler that catches the given exception type; if multiple handlers catch the given type, which is returned is undefined.
- getExceptionHandlers() - Method in class serp.bytecode.Code
-
Return the exception handlers active in this code block, or an empty array if none.
- getExceptionHandlers(Class) - Method in class serp.bytecode.Code
-
Return all exception handlers that catch the given exception type, or an empty array if none.
- getExceptionHandlers(String) - Method in class serp.bytecode.Code
-
Return all exception handlers that catch the given exception type, or an empty array if none.
- getExceptionHandlers(BCClass) - Method in class serp.bytecode.Code
-
Return all exception handlers that catch the given exception type, or an empty array if none.
- getExceptionIndexes() - Method in class serp.bytecode.Exceptions
-
Return the indexes in the class
ConstantPool
of theClassEntry
s for the exception types thrown by this method, or an empty array if none. - getExceptionNames() - Method in class serp.bytecode.Exceptions
-
Return the names of the exception types for this method, or an empty array if none.
- getExceptions(boolean) - Method in class serp.bytecode.BCMethod
-
Return the checked exceptions information for the method.
- getExceptionTypes() - Method in class serp.bytecode.Exceptions
-
Return the
Class
objects for the exception types for this method, or an empty array if none. - getExternalForm(String, boolean) - Method in class serp.bytecode.NameCache
-
Given the internal name of the class, return the 'normal' java name.
- getfield() - Method in class serp.bytecode.Code
-
Load the value from a field onto the stack; the
getfield
opcode. - getField() - Method in class serp.bytecode.ConstantValue
-
Return the owning field.
- getField() - Method in class serp.bytecode.FieldInstruction
-
Return the field this instruction operates on, or null if not set.
- GETFIELD - Static variable in interface serp.bytecode.Constants
- getFieldDeclarerBC() - Method in class serp.bytecode.FieldInstruction
-
Return the declaring class of the field this instruction operates on, or null if not set.
- getFieldDeclarerName() - Method in class serp.bytecode.FieldInstruction
-
Return the declaring class of the field this instruction operates on, or null if not set.
- getFieldDeclarerType() - Method in class serp.bytecode.FieldInstruction
-
Return the declaring class of the field this instruction operates on, or null if not set.
- getFieldIndex() - Method in class serp.bytecode.FieldInstruction
-
Return the index in the class
ConstantPool
of theComplexEntry
describing the field to operate on. - GetFieldInstruction - Class in serp.bytecode
-
Loads a value from a field onto the stack.
- getFieldName() - Method in class serp.bytecode.FieldInstruction
-
Return the name of the field this instruction operates on, or null if not set.
- getFields() - Method in class serp.bytecode.BCClass
-
Return all the fields of this class, including those of all superclasses, or an empty array if none.
- getFields(String) - Method in class serp.bytecode.BCClass
-
Return all fields with the given name, including those of all superclasses, or an empty array if none.
- getFieldType() - Method in class serp.bytecode.FieldInstruction
-
Return the type of the field this instruction operates on, or null if not set.
- getFieldTypeBC() - Method in class serp.bytecode.FieldInstruction
-
Return the type of the field this instruction operates on, or null if not set.
- getFieldTypeName() - Method in class serp.bytecode.FieldInstruction
-
Return the type of the field this instruction operates on, or null if not set.
- getFile(File) - Method in class serp.bytecode.SourceFile
-
Return the file object for the source file, or null if not set.
- getFileIndex() - Method in class serp.bytecode.SourceFile
-
Return the index into the class
ConstantPool
of theUTF8Entry
naming the source file for this class, or 0 if not set. - getFileName() - Method in class serp.bytecode.SourceFile
-
Return the name of the source file, or null if not set.
- getFloatValue() - Method in class serp.bytecode.Annotation.Property
-
Return the float value of this property, or 0 if not set.
- getFloatValue() - Method in class serp.bytecode.ConstantInstruction
-
Return the float value of this constant, or 0 if not set.
- getFloatValue() - Method in class serp.bytecode.ConstantValue
-
Get the value of this float constant.
- getFromType() - Method in class serp.bytecode.ConvertInstruction
-
Return the
Class
of the type being converted from. - getFromTypeBC() - Method in class serp.bytecode.ConvertInstruction
-
Return the bytecode of the type being converted from.
- getFromTypeName() - Method in class serp.bytecode.ConvertInstruction
-
Return the name of the type being converted from.
- getHandlerStart() - Method in class serp.bytecode.ExceptionHandler
-
Return the instruction marking the beginning of the catch {} block.
- getHandlerStartPc() - Method in class serp.bytecode.ExceptionHandler
- getHigh() - Method in class serp.bytecode.TableSwitchInstruction
- getIncrement() - Method in class serp.bytecode.IIncInstruction
-
Return the increment for this IINC instruction.
- getIncrement() - Method in class serp.bytecode.WideInstruction
-
Return the increment for this instruction if it augments IINC, or -1 if unset.
- getIndex() - Method in class serp.bytecode.BCClass
-
Return the
ConstantPool
index of theClassEntry
for this class. - getIndex() - Method in class serp.bytecode.lowlevel.Entry
-
Returns the index of the entry in the owning constant pool, or 0.
- getInnerClass(String) - Method in class serp.bytecode.InnerClasses
-
Return the inner class with the given name.
- getInnerClasses() - Method in class serp.bytecode.InnerClasses
-
Return all referenced inner classes, or empty array if none.
- getInnerClasses(boolean) - Method in class serp.bytecode.BCClass
-
Return inner classes information for the class.
- getInnerClasses(String) - Method in class serp.bytecode.InnerClasses
-
Return all inner classes with the given name, or empty array if none.
- getInstruction() - Method in class serp.bytecode.WideInstruction
-
Return the opcode of the instruction to modify; this will return one of the constants defined in
Constants
. - getInstructions() - Method in class serp.bytecode.Code
-
Return all the Instructions of this method.
- getInterfaceBCs() - Method in class serp.bytecode.BCClass
-
Return the bytecode of all unique interfaces implemented by this class, including those of all superclasses.
- getInterfaceNames() - Method in class serp.bytecode.BCClass
-
Return the names of all unique interfaces implemented by this class, including those of all superclasses.
- getInterfaceTypes() - Method in class serp.bytecode.BCClass
-
Return the
Class
objects of all unique interfaces implemented by this class, including those of all superclasses. - getInternalForm(String, boolean) - Method in class serp.bytecode.NameCache
-
Converts the given class name to its internal form.
- getIntValue() - Method in class serp.bytecode.Annotation.Property
-
Return the int value of this property, or 0 if not set.
- getIntValue() - Method in class serp.bytecode.ConstantInstruction
-
Return the int value of this constant, or 0 if not set.
- getIntValue() - Method in class serp.bytecode.ConstantValue
-
Get the value of this int constant, or 0 if not set.
- getLength() - Method in class serp.bytecode.BootstrapMethodElement
- getLength() - Method in class serp.bytecode.Local
-
Get the number of bytes for which this local has a value in the code byte array.
- getLine() - Method in class serp.bytecode.LineNumber
-
Return source line number.
- getLineNumber() - Method in class serp.bytecode.Instruction
-
Return the line number of this instruction, or null if none.
- getLineNumber(int) - Method in class serp.bytecode.LineNumberTable
-
Return the line number for the given program counter, or null if none.
- getLineNumber(Instruction) - Method in class serp.bytecode.LineNumberTable
-
Return the line number for the given instruction, or null if none.
- getLineNumbers() - Method in class serp.bytecode.LineNumberTable
-
Return the line numbers held in this table.
- getLineNumberTable(boolean) - Method in class serp.bytecode.Code
-
Return line number information for the code.
- getLocal() - Method in class serp.bytecode.Local
-
Get the local variable index of the current frame for this local.
- getLocal() - Method in class serp.bytecode.LocalVariableInstruction
-
Return the index of the local variable that this instruction operates on.
- getLocal(int) - Method in class serp.bytecode.LocalTable
-
Return the local with the given locals index, or null if none.
- getLocal(String) - Method in class serp.bytecode.LocalTable
-
Return the local with the given name, or null if none.
- getLocals() - Method in class serp.bytecode.LocalTable
-
Return all the locals of this method.
- getLocals(String) - Method in class serp.bytecode.LocalTable
-
Return all locals with the given name, or empty array if none.
- getLocalsIndex(int) - Method in class serp.bytecode.Code
-
Return the local variable index for the paramIndex'th parameter to the method.
- getLocalVariable() - Method in class serp.bytecode.LocalVariableInstruction
-
Return the local variable object this instruction operates on, or null if none.
- getLocalVariable(int) - Method in class serp.bytecode.LocalVariableTable
-
Return the local with the given locals index, or null if none.
- getLocalVariable(String) - Method in class serp.bytecode.LocalVariableTable
-
Return the local with the given name, or null if none.
- getLocalVariables() - Method in class serp.bytecode.LocalVariableTable
-
Return all the locals of this method.
- getLocalVariables(String) - Method in class serp.bytecode.LocalVariableTable
-
Return all locals with the given name, or empty array if none.
- getLocalVariableTable() - Method in class serp.bytecode.LocalVariable
-
The owning table.
- getLocalVariableTable(boolean) - Method in class serp.bytecode.Code
-
Return local variable information for the code.
- getLocalVariableType(int) - Method in class serp.bytecode.LocalVariableTypeTable
-
Return the local with the given locals index, or null if none.
- getLocalVariableType(String) - Method in class serp.bytecode.LocalVariableTypeTable
-
Return the local with the given name, or null if none.
- getLocalVariableTypes() - Method in class serp.bytecode.LocalVariableTypeTable
-
Return all the locals of this method.
- getLocalVariableTypes(String) - Method in class serp.bytecode.LocalVariableTypeTable
-
Return all locals with the given name, or empty array if none.
- getLocalVariableTypeTable() - Method in class serp.bytecode.LocalVariableType
-
The owning table.
- getLocalVariableTypeTable(boolean) - Method in class serp.bytecode.Code
-
Return local variable generics information for the code.
- getLogicalStackChange() - Method in class serp.bytecode.ArrayLoadInstruction
- getLogicalStackChange() - Method in class serp.bytecode.ArrayStoreInstruction
- getLogicalStackChange() - Method in class serp.bytecode.CmpInstruction
- getLogicalStackChange() - Method in class serp.bytecode.ConstantInstruction
- getLogicalStackChange() - Method in class serp.bytecode.ConvertInstruction
- getLogicalStackChange() - Method in class serp.bytecode.GetFieldInstruction
- getLogicalStackChange() - Method in class serp.bytecode.Instruction
-
Return the logical number of stack positions changed by this instruction.
- getLogicalStackChange() - Method in class serp.bytecode.LoadInstruction
- getLogicalStackChange() - Method in class serp.bytecode.MathInstruction
- getLogicalStackChange() - Method in class serp.bytecode.MethodInstruction
- getLogicalStackChange() - Method in class serp.bytecode.PutFieldInstruction
- getLogicalStackChange() - Method in class serp.bytecode.ReturnInstruction
- getLogicalStackChange() - Method in class serp.bytecode.StoreInstruction
- getLogicalStackChange() - Method in class serp.bytecode.WideInstruction
- getLongValue() - Method in class serp.bytecode.Annotation.Property
-
Return the long value of this property, or 0 if not set.
- getLongValue() - Method in class serp.bytecode.ConstantInstruction
-
Return the long value of this constant, or 0 if not set.
- getLongValue() - Method in class serp.bytecode.ConstantValue
-
Get the value of this long constant.
- getLow() - Method in class serp.bytecode.TableSwitchInstruction
- getMagic() - Method in class serp.bytecode.BCClass
-
Return the magic number for this class; if this is a valid type, this should be equal to
Constants.VALID_MAGIC
(the default value). - getMajorVersion() - Method in class serp.bytecode.BCClass
-
Return the major version of the bytecode spec used for this class.
- getMatches() - Method in class serp.bytecode.LookupSwitchInstruction
-
Return the values of the case statements for this switch.
- getMatches() - Method in class serp.bytecode.SwitchInstruction
- getMaxLocals() - Method in class serp.bytecode.Code
-
Return the maximum number of local variables (including params) set for this method.
- getMaxStack() - Method in class serp.bytecode.Code
-
Return the maximum stack depth set for this code block.
- getMethod() - Method in class serp.bytecode.Code
-
The owning method.
- getMethod() - Method in class serp.bytecode.Exceptions
-
Return the owning method.
- getMethod() - Method in class serp.bytecode.MethodInstruction
-
Return the method this instruction operates on, or null if not set.
- getMethodDeclarerBC() - Method in class serp.bytecode.MethodInstruction
-
Return the declaring type of the method this instruction operates on, or null if not set.
- getMethodDeclarerName() - Method in class serp.bytecode.MethodInstruction
-
Return the declaring type of the method this instruction operates on, or null if not set.
- getMethodDeclarerType() - Method in class serp.bytecode.MethodInstruction
-
Return the declaring type of the method this instruction operates on, or null if not set.
- getMethodDescriptorEntry() - Method in class serp.bytecode.lowlevel.MethodTypeEntry
- getMethodIndex() - Method in class serp.bytecode.MethodInstruction
-
Return the index in the class
ConstantPool
of theComplexEntry
describing the method to operate on. - getMethodName() - Method in class serp.bytecode.MethodInstruction
-
Return the name of the method this instruction operates on, or null if not set.
- getMethodParamBCs() - Method in class serp.bytecode.MethodInstruction
-
Return the param types of the method this instruction operates on, or empty array if none.
- getMethodParamNames() - Method in class serp.bytecode.MethodInstruction
-
Return the param types of the method this instruction operates on, or empty array if none.
- getMethodParamTypes() - Method in class serp.bytecode.MethodInstruction
-
Return the param types of the method this instruction operates on, or empty array if none.
- getMethodReturnBC() - Method in class serp.bytecode.MethodInstruction
-
Return the return type of the method this instruction operates on, or null if not set.
- getMethodReturnName() - Method in class serp.bytecode.MethodInstruction
-
Return the return type of the method this instruction operates on, or null if not set.
- getMethodReturnType() - Method in class serp.bytecode.MethodInstruction
-
Return the return type of the method this instruction operates on, or null if not set.
- getMethods() - Method in class serp.bytecode.BCClass
-
Return the methods of this class, including those of all superclasses, or an empty array if none.
- getMethods(String) - Method in class serp.bytecode.BCClass
-
Return the methods with the given name, including those of all superclasses, or an empty array if none.
- getMethods(String, Class[]) - Method in class serp.bytecode.BCClass
-
Return the methods with the given name and parameter types, including those of all superclasses, or an empty array if none.
- getMethods(String, String[]) - Method in class serp.bytecode.BCClass
-
Return the methods with the given name and parameter types, including those of all superclasses, or an empty array if none.
- getMethods(String, BCClass[]) - Method in class serp.bytecode.BCClass
-
Return the methods with the given name and parameter types, including those of all superclasses, or an empty array if none.
- getMinorVersion() - Method in class serp.bytecode.BCClass
-
Get the minor version of the bytecode spec used for this class.
- getName() - Method in class serp.bytecode.Annotation.Property
-
Return the name of this property.
- getName() - Method in class serp.bytecode.Attribute
-
Return the name of this attribute.
- getName() - Method in class serp.bytecode.BCClass
-
Return the name of this class, including package name.
- getName() - Method in class serp.bytecode.BCMember
-
Return the name of this member.
- getName() - Method in class serp.bytecode.InnerClass
-
Return the simple name of this inner class, or null if anonymous.
- getName() - Method in class serp.bytecode.Instruction
-
Return the name of this instruction.
- getName() - Method in class serp.bytecode.Local
-
Return the name of this local, or null if unset.
- getName() - Method in class serp.bytecode.Project
-
Return the project name, or null if unset.
- getNameAndTypeEntry() - Method in class serp.bytecode.lowlevel.ComplexEntry
-
Return the referenced
NameAndTypeEntry
. - getNameAndTypeEntry() - Method in class serp.bytecode.lowlevel.InvokeDynamicEntry
-
Return the referenced
NameAndTypeEntry
. - getNameAndTypeIndex() - Method in class serp.bytecode.lowlevel.ComplexEntry
-
Return the constant pool index of the
NameAndTypeEntry
describing this entity. - getNameAndTypeIndex() - Method in class serp.bytecode.lowlevel.InvokeDynamicEntry
-
Return the constant pool index of the
NameAndTypeEntry
describing this entity. - getNameCache() - Method in class serp.bytecode.Project
-
Return the name cache, which includes utilities for converting names from internal to external form and vice versa.
- getNameEntry() - Method in class serp.bytecode.lowlevel.ClassEntry
-
Return the referenced
UTF8Entry
. - getNameEntry() - Method in class serp.bytecode.lowlevel.NameAndTypeEntry
-
Return the name's referenced
UTF8Entry
. - getNameIndex() - Method in class serp.bytecode.Annotation.Property
-
Return the index in the class
ConstantPool
of theUTF8Entry
holding the name of this property. - getNameIndex() - Method in class serp.bytecode.Attribute
-
Return the index in the
ConstantPool
of theUTF8Entry
holding the name of this attribute. - getNameIndex() - Method in class serp.bytecode.BCMember
-
Return the index in the class
ConstantPool
of theUTF8Entry
holding the name of this member. - getNameIndex() - Method in class serp.bytecode.InnerClass
-
Return the
ConstantPool
index of theUTF8Entry
that describes the simple name this class is referred to in source, or 0 for anonymous classes. - getNameIndex() - Method in class serp.bytecode.Local
-
Return the
ConstantPool
index of theUTF8Entry
that describes the name of this local. - getNameIndex() - Method in class serp.bytecode.lowlevel.ClassEntry
-
Return the constant pool index of the
UTF8Entry
containing the class name. - getNameIndex() - Method in class serp.bytecode.lowlevel.NameAndTypeEntry
-
Return the constant pool index of the
UTF8Entry
containing the name of this entity. - getNaNValue() - Method in class serp.bytecode.CmpInstruction
-
Return the number that will be placed on the stack if this instruction is of type float or double and one of the operands is NaN.
- getNextLocalsIndex() - Method in class serp.bytecode.Code
-
Return the next available local variable index.
- getNumberBootstrapMethods() - Method in class serp.bytecode.BootstrapMethods
- getNumBootstrapArguments() - Method in class serp.bytecode.BootstrapMethodElement
- getOffset() - Method in class serp.bytecode.JumpInstruction
- getOffsets() - Method in class serp.bytecode.LookupSwitchInstruction
- getOffsets() - Method in class serp.bytecode.SwitchInstruction
-
Returns the current byte offsets for the different switch cases in this Instruction.
- getOffsets() - Method in class serp.bytecode.TableSwitchInstruction
-
Returns the current byte offsets for the different switch cases in this Instruction.
- getOpcode() - Method in class serp.bytecode.Instruction
-
Return the opcode this instruction represents.
- getOperation() - Method in class serp.bytecode.MathInstruction
-
Return the operation for this math instruction; will be one of the math constant defined in
Constants
, or -1 if unset. - getOwner() - Method in class serp.bytecode.Annotation
-
Annotations are stored in an
Annotations
table or as part of anAnnotation
property value. - getOwner() - Method in class serp.bytecode.Attribute
-
Return the
Attributes
that owns this attribute. - getOwner() - Method in class serp.bytecode.InnerClass
-
Inner classes are stored in an
InnerClasses
attribute. - getPackageName() - Method in class serp.bytecode.BCClass
-
Return the package name only, without class, or null if none.
- getPackageName(Class) - Static method in class serp.util.Strings
-
Return only the package, or empty string if none.
- getPackageName(String) - Static method in class serp.util.Strings
-
Return only the package, or empty string if none.
- getParam() - Method in class serp.bytecode.Local
-
Return the parameter that this local corresponds to, or -1 if none.
- getParam() - Method in class serp.bytecode.LocalVariableInstruction
-
Return the parameter that this instruction operates on, or -1 if none.
- getParamBCs() - Method in class serp.bytecode.BCMethod
-
Return the bytecode for all the parameter types for this method.
- getParamNames() - Method in class serp.bytecode.BCMethod
-
Return the names of all the parameter types for this method.
- getParamsIndex(int) - Method in class serp.bytecode.Code
-
Return the parameter index for the given local index, or -1 if the given local does not reference a param.
- getParamTypes() - Method in class serp.bytecode.BCMethod
-
Return the
Class
objects for all the parameter types for this method. - getPool() - Method in class serp.bytecode.Annotation
- getPool() - Method in class serp.bytecode.Annotation.Property
- getPool() - Method in class serp.bytecode.Attribute
- getPool() - Method in class serp.bytecode.BCClass
- getPool() - Method in interface serp.bytecode.BCEntity
-
Return the constant pool of the current class.
- getPool() - Method in class serp.bytecode.BCMember
- getPool() - Method in class serp.bytecode.ExceptionHandler
- getPool() - Method in class serp.bytecode.InnerClass
- getPool() - Method in class serp.bytecode.Instruction
- getPool() - Method in class serp.bytecode.LineNumber
- getPool() - Method in class serp.bytecode.Local
- getPool() - Method in class serp.bytecode.lowlevel.Entry
-
Returns the constant pool containing this entry, or null if none.
- getProject() - Method in class serp.bytecode.Annotation
- getProject() - Method in class serp.bytecode.Annotation.Property
- getProject() - Method in class serp.bytecode.Attribute
- getProject() - Method in class serp.bytecode.BCClass
- getProject() - Method in class serp.bytecode.BCClassLoader
-
Return this class loader's project.
- getProject() - Method in interface serp.bytecode.BCEntity
-
Return the project of the current class.
- getProject() - Method in class serp.bytecode.BCMember
- getProject() - Method in class serp.bytecode.ExceptionHandler
- getProject() - Method in class serp.bytecode.InnerClass
- getProject() - Method in class serp.bytecode.Instruction
- getProject() - Method in class serp.bytecode.LineNumber
- getProject() - Method in class serp.bytecode.Local
- getProperties() - Method in class serp.bytecode.Annotation
-
All declared properties.
- getProperty(String) - Method in class serp.bytecode.Annotation
-
Return the property with the given name, or null if none.
- getReference() - Method in class serp.bytecode.lowlevel.MethodHandleEntry
-
The Entry Type depends on both the reference kind and the Class Version (CV).
- getReferenceKind() - Method in class serp.bytecode.lowlevel.MethodHandleEntry
- getReturnBC() - Method in class serp.bytecode.BCMethod
-
Return the bytecode for the return type of this method.
- getReturnName() - Method in class serp.bytecode.BCMethod
-
Return the name of the type returned by this method.
- getReturnType() - Method in class serp.bytecode.BCMethod
-
Return the
Class
object for the return type of this method. - getShortValue() - Method in class serp.bytecode.Annotation.Property
-
Return the short value of this property, or 0 if not set.
- getSourceFile(boolean) - Method in class serp.bytecode.BCClass
-
Return source file information for the class.
- getStackChange() - Method in class serp.bytecode.ArrayLoadInstruction
- getStackChange() - Method in class serp.bytecode.ArrayStoreInstruction
- getStackChange() - Method in class serp.bytecode.ClassInstruction
- getStackChange() - Method in class serp.bytecode.CmpInstruction
- getStackChange() - Method in class serp.bytecode.ConstantInstruction
- getStackChange() - Method in class serp.bytecode.ConvertInstruction
- getStackChange() - Method in class serp.bytecode.GetFieldInstruction
- getStackChange() - Method in class serp.bytecode.GotoInstruction
- getStackChange() - Method in class serp.bytecode.IfInstruction
- getStackChange() - Method in class serp.bytecode.Instruction
-
Return the number of stack positions this instruction pushes or pops during its execution.
- getStackChange() - Method in class serp.bytecode.LoadInstruction
- getStackChange() - Method in class serp.bytecode.LookupSwitchInstruction
- getStackChange() - Method in class serp.bytecode.MathInstruction
- getStackChange() - Method in class serp.bytecode.MethodInstruction
- getStackChange() - Method in class serp.bytecode.MonitorInstruction
- getStackChange() - Method in class serp.bytecode.MultiANewArrayInstruction
- getStackChange() - Method in class serp.bytecode.PutFieldInstruction
- getStackChange() - Method in class serp.bytecode.ReturnInstruction
- getStackChange() - Method in class serp.bytecode.StackInstruction
- getStackChange() - Method in class serp.bytecode.StoreInstruction
- getStackChange() - Method in class serp.bytecode.SwitchInstruction
- getStackChange() - Method in class serp.bytecode.TableSwitchInstruction
- getStackChange() - Method in class serp.bytecode.WideInstruction
- getStart() - Method in class serp.bytecode.LineNumber
-
Return the instruction marking the beginning of this line.
- getStart() - Method in class serp.bytecode.Local
-
Return the instruction marking the beginning of this local.
- getStartPc() - Method in class serp.bytecode.LineNumber
-
Return the index into the code byte array at which this line starts.
- getStartPc() - Method in class serp.bytecode.Local
-
Return the index into the code byte array at which this local starts.
- getstatic() - Method in class serp.bytecode.Code
-
Load the value from a static field onto the stack; the
getstatic
opcode. - GETSTATIC - Static variable in interface serp.bytecode.Constants
- getStringEntry() - Method in class serp.bytecode.lowlevel.StringEntry
-
Return the referenced
UTF8Entry
. - getStringIndex() - Method in class serp.bytecode.lowlevel.StringEntry
-
Return the constant pool index of the
UTF8Entry
storing the value of this string. - getStringValue() - Method in class serp.bytecode.Annotation.Property
-
Return the string value of this property, or null if not set.
- getStringValue() - Method in class serp.bytecode.ConstantInstruction
-
Return the string value of this constant, or null if not set.
- getStringValue() - Method in class serp.bytecode.ConstantValue
-
Get the value of this string constant.
- getSuperclassBC() - Method in class serp.bytecode.BCClass
-
Return the bytecode of the superclass of this class, or null for types without superclasses.
- getSuperclassIndex() - Method in class serp.bytecode.BCClass
-
Return the
ConstantPool
index of theClassEntry
for the superclass of this class. - getSuperclassName() - Method in class serp.bytecode.BCClass
-
Return the name of the superclass for this class, including package name.
- getSuperclassType() - Method in class serp.bytecode.BCClass
-
Return the
Class
object for the superclass of this class, if it is loadable. - getTable() - Method in class serp.bytecode.LineNumber
-
Line numbers are stored in a
LineNumberTable
. - getTable() - Method in class serp.bytecode.Local
-
The owning table.
- getTarget() - Method in class serp.bytecode.JumpInstruction
-
Get the current target instruction to jump to, if it has been set.
- getTargets() - Method in class serp.bytecode.LookupSwitchInstruction
-
Return the targets of the case statements for this switch.
- getTargets() - Method in class serp.bytecode.SwitchInstruction
-
Return the targets for this switch, or empty array if not set.
- getTargets() - Method in class serp.bytecode.TableSwitchInstruction
-
Return the targets for this switch, or empty array if not set.
- getTryEnd() - Method in class serp.bytecode.ExceptionHandler
-
Return the instruction at the end of the try {} block.
- getTryEndPc() - Method in class serp.bytecode.ExceptionHandler
-
Return the program counter end position for this exception handler.
- getTryStart() - Method in class serp.bytecode.ExceptionHandler
-
Return the instruction marking the beginning of the try {} block.
- getTryStartPc() - Method in class serp.bytecode.ExceptionHandler
- getType() - Method in class serp.bytecode.Annotation
-
The
Class
object for this annotation's type. - getType() - Method in class serp.bytecode.BCClass
-
Return the
Class
object for this class, if it is loadable. - getType() - Method in class serp.bytecode.BCField
-
Return the
Class
object for the type of this field. - getType() - Method in class serp.bytecode.ConstantValue
-
Return the type of constant this attribute represents (String.class, int.class, etc), or null if not set.
- getType() - Method in class serp.bytecode.InnerClass
-
Return the type of the inner class.
- getType() - Method in class serp.bytecode.LocalVariable
-
Return the type of this local.
- getType() - Method in class serp.bytecode.lowlevel.ClassEntry
- getType() - Method in class serp.bytecode.lowlevel.DoubleEntry
- getType() - Method in class serp.bytecode.lowlevel.Entry
-
Return the type code for this entry type.
- getType() - Method in class serp.bytecode.lowlevel.FieldEntry
- getType() - Method in class serp.bytecode.lowlevel.FloatEntry
- getType() - Method in class serp.bytecode.lowlevel.IntEntry
- getType() - Method in class serp.bytecode.lowlevel.InterfaceMethodEntry
- getType() - Method in class serp.bytecode.lowlevel.InvokeDynamicEntry
- getType() - Method in class serp.bytecode.lowlevel.LongEntry
- getType() - Method in class serp.bytecode.lowlevel.MethodEntry
- getType() - Method in class serp.bytecode.lowlevel.MethodHandleEntry
- getType() - Method in class serp.bytecode.lowlevel.MethodTypeEntry
- getType() - Method in class serp.bytecode.lowlevel.NameAndTypeEntry
- getType() - Method in class serp.bytecode.lowlevel.StringEntry
- getType() - Method in class serp.bytecode.lowlevel.UTF8Entry
- getType() - Method in class serp.bytecode.TypedInstruction
-
Return the type for this instruction.
- getTypeBC() - Method in class serp.bytecode.Annotation
-
The bytecode for the type of this annotation.
- getTypeBC() - Method in class serp.bytecode.BCField
-
Return the bytecode for the type of this field.
- getTypeBC() - Method in class serp.bytecode.ConstantValue
-
Return the bytecode for the type of constant this attribute represents.
- getTypeBC() - Method in class serp.bytecode.InnerClass
-
Return the type for this instruction.
- getTypeBC() - Method in class serp.bytecode.LocalVariable
-
Return the type of this local.
- getTypeBC() - Method in class serp.bytecode.TypedInstruction
-
Return the type for this instruction.
- getTypeCode() - Method in class serp.bytecode.NewArrayInstruction
-
Return the array code used in the lowlevel bytecode, or -1 if unset.
- getTypeIndex() - Method in class serp.bytecode.Annotation
-
The index in the class
ConstantPool
of theUTF8Entry
holding the type of this annotation. - getTypeIndex() - Method in class serp.bytecode.ClassInstruction
-
Return the
ConstantPool
index of theClassEntry
describing the class for this instruction. - getTypeIndex() - Method in class serp.bytecode.InnerClass
-
Return the
ConstantPool
index of theClassEntry
that describes this class, or 0 if none. - getTypeIndex() - Method in class serp.bytecode.Local
-
Return the
ConstantPool
index of theUTF8Entry
that describes this local. - getTypeName() - Method in class serp.bytecode.Annotation
-
The name of this annotation's type.
- getTypeName() - Method in class serp.bytecode.ArrayLoadInstruction
- getTypeName() - Method in class serp.bytecode.ArrayStoreInstruction
- getTypeName() - Method in class serp.bytecode.BCField
-
Return the name of the type of this field.
- getTypeName() - Method in class serp.bytecode.ClassInstruction
- getTypeName() - Method in class serp.bytecode.CmpInstruction
- getTypeName() - Method in class serp.bytecode.ConstantInstruction
- getTypeName() - Method in class serp.bytecode.ConstantValue
-
Return the type of constant this attribute represents, or null if not set.
- getTypeName() - Method in class serp.bytecode.ConvertInstruction
- getTypeName() - Method in class serp.bytecode.IfInstruction
- getTypeName() - Method in class serp.bytecode.InnerClass
-
Return the full name of the inner class, or null if unset.
- getTypeName() - Method in class serp.bytecode.LoadInstruction
- getTypeName() - Method in class serp.bytecode.Local
-
Return the full name of the local's type, or null if unset.
- getTypeName() - Method in class serp.bytecode.LocalVariableInstruction
- getTypeName() - Method in class serp.bytecode.MathInstruction
- getTypeName() - Method in class serp.bytecode.NewArrayInstruction
- getTypeName() - Method in class serp.bytecode.ReturnInstruction
- getTypeName() - Method in class serp.bytecode.StackInstruction
-
This method will always return null; use
StackInstruction.isWide()
to determine if this is pop2, dup2, etc. - getTypeName() - Method in class serp.bytecode.StoreInstruction
- getTypeName() - Method in class serp.bytecode.TypedInstruction
-
Return the type name for this instruction.
- getTypeName() - Method in class serp.bytecode.WideInstruction
- getValue() - Method in class serp.bytecode.Annotation.Property
-
Return the value of the property as its wrapper type.
- getValue() - Method in class serp.bytecode.ConstantInstruction
-
Return the value of the constant as its wrapper type, or null if not set.
- getValue() - Method in class serp.bytecode.ConstantValue
-
Return the value of this constant as an Object of the appropriate type (String, Integer, Double, etc), or null if not set.
- getValue() - Method in class serp.bytecode.lowlevel.DoubleEntry
-
Return the value of the constant.
- getValue() - Method in class serp.bytecode.lowlevel.FloatEntry
-
Return the value of this constant.
- getValue() - Method in class serp.bytecode.lowlevel.IntEntry
-
Return the value of this constant.
- getValue() - Method in class serp.bytecode.lowlevel.LongEntry
-
Return the value of the constant.
- getValue() - Method in class serp.bytecode.lowlevel.UTF8Entry
-
Return the value of the entry.
- getValue() - Method in class serp.bytecode.UnknownAttribute
-
The value is of unknown content, so it is stored as a byte array.
- getValueIndex() - Method in class serp.bytecode.ConstantValue
-
Return the
ConstantPool
index of theConstantEntry
holding the value of this constant. - go2() - Method in class serp.bytecode.Code
-
The
go2
opcode. - GOTO - Static variable in interface serp.bytecode.Constants
- GotoInstruction - Class in serp.bytecode
-
An instruction that specifies a position in the code block to jump to.
- GOTOW - Static variable in interface serp.bytecode.Constants
H
- hasNext() - Method in class serp.bytecode.Code
-
Return true if a subsequent call to
Code.next()
will return an instruction. - hasPrevious() - Method in class serp.bytecode.Code
-
Return true if a subsequent call to
Code.previous()
will return an instruction.
I
- I2B - Static variable in interface serp.bytecode.Constants
- I2C - Static variable in interface serp.bytecode.Constants
- I2D - Static variable in interface serp.bytecode.Constants
- I2F - Static variable in interface serp.bytecode.Constants
- I2L - Static variable in interface serp.bytecode.Constants
- I2S - Static variable in interface serp.bytecode.Constants
- iadd() - Method in class serp.bytecode.Code
-
Add the top two stack int values; the
iadd
opcode. - IADD - Static variable in interface serp.bytecode.Constants
- iaload() - Method in class serp.bytecode.Code
-
Load an int array value onto the stack; the
iaload
opcode. - IALOAD - Static variable in interface serp.bytecode.Constants
- iand() - Method in class serp.bytecode.Code
-
Take the mathematical and of the top two stack int values; the
iand
opcode. - IAND - Static variable in interface serp.bytecode.Constants
- iastore() - Method in class serp.bytecode.Code
-
Store an int value from the stack into an array; the
iastore
opcode. - IASTORE - Static variable in interface serp.bytecode.Constants
- ICONST0 - Static variable in interface serp.bytecode.Constants
- ICONST1 - Static variable in interface serp.bytecode.Constants
- ICONST2 - Static variable in interface serp.bytecode.Constants
- ICONST3 - Static variable in interface serp.bytecode.Constants
- ICONST4 - Static variable in interface serp.bytecode.Constants
- ICONST5 - Static variable in interface serp.bytecode.Constants
- ICONSTM1 - Static variable in interface serp.bytecode.Constants
- idiv() - Method in class serp.bytecode.Code
-
Divide the top two stack int values; the
idiv
opcode. - IDIV - Static variable in interface serp.bytecode.Constants
- ifacmpeq() - Method in class serp.bytecode.Code
-
The
ifacmpeq
opcode. - IFACMPEQ - Static variable in interface serp.bytecode.Constants
- ifacmpne() - Method in class serp.bytecode.Code
-
The
ifacmpne
opcode. - IFACMPNE - Static variable in interface serp.bytecode.Constants
- ifeq() - Method in class serp.bytecode.Code
-
The
ifeq
opcode. - IFEQ - Static variable in interface serp.bytecode.Constants
- ifge() - Method in class serp.bytecode.Code
-
The
ifge
opcode. - IFGE - Static variable in interface serp.bytecode.Constants
- ifgt() - Method in class serp.bytecode.Code
-
The
ifgt
opcode. - IFGT - Static variable in interface serp.bytecode.Constants
- ificmpeq() - Method in class serp.bytecode.Code
-
The
ificmpeq
opcode. - IFICMPEQ - Static variable in interface serp.bytecode.Constants
- ificmpge() - Method in class serp.bytecode.Code
-
The
ificmpge
opcode. - IFICMPGE - Static variable in interface serp.bytecode.Constants
- ificmpgt() - Method in class serp.bytecode.Code
-
The
ificmpgt
opcode. - IFICMPGT - Static variable in interface serp.bytecode.Constants
- ificmple() - Method in class serp.bytecode.Code
-
The
ificmple
opcode. - IFICMPLE - Static variable in interface serp.bytecode.Constants
- ificmplt() - Method in class serp.bytecode.Code
-
The
ificmplt
opcode. - IFICMPLT - Static variable in interface serp.bytecode.Constants
- ificmpne() - Method in class serp.bytecode.Code
-
The
ificmpne
opcode. - IFICMPNE - Static variable in interface serp.bytecode.Constants
- IfInstruction - Class in serp.bytecode
-
An if instruction such as
ifnull, ifeq
, etc. - ifle() - Method in class serp.bytecode.Code
-
The
ifle
opcode. - IFLE - Static variable in interface serp.bytecode.Constants
- iflt() - Method in class serp.bytecode.Code
-
The
iflt
opcode. - IFLT - Static variable in interface serp.bytecode.Constants
- ifne() - Method in class serp.bytecode.Code
-
The
ifne
opcode. - IFNE - Static variable in interface serp.bytecode.Constants
- ifnonnull() - Method in class serp.bytecode.Code
-
The
ifnonnull
opcode. - IFNONNULL - Static variable in interface serp.bytecode.Constants
- ifnull() - Method in class serp.bytecode.Code
-
The
ifnull
opcode. - IFNULL - Static variable in interface serp.bytecode.Constants
- iinc() - Method in class serp.bytecode.Code
-
Add the
iinc
opcode. - iinc() - Method in class serp.bytecode.WideInstruction
-
Set the type of instruction this wide instruction modifies.
- IINC - Static variable in interface serp.bytecode.Constants
- IIncInstruction - Class in serp.bytecode
-
The
iinc
instruction. - iload() - Method in class serp.bytecode.Code
-
Load an int local variable onto the stack.
- iload() - Method in class serp.bytecode.WideInstruction
-
Set the type of instruction this wide instruction modifies.
- ILOAD - Static variable in interface serp.bytecode.Constants
- ILOAD0 - Static variable in interface serp.bytecode.Constants
- ILOAD1 - Static variable in interface serp.bytecode.Constants
- ILOAD2 - Static variable in interface serp.bytecode.Constants
- ILOAD3 - Static variable in interface serp.bytecode.Constants
- imul() - Method in class serp.bytecode.Code
-
Multiply the top two stack int values; the
imul
opcode. - IMUL - Static variable in interface serp.bytecode.Constants
- indexOf(Entry) - Method in class serp.bytecode.lowlevel.ConstantPool
-
Return the index of the given entry, or 0 if it is not in the pool.
- ineg() - Method in class serp.bytecode.Code
-
Negate the top stack int value; the
ineg
opcode. - INEG - Static variable in interface serp.bytecode.Constants
- InnerClass - Class in serp.bytecode
-
Any referenced class that is not a package member is represented by this structure.
- InnerClasses - Class in serp.bytecode
-
Attribute describing all referenced classes that are not package members.
- INSTANCEOF - Static variable in interface serp.bytecode.Constants
- Instruction - Class in serp.bytecode
-
An opcode in a method of a class.
- InstructionPtr - Interface in serp.bytecode
-
An entity that maintains ptrs to instructions in a code block.
- INT - Static variable in class serp.bytecode.lowlevel.Entry
- IntEntry - Class in serp.bytecode.lowlevel
-
A constant int value in the constant pool.
- IntEntry() - Constructor for class serp.bytecode.lowlevel.IntEntry
-
Default constructor.
- IntEntry(int) - Constructor for class serp.bytecode.lowlevel.IntEntry
-
Constructor.
- INTERFACEMETHOD - Static variable in class serp.bytecode.lowlevel.Entry
- InterfaceMethodEntry - Class in serp.bytecode.lowlevel
-
A reference to an interface method.
- InterfaceMethodEntry() - Constructor for class serp.bytecode.lowlevel.InterfaceMethodEntry
-
Default constructor.
- InterfaceMethodEntry(int, int) - Constructor for class serp.bytecode.lowlevel.InterfaceMethodEntry
-
Constructor.
- invokedynamic() - Method in class serp.bytecode.Code
-
Invoke a dynamic method; the
invokedynamic
opcode. - INVOKEDYNAMIC - Static variable in interface serp.bytecode.Constants
- INVOKEDYNAMIC - Static variable in class serp.bytecode.lowlevel.Entry
- InvokeDynamicEntry - Class in serp.bytecode.lowlevel
-
InvokeDynamic u1 tag u2 bootstrap_method_attr_index // References entry in Bootstrap Methods table u2 name_and_type_index // References NameAndTypeEntry representing method name and descriptor
- InvokeDynamicEntry() - Constructor for class serp.bytecode.lowlevel.InvokeDynamicEntry
- InvokeDynamicEntry(int, int) - Constructor for class serp.bytecode.lowlevel.InvokeDynamicEntry
- invokeinterface() - Method in class serp.bytecode.Code
-
Invoke a method on an interface; the
invokeinterface
opcode. - INVOKEINTERFACE - Static variable in interface serp.bytecode.Constants
- invokespecial() - Method in class serp.bytecode.Code
-
Invoke a method non-virtually, as for constructors and superclass methods; the
invokespecial
opcode. - INVOKESPECIAL - Static variable in interface serp.bytecode.Constants
- invokestatic() - Method in class serp.bytecode.Code
-
Invoke a static method; the
invokestatic
opcode. - INVOKESTATIC - Static variable in interface serp.bytecode.Constants
- invokevirtual() - Method in class serp.bytecode.Code
-
Invoke a virtual method; the
invokevirtual
opcode. - INVOKEVIRTUAL - Static variable in interface serp.bytecode.Constants
- ior() - Method in class serp.bytecode.Code
-
Take the mathematical or of the top two stack int values; the
ior
opcode. - IOR - Static variable in interface serp.bytecode.Constants
- irem() - Method in class serp.bytecode.Code
-
Take the remainder of the top two int stack values; the
irem
opcode. - IREM - Static variable in interface serp.bytecode.Constants
- ireturn() - Method in class serp.bytecode.Code
-
Return an int from a method; the
ireturn
opcode. - IRETURN - Static variable in interface serp.bytecode.Constants
- isAbstract() - Method in class serp.bytecode.BCClass
-
Manipulate the class access flags.
- isAbstract() - Method in class serp.bytecode.BCMethod
-
Manipulate the method access flags.
- isAbstract() - Method in class serp.bytecode.InnerClass
-
Manipulate the class access flags.
- isAnnotation() - Method in class serp.bytecode.BCClass
-
Manipulate the class access flags.
- isAnnotation() - Method in class serp.bytecode.InnerClass
-
Manipulate the inner class access flags.
- isArray() - Method in class serp.bytecode.BCClass
-
Return true if this class is an array type.
- isBridge() - Method in class serp.bytecode.BCMethod
-
Manipulate the method access flags.
- isDeprecated() - Method in class serp.bytecode.BCClass
-
Convenience method to return deprecation information for the class.
- isDeprecated() - Method in class serp.bytecode.BCMember
-
Convenience method to return deprecation information for the member.
- isEnum() - Method in class serp.bytecode.BCClass
-
Manipulate the class access flags.
- isEnum() - Method in class serp.bytecode.BCField
-
Manipulate the field access flags.
- isEnum() - Method in class serp.bytecode.InnerClass
-
Manipulate the inner class access flags.
- isFinal() - Method in class serp.bytecode.BCClass
-
Manipulate the class access flags.
- isFinal() - Method in class serp.bytecode.BCMember
-
Manipulate the member access flags.
- isFinal() - Method in class serp.bytecode.InnerClass
-
Manipulate the inner class access flags.
- ishl() - Method in class serp.bytecode.Code
-
Shift the top stack int values; the
ishl
opcode. - ISHL - Static variable in interface serp.bytecode.Constants
- ishr() - Method in class serp.bytecode.Code
-
Shift the top stack int values; the
ishr
opcode. - ISHR - Static variable in interface serp.bytecode.Constants
- isinstance() - Method in class serp.bytecode.Code
-
Test if a stack object is an instance of a class; the
instanceof
opcode. - isInstanceOf(Class) - Method in class serp.bytecode.BCClass
-
Return true if this class or any of its superclasses implement/extend the given interface/class.
- isInstanceOf(String) - Method in class serp.bytecode.BCClass
-
Return true if this class or any of its superclasses implement/extend the given interface/class.
- isInstanceOf(BCClass) - Method in class serp.bytecode.BCClass
-
Return true if this class or any of its superclasses implement/extend the given interface/class.
- isInterface() - Method in class serp.bytecode.BCClass
-
Manipulate the class access flags.
- isInterface() - Method in class serp.bytecode.InnerClass
-
Manipulate the class access flags.
- isNative() - Method in class serp.bytecode.BCMethod
-
Manipulate the method access flags.
- isPackage() - Method in class serp.bytecode.BCClass
-
Manipulate the class access flags.
- isPackage() - Method in class serp.bytecode.BCMember
-
Manipulate the member access flags.
- isPrimitive() - Method in class serp.bytecode.BCClass
-
Return true if this class is a primitive type.
- isPrivate() - Method in class serp.bytecode.BCMember
-
Manipulate the member access flags.
- isPrivate() - Method in class serp.bytecode.InnerClass
-
Manipulate the inner class access flags.
- isProtected() - Method in class serp.bytecode.BCMember
-
Manipulate the member access flags.
- isProtected() - Method in class serp.bytecode.InnerClass
-
Manipulate the inner class access flags.
- isPublic() - Method in class serp.bytecode.BCClass
-
Manipulate the class access flags.
- isPublic() - Method in class serp.bytecode.BCMember
-
Manipulate the member access flags.
- isPublic() - Method in class serp.bytecode.InnerClass
-
Manipulate the inner class access flags.
- isRuntime() - Method in class serp.bytecode.Annotations
-
Whether these annotations are runtime-visible.
- isStatic() - Method in class serp.bytecode.BCMember
-
Manipulate the member access flags.
- isStatic() - Method in class serp.bytecode.InnerClass
-
Manipulate the inner class access flags.
- isStrict() - Method in class serp.bytecode.BCMethod
-
Manipulate the method access flags.
- isSynchronized() - Method in class serp.bytecode.BCMethod
-
Manipulate the method access flags.
- isSynthetic() - Method in class serp.bytecode.BCClass
-
Manipulate the class access flags.
- isSynthetic() - Method in class serp.bytecode.BCMember
-
Manipulate the field access flags.
- isSynthetic() - Method in class serp.bytecode.InnerClass
-
Manipulate the inner class access flags.
- isThis() - Method in class serp.bytecode.LoadInstruction
-
Equivalent to
getLocal () == 0 && getType () == Object.class
; thethis
ptr is always passed in local variable 0. - istore() - Method in class serp.bytecode.Code
-
Store an int value from the stack into a local variable.
- istore() - Method in class serp.bytecode.WideInstruction
-
Set the type of instruction this wide instruction modifies.
- ISTORE - Static variable in interface serp.bytecode.Constants
- ISTORE0 - Static variable in interface serp.bytecode.Constants
- ISTORE1 - Static variable in interface serp.bytecode.Constants
- ISTORE2 - Static variable in interface serp.bytecode.Constants
- ISTORE3 - Static variable in interface serp.bytecode.Constants
- isTransient() - Method in class serp.bytecode.BCField
-
Manipulate the field access flags.
- isub() - Method in class serp.bytecode.Code
-
Subtract the top two stack int values; the
isub
opcode. - ISUB - Static variable in interface serp.bytecode.Constants
- isValid() - Method in class serp.bytecode.Annotation
- isValid() - Method in class serp.bytecode.Annotation.Property
- isValid() - Method in class serp.bytecode.Attribute
- isValid() - Method in class serp.bytecode.BCClass
- isValid() - Method in interface serp.bytecode.BCEntity
-
Return false if this entity has been removed from its parent; in this case the results of any operations on the entity are undefined.
- isValid() - Method in class serp.bytecode.BCMember
- isValid() - Method in class serp.bytecode.ExceptionHandler
- isValid() - Method in class serp.bytecode.InnerClass
- isValid() - Method in class serp.bytecode.Instruction
- isValid() - Method in class serp.bytecode.LineNumber
- isValid() - Method in class serp.bytecode.Local
- isVarArgs() - Method in class serp.bytecode.BCMethod
-
Manipulate the method access flags.
- isVolatile() - Method in class serp.bytecode.BCField
-
Manipulate the field access flags.
- isWide() - Method in class serp.bytecode.lowlevel.DoubleEntry
- isWide() - Method in class serp.bytecode.lowlevel.Entry
-
Return true if this is a wide entry -- i.e.
- isWide() - Method in class serp.bytecode.lowlevel.LongEntry
- isWide() - Method in class serp.bytecode.StackInstruction
-
Return whether to use the wide form of the current opcode for operations on longs or doubles.
- iushr() - Method in class serp.bytecode.Code
-
Shift the top stack int values; the
iushr
opcode. - IUSHR - Static variable in interface serp.bytecode.Constants
- ixor() - Method in class serp.bytecode.Code
-
Take the mathematical xor of the top two stack int values; the
ixor
opcode. - IXOR - Static variable in interface serp.bytecode.Constants
J
- join(Object[], String) - Static method in class serp.util.Strings
-
Joins the given strings, placing the given token between them.
- jsr() - Method in class serp.bytecode.Code
-
The
jsr
opcode used in implementingfinally
clauses. - JSR - Static variable in interface serp.bytecode.Constants
- JSRW - Static variable in interface serp.bytecode.Constants
- JumpInstruction - Class in serp.bytecode
-
An instruction that specifies a position in the code block to jump to.
L
- L2D - Static variable in interface serp.bytecode.Constants
- L2F - Static variable in interface serp.bytecode.Constants
- L2I - Static variable in interface serp.bytecode.Constants
- ladd() - Method in class serp.bytecode.Code
-
Add the top two stack long values; the
ladd
opcode. - LADD - Static variable in interface serp.bytecode.Constants
- laload() - Method in class serp.bytecode.Code
-
Load a long array value onto the stack; the
laload
opcode. - LALOAD - Static variable in interface serp.bytecode.Constants
- land() - Method in class serp.bytecode.Code
-
Take the mathematical and of the top two stack long values; the
land
opcode. - LAND - Static variable in interface serp.bytecode.Constants
- lastore() - Method in class serp.bytecode.Code
-
Store a long value from the stack into an array; the
lastore
opcode. - LASTORE - Static variable in interface serp.bytecode.Constants
- lcmp() - Method in class serp.bytecode.Code
-
Compare the top two stack values; the
lcmp
opcode. - LCMP - Static variable in interface serp.bytecode.Constants
- LCONST0 - Static variable in interface serp.bytecode.Constants
- LCONST1 - Static variable in interface serp.bytecode.Constants
- LDC - Static variable in interface serp.bytecode.Constants
- LDC2W - Static variable in interface serp.bytecode.Constants
- LDCW - Static variable in interface serp.bytecode.Constants
- ldiv() - Method in class serp.bytecode.Code
-
Divide the top two stack long values; the
ldiv
opcode. - LDIV - Static variable in interface serp.bytecode.Constants
- LineNumber - Class in serp.bytecode
-
A line number corresponds to a sequence of opcodes that map logically to a line of source code.
- LineNumberTable - Class in serp.bytecode
-
Code blocks compiled from source have line number tables mapping opcodes to source lines.
- listIterator() - Method in class serp.bytecode.Code
-
Returns another listIterator view of the Instructions in this code block.
- lload() - Method in class serp.bytecode.Code
-
Load a long local variable onto the stack.
- lload() - Method in class serp.bytecode.WideInstruction
-
Set the type of instruction this wide instruction modifies.
- LLOAD - Static variable in interface serp.bytecode.Constants
- LLOAD0 - Static variable in interface serp.bytecode.Constants
- LLOAD1 - Static variable in interface serp.bytecode.Constants
- LLOAD2 - Static variable in interface serp.bytecode.Constants
- LLOAD3 - Static variable in interface serp.bytecode.Constants
- lmul() - Method in class serp.bytecode.Code
-
Multiply the top two stack long values; the
lmul
opcode. - LMUL - Static variable in interface serp.bytecode.Constants
- lneg() - Method in class serp.bytecode.Code
-
Negate the top stack long value; the
lneg
opcode. - LNEG - Static variable in interface serp.bytecode.Constants
- loadClass(File) - Method in class serp.bytecode.Project
-
Load the bytecode from the given class file.
- loadClass(File, ClassLoader) - Method in class serp.bytecode.Project
-
Load the bytecode from the given class file.
- loadClass(InputStream) - Method in class serp.bytecode.Project
-
Load the bytecode from the given stream.
- loadClass(InputStream, ClassLoader) - Method in class serp.bytecode.Project
-
Load the bytecode from the given stream.
- loadClass(Class) - Method in class serp.bytecode.Project
-
Load the bytecode for the given class.
- loadClass(String) - Method in class serp.bytecode.Project
-
Load a class with the given name.
- loadClass(String, ClassLoader) - Method in class serp.bytecode.Project
-
Load the bytecode for the class with the given name.
- loadClass(BCClass) - Method in class serp.bytecode.Project
-
Import the given bytecode from another project.
- LoadInstruction - Class in serp.bytecode
-
Loads a value from the locals table to the stack.
- Local - Class in serp.bytecode
-
A local variable or local variable type.
- LocalTable - Class in serp.bytecode
-
Code blocks compiled from source have local tables mapping locals used in opcodes to their names and descriptions.
- LocalVariable - Class in serp.bytecode
-
A local variable contains the name, description, index and scope of a local used in opcodes.
- LocalVariableInstruction - Class in serp.bytecode
-
An instruction that has an argument of an index into the local variable table of the current frame.
- LocalVariableTable - Class in serp.bytecode
-
Code blocks compiled from source have local variable tables mapping locals used in opcodes to their names and descriptions.
- LocalVariableType - Class in serp.bytecode
-
A local variable type contains the name, signature, index and scope of a generics-using local used in opcodes.
- LocalVariableTypeTable - Class in serp.bytecode
-
Code blocks compiled from source have local variable type tables mapping generics-using locals used in opcodes to their names and signatures.
- LONG - Static variable in class serp.bytecode.lowlevel.Entry
- LongEntry - Class in serp.bytecode.lowlevel
-
A long constant in the constant pool.
- LongEntry() - Constructor for class serp.bytecode.lowlevel.LongEntry
-
Default constructor.
- LongEntry(long) - Constructor for class serp.bytecode.lowlevel.LongEntry
-
Constructor.
- lookupswitch() - Method in class serp.bytecode.Code
-
The
lookupswitch
opcode. - LOOKUPSWITCH - Static variable in interface serp.bytecode.Constants
- LookupSwitchInstruction - Class in serp.bytecode
-
The
lookupswitch
instruction. - lor() - Method in class serp.bytecode.Code
-
Take the mathematical or of the top two stack long values; the
lor
opcode. - LOR - Static variable in interface serp.bytecode.Constants
- lrem() - Method in class serp.bytecode.Code
-
Take the remainder of the top two long stack values; the
lrem
opcode. - LREM - Static variable in interface serp.bytecode.Constants
- lreturn() - Method in class serp.bytecode.Code
-
Return a long from a method; the
lreturn
opcode. - LRETURN - Static variable in interface serp.bytecode.Constants
- lshl() - Method in class serp.bytecode.Code
-
Shift the top stack long values; the
lshl
opcode. - LSHL - Static variable in interface serp.bytecode.Constants
- lshr() - Method in class serp.bytecode.Code
-
Shift the top stack long values; the
lshr
opcode. - LSHR - Static variable in interface serp.bytecode.Constants
- lstore() - Method in class serp.bytecode.Code
-
Store a long value from the stack into a local variable.
- lstore() - Method in class serp.bytecode.WideInstruction
-
Set the type of instruction this wide instruction modifies.
- LSTORE - Static variable in interface serp.bytecode.Constants
- LSTORE0 - Static variable in interface serp.bytecode.Constants
- LSTORE1 - Static variable in interface serp.bytecode.Constants
- LSTORE2 - Static variable in interface serp.bytecode.Constants
- LSTORE3 - Static variable in interface serp.bytecode.Constants
- lsub() - Method in class serp.bytecode.Code
-
Subtract the top two stack long values; the
lsub
opcode. - LSUB - Static variable in interface serp.bytecode.Constants
- lushr() - Method in class serp.bytecode.Code
-
Shift the top stack long values; the
lushr
opcode. - LUSHR - Static variable in interface serp.bytecode.Constants
- lxor() - Method in class serp.bytecode.Code
-
Take the mathematical xor of the top two stack long values; the
lxor
opcode. - LXOR - Static variable in interface serp.bytecode.Constants
M
- main(String[]) - Static method in class serp.bytecode.visitor.PrettyPrintVisitor
-
Invoke with the class or file names to pretty print; the functionality is similar to the javap -c command, but more detailed.
- MAJOR_VERSION - Static variable in interface serp.bytecode.Constants
- MAJOR_VERSION_JAVA5 - Static variable in interface serp.bytecode.Constants
- makePackage() - Method in class serp.bytecode.BCClass
-
Manipulate the class access flags.
- makePackage() - Method in class serp.bytecode.BCMember
-
Manipulate the member access flags.
- makePrivate() - Method in class serp.bytecode.BCMember
-
Manipulate the member access flags.
- makePrivate() - Method in class serp.bytecode.InnerClass
-
Manipulate the inner class access flags.
- makeProtected() - Method in class serp.bytecode.BCMember
-
Manipulate the member access flags.
- makeProtected() - Method in class serp.bytecode.InnerClass
-
Manipulate the inner class access flags.
- makePublic() - Method in class serp.bytecode.BCClass
-
Manipulate the class access flags.
- makePublic() - Method in class serp.bytecode.BCMember
-
Manipulate the member access flags.
- makePublic() - Method in class serp.bytecode.InnerClass
-
Manipulate the inner class access flags.
- math() - Method in class serp.bytecode.Code
-
Perform some math operation on the stack items.
- MATH_ADD - Static variable in interface serp.bytecode.Constants
- MATH_AND - Static variable in interface serp.bytecode.Constants
- MATH_DIV - Static variable in interface serp.bytecode.Constants
- MATH_MUL - Static variable in interface serp.bytecode.Constants
- MATH_NEG - Static variable in interface serp.bytecode.Constants
- MATH_OR - Static variable in interface serp.bytecode.Constants
- MATH_REM - Static variable in interface serp.bytecode.Constants
- MATH_SHL - Static variable in interface serp.bytecode.Constants
- MATH_SHR - Static variable in interface serp.bytecode.Constants
- MATH_SUB - Static variable in interface serp.bytecode.Constants
- MATH_USHR - Static variable in interface serp.bytecode.Constants
- MATH_XOR - Static variable in interface serp.bytecode.Constants
- MathInstruction - Class in serp.bytecode
-
One of the math operations defined in the
Constants
interface. - METHOD - Static variable in class serp.bytecode.lowlevel.Entry
- MethodEntry - Class in serp.bytecode.lowlevel
-
A reference to a class method.
- MethodEntry() - Constructor for class serp.bytecode.lowlevel.MethodEntry
-
Default constructor.
- MethodEntry(int, int) - Constructor for class serp.bytecode.lowlevel.MethodEntry
-
Constructor.
- METHODHANDLE - Static variable in class serp.bytecode.lowlevel.Entry
- METHODHANDLE_REF_GETFIELD - Static variable in interface serp.bytecode.Constants
- METHODHANDLE_REF_GETSTATIC - Static variable in interface serp.bytecode.Constants
- METHODHANDLE_REF_INVOKEINTERFACE - Static variable in interface serp.bytecode.Constants
- METHODHANDLE_REF_INVOKESPECIAL - Static variable in interface serp.bytecode.Constants
- METHODHANDLE_REF_INVOKESTATIC - Static variable in interface serp.bytecode.Constants
- METHODHANDLE_REF_INVOKEVIRTUAL - Static variable in interface serp.bytecode.Constants
- METHODHANDLE_REF_NEWINVOKESPECIAL - Static variable in interface serp.bytecode.Constants
- METHODHANDLE_REF_PUTFIELD - Static variable in interface serp.bytecode.Constants
- METHODHANDLE_REF_PUTSTATIC - Static variable in interface serp.bytecode.Constants
- MethodHandleEntry - Class in serp.bytecode.lowlevel
-
MethodHandle u1 tag u1 reference_kind u2 reference_index
- MethodHandleEntry() - Constructor for class serp.bytecode.lowlevel.MethodHandleEntry
- MethodHandleEntry(int, int) - Constructor for class serp.bytecode.lowlevel.MethodHandleEntry
- MethodInstruction - Class in serp.bytecode
-
An instruction that invokes a method.
- METHODTYPE - Static variable in class serp.bytecode.lowlevel.Entry
- MethodTypeEntry - Class in serp.bytecode.lowlevel
-
MethodType u1 tag u2 descriptor_index
- MethodTypeEntry() - Constructor for class serp.bytecode.lowlevel.MethodTypeEntry
- MethodTypeEntry(int) - Constructor for class serp.bytecode.lowlevel.MethodTypeEntry
- MINOR_VERSION - Static variable in interface serp.bytecode.Constants
- MINOR_VERSION_JAVA5 - Static variable in interface serp.bytecode.Constants
- monitorenter() - Method in class serp.bytecode.Code
-
The
monitorenter
opcode. - MONITORENTER - Static variable in interface serp.bytecode.Constants
- MonitorEnterInstruction - Class in serp.bytecode
-
The
monitorenter
instruction. - monitorexit() - Method in class serp.bytecode.Code
-
The
monitorexit
opcode. - MONITOREXIT - Static variable in interface serp.bytecode.Constants
- MonitorExitInstruction - Class in serp.bytecode
-
The
monitorexit
instruction. - MonitorInstruction - Class in serp.bytecode
-
A synchronization instruction.
- moveDeclaredField(int, int) - Method in class serp.bytecode.BCClass
-
Rearrange declared field order.
- moveDeclaredInterface(int, int) - Method in class serp.bytecode.BCClass
-
Rearrange declared interface order.
- moveDeclaredMethod(int, int) - Method in class serp.bytecode.BCClass
-
Rearrange method order.
- multianewarray() - Method in class serp.bytecode.Code
-
Create a new multidimensional array; the
multianewarray
opcode. - MULTIANEWARRAY - Static variable in interface serp.bytecode.Constants
- MultiANewArrayInstruction - Class in serp.bytecode
-
The
multianewarray
instruction, which creates a new multi-dimensional array.
N
- NAMEANDTYPE - Static variable in class serp.bytecode.lowlevel.Entry
- NameAndTypeEntry - Class in serp.bytecode.lowlevel
-
Entry containing indexes referencing a name and a descriptor.
- NameAndTypeEntry() - Constructor for class serp.bytecode.lowlevel.NameAndTypeEntry
-
Default constructor.
- NameAndTypeEntry(int, int) - Constructor for class serp.bytecode.lowlevel.NameAndTypeEntry
-
Constructor.
- NameCache - Class in serp.bytecode
-
Caching and conversion of names in both internal and external form.
- NameCache() - Constructor for class serp.bytecode.NameCache
- NEW - Static variable in interface serp.bytecode.Constants
- newAnnotationArrayValue(Class, int) - Method in class serp.bytecode.Annotation.Property
-
Set this property value to a new annotation array of the given type and length, returning the annotations for manipulation.
- newAnnotationArrayValue(String, int) - Method in class serp.bytecode.Annotation.Property
-
Set this property value to a new annotation array of the given type and length, returning the annotations for manipulation.
- newAnnotationArrayValue(BCClass, int) - Method in class serp.bytecode.Annotation.Property
-
Set this property value to a new annotation array of the given type and length, returning the annotations for manipulation.
- newAnnotationValue(Class) - Method in class serp.bytecode.Annotation.Property
-
Set this property value to a new annotation of the given type, returning the annotation for manipulation.
- newAnnotationValue(String) - Method in class serp.bytecode.Annotation.Property
-
Set this property value to a new annotation of the given type, returning the annotation for manipulation.
- newAnnotationValue(BCClass) - Method in class serp.bytecode.Annotation.Property
-
Set this property value to a new annotation of the given type, returning the annotation for manipulation.
- newarray() - Method in class serp.bytecode.Code
-
Create a new array of a primitive type; the
newarray
opcode. - NEWARRAY - Static variable in interface serp.bytecode.Constants
- NewArrayInstruction - Class in serp.bytecode
-
The
newarray
instruction, which is used to create new arrays of primitive types. - newLocal() - Method in class serp.bytecode.LocalTable
-
Create a new element of this table.
- newLocal() - Method in class serp.bytecode.LocalVariableTable
- newLocal() - Method in class serp.bytecode.LocalVariableTypeTable
- newLocalArray(int) - Method in class serp.bytecode.LocalTable
-
Create a new array.
- newLocalArray(int) - Method in class serp.bytecode.LocalVariableTable
- newLocalArray(int) - Method in class serp.bytecode.LocalVariableTypeTable
- next() - Method in class serp.bytecode.Code
-
Return the next instruction.
- nextIndex() - Method in class serp.bytecode.Code
-
Return the index of the next instruction, or
Code.size()
if at end. - nop() - Method in class serp.bytecode.Code
-
Add the
nop
opcode. - NOP - Static variable in interface serp.bytecode.Constants
- Numbers - Class in serp.util
-
Number utilities.
- Numbers() - Constructor for class serp.util.Numbers
O
- OPCODE_NAMES - Static variable in interface serp.bytecode.Constants
P
- parse(String, Class) - Static method in class serp.util.Strings
-
Return
val
as the type specified bytype
. - pop() - Method in class serp.bytecode.Code
-
The
pop
opcode. - POP - Static variable in interface serp.bytecode.Constants
- pop2() - Method in class serp.bytecode.Code
-
The
pop2
opcode. - POP2 - Static variable in interface serp.bytecode.Constants
- PrettyPrintVisitor - Class in serp.bytecode.visitor
-
Visitor type that outputs a detailed, formatted document of the visited entity; similar to the javap -c command but more detailed.
- PrettyPrintVisitor() - Constructor for class serp.bytecode.visitor.PrettyPrintVisitor
-
Constructor; all pritning will go to stdout.
- PrettyPrintVisitor(PrintWriter) - Constructor for class serp.bytecode.visitor.PrettyPrintVisitor
-
Constructor.
- previous() - Method in class serp.bytecode.Code
-
Return the previous instruction.
- previousIndex() - Method in class serp.bytecode.Code
-
Return the index of the previous instruction, or -1 if at beginning.
- Project - Class in serp.bytecode
-
The Project represents a working set of classes.
- Project() - Constructor for class serp.bytecode.Project
-
Default constructor.
- Project(String) - Constructor for class serp.bytecode.Project
-
Construct a named project.
- putfield() - Method in class serp.bytecode.Code
-
Place the value of a field onto the stack; the
putfield
opcode. - PUTFIELD - Static variable in interface serp.bytecode.Constants
- PutFieldInstruction - Class in serp.bytecode
-
Stores a value from the stack into a field.
- putstatic() - Method in class serp.bytecode.Code
-
Place the value of a static field onto the stack; the
putstatic
opcode. - PUTSTATIC - Static variable in interface serp.bytecode.Constants
R
- read(DataInput) - Method in class serp.bytecode.lowlevel.ConstantPool
-
Fill the constant pool from the given bytecode stream.
- read(DataInput) - Static method in class serp.bytecode.lowlevel.Entry
-
Read a single entry from the given bytecode stream and returns it.
- readByte(byte[], int) - Static method in class serp.bytecode.lowlevel.ConstantPoolTable
-
Read a byte value at the given offset into the given bytecode.
- readByte(int) - Method in class serp.bytecode.lowlevel.ConstantPoolTable
-
Read a byte value at the given offset.
- readData(DataInput) - Method in class serp.bytecode.lowlevel.IntEntry
- readInt(byte[], int) - Static method in class serp.bytecode.lowlevel.ConstantPoolTable
-
Read an int value at the given offset into the given bytecode.
- readInt(int) - Method in class serp.bytecode.lowlevel.ConstantPoolTable
-
Read an int value at the given offset.
- readLong(byte[], int) - Static method in class serp.bytecode.lowlevel.ConstantPoolTable
-
Read a long value at the given offset into the given bytecode.
- readLong(int) - Method in class serp.bytecode.lowlevel.ConstantPoolTable
-
Read a long value at the given offset.
- readString(byte[], int) - Static method in class serp.bytecode.lowlevel.ConstantPoolTable
-
Read a UTF-8 string value at the given offset into the given bytecode.
- readString(int) - Method in class serp.bytecode.lowlevel.ConstantPoolTable
-
Read a UTF-8 string value at the given offset.
- readUnsignedShort(byte[], int) - Static method in class serp.bytecode.lowlevel.ConstantPoolTable
-
Read an unsigned short value at the given offset into the given bytecode.
- readUnsignedShort(int) - Method in class serp.bytecode.lowlevel.ConstantPoolTable
-
Read an unsigned short value at the given offset.
- remove() - Method in class serp.bytecode.Code
-
Remove the last iterated instruction.
- removeAnnotation(Class) - Method in class serp.bytecode.Annotations
-
Remove the annotation of the given type.
- removeAnnotation(String) - Method in class serp.bytecode.Annotations
-
Remove the annotation of the given type.
- removeAnnotation(Annotation) - Method in class serp.bytecode.Annotations
-
Remove the given annotation.
- removeAnnotation(BCClass) - Method in class serp.bytecode.Annotations
-
Remove the annotation of the given type.
- removeAttribute(String) - Method in class serp.bytecode.Attributes
-
Remove all attributes with the given name from this entity.
- removeAttribute(Attribute) - Method in class serp.bytecode.Attributes
-
Remove the given attribute.
- removeClass(Class) - Method in class serp.bytecode.Project
-
Remove a class from this project.
- removeClass(String) - Method in class serp.bytecode.Project
-
Remove a class from this project.
- removeClass(BCClass) - Method in class serp.bytecode.Project
-
Remove a class from this project.
- removeCode() - Method in class serp.bytecode.BCMethod
-
Remove the code attribute from the method.
- removeConstantValue() - Method in class serp.bytecode.BCField
-
Remove the constant value attribute for the field.
- removeDeclaredAnnotations() - Method in class serp.bytecode.Annotated
-
Remove the runtime invisible annotations attribute for the entity.
- removeDeclaredField(String) - Method in class serp.bytecode.BCClass
-
Remove a field from this class.
- removeDeclaredField(BCField) - Method in class serp.bytecode.BCClass
-
Remove a field from this class.
- removeDeclaredInterface(Class) - Method in class serp.bytecode.BCClass
-
Remove an interface declared by this class.
- removeDeclaredInterface(String) - Method in class serp.bytecode.BCClass
-
Remove an interface declared by this class.
- removeDeclaredInterface(BCClass) - Method in class serp.bytecode.BCClass
-
Remove an interface declared by this class.
- removeDeclaredMethod(String) - Method in class serp.bytecode.BCClass
-
Remove a method from this class.
- removeDeclaredMethod(String, Class[]) - Method in class serp.bytecode.BCClass
-
Removes a method from this class.
- removeDeclaredMethod(String, String[]) - Method in class serp.bytecode.BCClass
-
Removes a method from this class.
- removeDeclaredMethod(String, BCClass[]) - Method in class serp.bytecode.BCClass
-
Removes a method from this class.
- removeDeclaredMethod(BCMethod) - Method in class serp.bytecode.BCClass
-
Removes a method from this class.
- removeDeclaredRuntimeAnnotations() - Method in class serp.bytecode.Annotated
-
Remove the runtime visible annotations attribute for the entity.
- removeEntry(Entry) - Method in class serp.bytecode.lowlevel.ConstantPool
-
Remove the given entry from the pool.
- removeException(Class) - Method in class serp.bytecode.Exceptions
-
Remove an exception thrown by this method.
- removeException(String) - Method in class serp.bytecode.Exceptions
-
Remove an exception type thrown by this method.
- removeException(BCClass) - Method in class serp.bytecode.Exceptions
-
Remove an exception thrown by this method.
- removeExceptionHandler(Class) - Method in class serp.bytecode.Code
-
Remove the exception handler that catches the given type.
- removeExceptionHandler(String) - Method in class serp.bytecode.Code
-
Remove the exception handler that catches the given type.
- removeExceptionHandler(BCClass) - Method in class serp.bytecode.Code
-
Remove the exception handler that catches the given type.
- removeExceptionHandler(ExceptionHandler) - Method in class serp.bytecode.Code
-
Remove an exception handler from this code block.
- removeExceptions() - Method in class serp.bytecode.BCMethod
-
Remove the exceptions attribute for the method.
- removeInnerClass(String) - Method in class serp.bytecode.InnerClasses
-
Remove the inner class with the given name.
- removeInnerClass(InnerClass) - Method in class serp.bytecode.InnerClasses
-
Remove the given inner class.
- removeInnerClasses() - Method in class serp.bytecode.BCClass
-
Remove the inner classes attribute for the class.
- removeLineNumber(int) - Method in class serp.bytecode.LineNumberTable
-
Remove the line number for the given program counter.
- removeLineNumber(Instruction) - Method in class serp.bytecode.LineNumberTable
-
Remove the line number for the given instruction.
- removeLineNumber(LineNumber) - Method in class serp.bytecode.LineNumberTable
-
Remove the given line.
- removeLineNumberTable() - Method in class serp.bytecode.Code
-
Remove the line number table for the code.
- removeLocal(int) - Method in class serp.bytecode.LocalTable
-
Removes the local with the given locals index from the table.
- removeLocal(String) - Method in class serp.bytecode.LocalTable
-
Removes the local with the given name from this method.
- removeLocal(Local) - Method in class serp.bytecode.LocalTable
-
Removes a local from this method.
- removeLocalVariableTables() - Method in class serp.bytecode.Code
-
Remove the local variable table for the code.
- removeLocalVariableTypeTables() - Method in class serp.bytecode.Code
-
Remove the local variable type table for the code.
- removeParam(int) - Method in class serp.bytecode.BCMethod
-
Remove a parameter from this method.
- removeProperty(String) - Method in class serp.bytecode.Annotation
-
Remove the property with the given name.
- removeProperty(Annotation.Property) - Method in class serp.bytecode.Annotation
-
Remove the given property.
- removeSourceFile() - Method in class serp.bytecode.BCClass
-
Remove the source file attribute for the class.
- replace(String, String, String) - Static method in class serp.util.Strings
-
Replace all instances of
from
instr
withto
. - replace(Instruction[], Instruction[]) - Method in class serp.bytecode.Code
-
Equivalent to looping over each given template/replacement pair and calling
Code.replace(Instruction,Instruction)
for each. - replace(Instruction, Instruction) - Method in class serp.bytecode.Code
-
Replaces all the instructions in this code block that match the given template with the given instruction.
- replaceTarget(Instruction, Instruction) - Method in class serp.bytecode.ExceptionHandler
- replaceTarget(Instruction, Instruction) - Method in interface serp.bytecode.InstructionPtr
-
Replace the given old, likely invalid, target with a new target.
- replaceTarget(Instruction, Instruction) - Method in class serp.bytecode.JumpInstruction
- replaceTarget(Instruction, Instruction) - Method in class serp.bytecode.LineNumber
- replaceTarget(Instruction, Instruction) - Method in class serp.bytecode.LineNumberTable
- replaceTarget(Instruction, Instruction) - Method in class serp.bytecode.Local
- replaceTarget(Instruction, Instruction) - Method in class serp.bytecode.LocalTable
- replaceTarget(Instruction, Instruction) - Method in class serp.bytecode.LookupSwitchInstruction
- replaceTarget(Instruction, Instruction) - Method in class serp.bytecode.SwitchInstruction
- replaceTarget(Instruction, Instruction) - Method in class serp.bytecode.TableSwitchInstruction
- ret() - Method in class serp.bytecode.Code
-
Add the
ret
opcode, used in implementingfinally
clauses. - ret() - Method in class serp.bytecode.WideInstruction
-
Set the type of instruction this wide instruction modifies.
- RET - Static variable in interface serp.bytecode.Constants
- RetInstruction - Class in serp.bytecode
-
The
ret
instruction is used in the implementation of finally. - RETURN - Static variable in interface serp.bytecode.Constants
- ReturnInstruction - Class in serp.bytecode
-
Returns a value (or void) from a method.
S
- saload() - Method in class serp.bytecode.Code
-
Load a short array value onto the stack; the
saload
opcode. - SALOAD - Static variable in interface serp.bytecode.Constants
- sastore() - Method in class serp.bytecode.Code
-
Store a short value from the stack into an array; the
sastore
opcode. - SASTORE - Static variable in interface serp.bytecode.Constants
- searchBackward(Instruction) - Method in class serp.bytecode.Code
-
Find the closest previous instruction from the current iterator position that matches the given one, according to the
Object.equals(java.lang.Object)
methods of the instruction types. - searchForward(Instruction) - Method in class serp.bytecode.Code
-
Find the next instruction from the current iterator position that matches the given one, according to the
Object.equals(java.lang.Object)
methods of the instruction types. - serp.bytecode - package serp.bytecode
-
Bytecode Manipuation
- serp.bytecode.lowlevel - package serp.bytecode.lowlevel
-
Lowlevel Bytecode Manipuation
- serp.bytecode.visitor - package serp.bytecode.visitor
-
Bytecode Visitor
- serp.util - package serp.util
-
Utilties
- set(Instruction) - Method in class serp.bytecode.Code
-
Replaces the last iterated instruction with a copy of the given one.
- setAbstract(boolean) - Method in class serp.bytecode.BCClass
-
Manipulate the class access flags.
- setAbstract(boolean) - Method in class serp.bytecode.BCMethod
-
Manipulate the method access flags.
- setAbstract(boolean) - Method in class serp.bytecode.InnerClass
-
Manipulate the class access flags.
- setAccessFlags(int) - Method in class serp.bytecode.BCClass
-
Set the access flags for this class as a bit array of ACCESS_XXX constants from
Constants
. - setAccessFlags(int) - Method in class serp.bytecode.BCMember
-
Set the access flags for this member as a bit array of ACCESS_XXX constants from
Constants
. - setAccessFlags(int) - Method in class serp.bytecode.InnerClass
-
Set the access flags of the inner class.
- setAnnotation(boolean) - Method in class serp.bytecode.BCClass
-
Manipulate the class access flags.
- setAnnotation(boolean) - Method in class serp.bytecode.InnerClass
-
Manipulate the inner class access flags.
- setAnnotations(Annotation[]) - Method in class serp.bytecode.Annotations
-
Set the annotations.
- setAttributes(Attribute[]) - Method in class serp.bytecode.Attributes
-
Set the attributes for this entity; this method is useful for importing all attributes from another entity.
- setBootstrapArgumentIndices(int[]) - Method in class serp.bytecode.BootstrapMethodElement
- setBootstrapArguments(Entry[]) - Method in class serp.bytecode.BootstrapMethodElement
- setBootstrapMethod(MethodHandleEntry) - Method in class serp.bytecode.BootstrapMethodElement
- setBootstrapMethodAttribute(BootstrapMethods) - Method in class serp.bytecode.BootstrapMethodElement
- setBootstrapMethodRef(int) - Method in class serp.bytecode.BootstrapMethodElement
- setBootstrapMethods(BootstrapMethodElement[]) - Method in class serp.bytecode.BootstrapMethods
- setBridge(boolean) - Method in class serp.bytecode.BCMethod
-
Manipulate the method access flags.
- setCases(int[], Instruction[]) - Method in class serp.bytecode.LookupSwitchInstruction
-
Set the match-jumppt pairs for this switch.
- setCases(int[], Instruction[]) - Method in class serp.bytecode.SwitchInstruction
-
Set the match-jumppt pairs for this switch.
- setCatch(Class) - Method in class serp.bytecode.ExceptionHandler
-
Set the class of the exception type, or null for catch-all clauses used for finally blocks.
- setCatch(String) - Method in class serp.bytecode.ExceptionHandler
-
Set the class of the exception type, or null for catch-all clauses used with finally blocks.
- setCatch(BCClass) - Method in class serp.bytecode.ExceptionHandler
-
Set the class of the exception type, or null for catch-all clauses used for finally blocks.
- setCatchIndex(int) - Method in class serp.bytecode.ExceptionHandler
-
Set the index into the class
ConstantPool
of theClassEntry
describing the exception type this handler catches. - setClass(Class) - Method in class serp.bytecode.ClassConstantInstruction
-
Set the type of class being loaded.
- setClass(String) - Method in class serp.bytecode.ClassConstantInstruction
-
Set the type of class being loaded.
- setClass(BCClass) - Method in class serp.bytecode.ClassConstantInstruction
-
Set the type of class being loaded.
- setClassIndex(int) - Method in class serp.bytecode.lowlevel.ComplexEntry
-
Set the constant pool index of the
ClassEntry
describing the owning class of this entity. - setClassNameValue(String) - Method in class serp.bytecode.Annotation.Property
-
Set the class value of this property.
- setConstant(Object) - Method in class serp.bytecode.lowlevel.ClassEntry
- setConstant(Object) - Method in interface serp.bytecode.lowlevel.ConstantEntry
-
Set the value of the constant held by this entry.
- setConstant(Object) - Method in class serp.bytecode.lowlevel.DoubleEntry
- setConstant(Object) - Method in class serp.bytecode.lowlevel.FloatEntry
- setConstant(Object) - Method in class serp.bytecode.lowlevel.IntEntry
- setConstant(Object) - Method in class serp.bytecode.lowlevel.LongEntry
- setConstant(Object) - Method in class serp.bytecode.lowlevel.StringEntry
- setConstant(Object) - Method in class serp.bytecode.lowlevel.UTF8Entry
- setDeclaredFields(BCField[]) - Method in class serp.bytecode.BCClass
-
Set the fields for this class; this method is useful for importing all fields from another class.
- setDeclaredInterfaceIndexes(int[]) - Method in class serp.bytecode.BCClass
-
Set the list of
ConstantPool
indexes of theClassEntry
s describing all the interfaces this class declares it implements/extends; set to null or an empty array if none. - setDeclaredInterfaces(Class[]) - Method in class serp.bytecode.BCClass
-
Set the interfaces declared implemented/extended by this class; set to null or an empty array if none.
- setDeclaredInterfaces(String[]) - Method in class serp.bytecode.BCClass
-
Set the interfaces declared implemented/extended by this class; set to null or an empty array if none.
- setDeclaredInterfaces(BCClass[]) - Method in class serp.bytecode.BCClass
-
Set the interfaces declared implemented/extended by this class; set to null or an empty array if none.
- setDeclaredMethods(BCMethod[]) - Method in class serp.bytecode.BCClass
-
Set the methods for this class; this method is useful for importing all methods from another class.
- setDeclarer(Class) - Method in class serp.bytecode.InnerClass
-
Set the type of this declaring class.
- setDeclarer(String) - Method in class serp.bytecode.InnerClass
-
Set the type of this declaring class.
- setDeclarer(BCClass) - Method in class serp.bytecode.InnerClass
-
Set the type of this declaring class.
- setDeclarerIndex(int) - Method in class serp.bytecode.InnerClass
-
Set the
ConstantPool
index of theClassEntry
that describes the declaring class, or 0 if this class is not a member class. - setDefaultOffset(int) - Method in class serp.bytecode.LookupSwitchInstruction
-
Synonymous with
JumpInstruction.setOffset(int)
. - setDefaultOffset(int) - Method in class serp.bytecode.SwitchInstruction
-
Synonymous with
JumpInstruction.setOffset(int)
. - setDefaultOffset(int) - Method in class serp.bytecode.TableSwitchInstruction
-
Synonymous with
JumpInstruction.setOffset(int)
. - setDefaultTarget(Instruction) - Method in class serp.bytecode.LookupSwitchInstruction
-
Synonymous with
JumpInstruction.setTarget(serp.bytecode.Instruction)
. - setDefaultTarget(Instruction) - Method in class serp.bytecode.SwitchInstruction
-
Synonymous with
JumpInstruction.setTarget(serp.bytecode.Instruction)
. - setDefaultTarget(Instruction) - Method in class serp.bytecode.TableSwitchInstruction
-
Synonymous with
JumpInstruction.setTarget(serp.bytecode.Instruction)
. - setDeprecated(boolean) - Method in class serp.bytecode.BCClass
-
Convenience method to set whether this class should be considered deprecated.
- setDeprecated(boolean) - Method in class serp.bytecode.BCMember
-
Convenience method to set whether this member should be considered deprecated.
- setDescriptor(String) - Method in class serp.bytecode.BCMember
-
Set the descriptor of this member.
- setDescriptorIndex(int) - Method in class serp.bytecode.BCMember
-
Set the index in the class
ConstantPool
of theUTF8Entry
holding the descriptor of this member. - setDescriptorIndex(int) - Method in class serp.bytecode.lowlevel.NameAndTypeEntry
-
Set the constant pool index of a
UTF8Entry
containing the descriptor for this entity. - setDimensions(int) - Method in class serp.bytecode.MultiANewArrayInstruction
-
Set the dimensions of the array.
- setDoubleValue(double) - Method in class serp.bytecode.ConstantValue
-
Set the value of this double constant.
- setEnd(Instruction) - Method in class serp.bytecode.Local
-
Set the last
Instruction
for which this local is in scope. - setEnum(boolean) - Method in class serp.bytecode.BCClass
-
Manipulate the class access flags.
- setEnum(boolean) - Method in class serp.bytecode.BCField
-
Manipulate the field access flags.
- setEnum(boolean) - Method in class serp.bytecode.InnerClass
-
Manipulate the inner class access flags.
- setExceptionHandlers(ExceptionHandler[]) - Method in class serp.bytecode.Code
-
Set the exception handlers for this code block.
- setExceptionIndexes(int[]) - Method in class serp.bytecode.Exceptions
-
Set the indexes in the class
ConstantPool
of theClassEntry
s for the exception types thrown by this method. - setExceptions(Class[]) - Method in class serp.bytecode.Exceptions
-
Set the checked exceptions thrown by this method.
- setExceptions(String[]) - Method in class serp.bytecode.Exceptions
-
Set the checked exceptions thrown by this method.
- setExceptions(BCClass[]) - Method in class serp.bytecode.Exceptions
-
Set the checked exceptions thrown by this method.
- setField(Class, String, Class) - Method in class serp.bytecode.FieldInstruction
-
Set the field this instruction operates on.
- setField(Field) - Method in class serp.bytecode.FieldInstruction
-
Set the field this instruction operates on.
- setField(String, Class) - Method in class serp.bytecode.FieldInstruction
-
Set the field this instruction operates on, for fields that are declared by the current class.
- setField(String, String) - Method in class serp.bytecode.FieldInstruction
-
Set the field this instruction operates on, for fields that are declared by the current class.
- setField(String, String, String) - Method in class serp.bytecode.FieldInstruction
-
Set the field this instruction operates on.
- setField(String, BCClass) - Method in class serp.bytecode.FieldInstruction
-
Set the field this instruction operates on, for fields that are declared by the current class.
- setField(BCClass, String, BCClass) - Method in class serp.bytecode.FieldInstruction
-
Set the field this instruction operates on.
- setField(BCField) - Method in class serp.bytecode.FieldInstruction
-
Set the field this instruction operates on.
- setFieldDeclarer(Class) - Method in class serp.bytecode.FieldInstruction
-
Set the declaring class of the field this instruction operates on.
- setFieldDeclarer(String) - Method in class serp.bytecode.FieldInstruction
-
Set the declaring class of the field this instruction operates on.
- setFieldDeclarer(BCClass) - Method in class serp.bytecode.FieldInstruction
-
Set the declaring class of the field this instruction operates on.
- setFieldIndex(int) - Method in class serp.bytecode.FieldInstruction
-
Set the index in the class
ConstantPool
of theComplexEntry
describing the field to operate on. - setFieldName(String) - Method in class serp.bytecode.FieldInstruction
-
Set the name of the field this instruction operates on.
- setFieldType(Class) - Method in class serp.bytecode.FieldInstruction
-
Set the type of the field this instruction operates on.
- setFieldType(String) - Method in class serp.bytecode.FieldInstruction
-
Set the type of the field this instruction operates on.
- setFieldType(BCClass) - Method in class serp.bytecode.FieldInstruction
-
Set the type of the field this instruction operates on.
- setFile(File) - Method in class serp.bytecode.SourceFile
-
Set the source file.
- setFile(String) - Method in class serp.bytecode.SourceFile
-
Set the name of the source file.
- setFileIndex(int) - Method in class serp.bytecode.SourceFile
-
Set the index into the class
ConstantPool
of theUTF8Entry
naming the source file for this class. - setFinal(boolean) - Method in class serp.bytecode.BCClass
-
Manipulate the class access flags.
- setFinal(boolean) - Method in class serp.bytecode.BCMember
-
Manipulate the member access flags.
- setFinal(boolean) - Method in class serp.bytecode.InnerClass
-
Manipulate the inner class access flags.
- setFloatValue(float) - Method in class serp.bytecode.ConstantValue
-
Set the value of this float constant.
- setFromClassName() - Method in class serp.bytecode.SourceFile
-
Set the file name from the current class name plus the .java extension.
- setFromType(Class) - Method in class serp.bytecode.ConvertInstruction
-
Set the type being converted from.
- setFromType(String) - Method in class serp.bytecode.ConvertInstruction
-
Set the type being converted from.
- setFromType(BCClass) - Method in class serp.bytecode.ConvertInstruction
-
Set the type being converted from.
- setHandlerStart(int) - Method in class serp.bytecode.ExceptionHandler
- setHandlerStart(Instruction) - Method in class serp.bytecode.ExceptionHandler
-
Set the
Instruction
marking the beginning of the catch block. - setHigh(int) - Method in class serp.bytecode.TableSwitchInstruction
- setIncrement(int) - Method in class serp.bytecode.IIncInstruction
-
Set the increment on this IINC instruction.
- setIncrement(int) - Method in class serp.bytecode.WideInstruction
-
Set the increment on this instruction if it augments IINC.
- setIndex(int) - Method in class serp.bytecode.BCClass
-
Set the
ConstantPool
index of theClassEntry
for this class. - setInnerClasses(InnerClass[]) - Method in class serp.bytecode.InnerClasses
-
Set the inner class references for this class.
- setInstruction(int) - Method in class serp.bytecode.WideInstruction
-
Set the type of instruction this wide instruction modifies.
- setInstruction(Instruction) - Method in class serp.bytecode.WideInstruction
-
Set the type of instruction this wide instruction modifies.
- setInterface(boolean) - Method in class serp.bytecode.BCClass
-
Manipulate the class access flags.
- setInterface(boolean) - Method in class serp.bytecode.InnerClass
-
Manipulate the class access flags.
- setIntValue(int) - Method in class serp.bytecode.ConstantValue
-
Set the value of this int constant.
- setLength(int) - Method in class serp.bytecode.Local
-
Set the number of bytes for which this local has a value in the code byte array.
- setLine(int) - Method in class serp.bytecode.LineNumber
-
Set the source line number.
- setLineNumbers(LineNumber[]) - Method in class serp.bytecode.LineNumberTable
-
Set the line numbers for the table.
- setLocal(int) - Method in class serp.bytecode.Local
-
Set the local variable index of the current frame for this local.
- setLocal(int) - Method in class serp.bytecode.LocalVariableInstruction
-
Set the index of the local variable that this instruction operates on.
- setLocals(Local[]) - Method in class serp.bytecode.LocalTable
-
Set the locals of this table.
- setLocalVariable(LocalVariable) - Method in class serp.bytecode.LocalVariableInstruction
-
Set the local variable object this instruction operates on.
- setLongValue(long) - Method in class serp.bytecode.ConstantValue
-
Set the value of this long constant.
- setLow(int) - Method in class serp.bytecode.TableSwitchInstruction
- setMagic(int) - Method in class serp.bytecode.BCClass
-
Set the magic number for this class; if this is a valid type, this should be equal to
Constants.VALID_MAGIC
(the default value). - setMajorVersion(int) - Method in class serp.bytecode.BCClass
-
Set the major version of the bytecode spec used for this class.
- setMatches(int[]) - Method in class serp.bytecode.SwitchInstruction
- setMaxLocals(int) - Method in class serp.bytecode.Code
-
Set the maximum number of local variables (including params) in this method.
- setMaxStack(int) - Method in class serp.bytecode.Code
-
Set the maximum stack depth for this code block.
- setMethod(Class, String, Class, Class[]) - Method in class serp.bytecode.MethodInstruction
-
Set the method this instruction operates on.
- setMethod(Constructor) - Method in class serp.bytecode.MethodInstruction
-
Set the method this instruction operates on.
- setMethod(Method) - Method in class serp.bytecode.MethodInstruction
-
Set the method this instruction operates on.
- setMethod(String, Class, Class[]) - Method in class serp.bytecode.MethodInstruction
-
Set the method this instruction operates on, for methods that are declared by the current class.
- setMethod(String, String, String[]) - Method in class serp.bytecode.MethodInstruction
-
Set the method this instruction operates on, for methods that are declared by the current class.
- setMethod(String, String, String, String[]) - Method in class serp.bytecode.MethodInstruction
-
Set the method this instruction operates on.
- setMethod(String, BCClass, BCClass[]) - Method in class serp.bytecode.MethodInstruction
-
Set the method this instruction operates on, for methods that are declared by the current class.
- setMethod(BCClass, String, BCClass, BCClass[]) - Method in class serp.bytecode.MethodInstruction
-
Set the method this instruction operates on.
- setMethod(BCMethod) - Method in class serp.bytecode.MethodInstruction
-
Set the method this instruction operates on.
- setMethodDeclarer(Class) - Method in class serp.bytecode.MethodInstruction
-
Set the declaring type of the method this instruction operates on.
- setMethodDeclarer(String) - Method in class serp.bytecode.MethodInstruction
-
Set the declaring type of the method this instruction operates on.
- setMethodDeclarer(BCClass) - Method in class serp.bytecode.MethodInstruction
-
Set the declaring type of the method this instruction operates on.
- setMethodIndex(int) - Method in class serp.bytecode.MethodInstruction
-
Set the index in the class
ConstantPool
of theComplexEntry
describing the method to operate on. - setMethodName(String) - Method in class serp.bytecode.MethodInstruction
-
Set the name of the method this instruction operates on.
- setMethodParams(Class[]) - Method in class serp.bytecode.MethodInstruction
-
Set the param types of the method this instruction operates on.
- setMethodParams(String[]) - Method in class serp.bytecode.MethodInstruction
-
Set the param types of the method this instruction operates on.
- setMethodParams(BCClass[]) - Method in class serp.bytecode.MethodInstruction
-
Set the param types of the method this instruction operates on.
- setMethodReturn(Class) - Method in class serp.bytecode.MethodInstruction
-
Set the return type of the method this instruction operates on.
- setMethodReturn(String) - Method in class serp.bytecode.MethodInstruction
-
Set the return type of the method this instruction operates on.
- setMethodReturn(BCClass) - Method in class serp.bytecode.MethodInstruction
-
Set the return type of the method this instruction operates on.
- setMinorVersion(int) - Method in class serp.bytecode.BCClass
-
Set the minor version of the bytecode spec used for this class.
- setName(String) - Method in class serp.bytecode.Annotation.Property
-
Set the name of this property.
- setName(String) - Method in class serp.bytecode.BCClass
-
Set the name of this class, including package name.
- setName(String) - Method in class serp.bytecode.BCMember
-
Set the name of this member.
- setName(String) - Method in class serp.bytecode.InnerClass
-
Set the simple name of this inner class.
- setName(String) - Method in class serp.bytecode.Local
-
Set the name of this inner local.
- setNameAndTypeIndex(int) - Method in class serp.bytecode.lowlevel.ComplexEntry
-
Set the constant pool index of the
NameAndTypeEntry
describing this entity. - setNameIndex(int) - Method in class serp.bytecode.Annotation.Property
-
Set the index in the class
ConstantPool
of theUTF8Entry
holding the name of this property. - setNameIndex(int) - Method in class serp.bytecode.BCMember
-
Set the index in the class
ConstantPool
of theUTF8Entry
holding the name of this member. - setNameIndex(int) - Method in class serp.bytecode.InnerClass
-
Set the
ConstantPool
index of theUTF8Entry
that describes the simple name this class is referred to in source, or 0 for anonymous classes. - setNameIndex(int) - Method in class serp.bytecode.Local
-
Set the
ConstantPool
index of theUTF8Entry
that describes the name of this local. - setNameIndex(int) - Method in class serp.bytecode.lowlevel.ClassEntry
-
Set the constant pool index of the
UTF8Entry
containing the class name. - setNameIndex(int) - Method in class serp.bytecode.lowlevel.NameAndTypeEntry
-
Set the constant pool index of the
UTF8Entry
containing the name of this entity. - setNaNValue(int) - Method in class serp.bytecode.CmpInstruction
-
Set the number that will be placed on the stack if this instruction is of type float or double and one of the operands is NaN.
- setNative(boolean) - Method in class serp.bytecode.BCMethod
-
Manipulate the method access flags.
- setNull() - Method in class serp.bytecode.ConstantInstruction
-
Set this constant to null.
- setOffset(int) - Method in class serp.bytecode.GotoInstruction
- setOffset(int) - Method in class serp.bytecode.JumpInstruction
- setOffsets(int[]) - Method in class serp.bytecode.SwitchInstruction
-
Sets the offsets for the instructions representing the different switch statement cases.
- setOffsets(int[]) - Method in class serp.bytecode.TableSwitchInstruction
-
Sets the offsets for the instructions representing the different switch statement cases.
- setOperation(int) - Method in class serp.bytecode.MathInstruction
-
Set the math operation to be performed.
- setParam(int) - Method in class serp.bytecode.Local
-
Set the method parameter that this local corresponds to.
- setParam(int) - Method in class serp.bytecode.LocalVariableInstruction
-
Set the method parameter that this instruction operates on.
- setParam(int, Class) - Method in class serp.bytecode.BCMethod
-
Change a parameter type of this method.
- setParam(int, String) - Method in class serp.bytecode.BCMethod
-
Change a parameter type of this method.
- setParam(int, BCClass) - Method in class serp.bytecode.BCMethod
-
Change a parameter type of this method.
- setParams(Class[]) - Method in class serp.bytecode.BCMethod
-
Set the parameter type of this method.
- setParams(String[]) - Method in class serp.bytecode.BCMethod
-
Set the parameter types of this method.
- setParams(BCClass[]) - Method in class serp.bytecode.BCMethod
-
Set the parameter type of this method.
- setProperties(Annotation.Property[]) - Method in class serp.bytecode.Annotation
-
Set the annotation properties.
- setReference(int) - Method in class serp.bytecode.lowlevel.MethodHandleEntry
- setReferenceKind(int) - Method in class serp.bytecode.lowlevel.MethodHandleEntry
- setReturn(Class) - Method in class serp.bytecode.BCMethod
-
Set the return type of this method.
- setReturn(String) - Method in class serp.bytecode.BCMethod
-
Set the return type of this method.
- setReturn(BCClass) - Method in class serp.bytecode.BCMethod
-
Set the return type of this method.
- setStart(Instruction) - Method in class serp.bytecode.LineNumber
-
Set the
Instruction
marking the beginning this line. - setStart(Instruction) - Method in class serp.bytecode.Local
-
Set the
Instruction
marking the beginning this local. - setStartPc(int) - Method in class serp.bytecode.LineNumber
-
Set the index into the code byte array at which this line starts.
- setStartPc(int) - Method in class serp.bytecode.Local
-
Set the index into the code byte array at which this local starts.
- setStatic(boolean) - Method in class serp.bytecode.BCMember
-
Manipulate the member access flags.
- setStatic(boolean) - Method in class serp.bytecode.InnerClass
-
Manipulate the inner class access flags.
- setStrict(boolean) - Method in class serp.bytecode.BCMethod
-
Manipulate the method access flags.
- setStringIndex(int) - Method in class serp.bytecode.lowlevel.StringEntry
-
Set the constant pool index of the
UTF8Entry
storing the value of this string. - setStringValue(String) - Method in class serp.bytecode.ConstantValue
-
Set the value of this string constant.
- setSuperclass(Class) - Method in class serp.bytecode.BCClass
-
Set the superclass of this class.
- setSuperclass(String) - Method in class serp.bytecode.BCClass
-
Set the superclass of this class.
- setSuperclass(BCClass) - Method in class serp.bytecode.BCClass
-
Set the superclass of this class.
- setSuperclassIndex(int) - Method in class serp.bytecode.BCClass
-
Set the
ConstantPool
index of theClassEntry
for the superclass of this class. - setSynchronized(boolean) - Method in class serp.bytecode.BCMethod
-
Manipulate the method access flags.
- setSynthetic(boolean) - Method in class serp.bytecode.BCClass
-
Manipulate the class access flags.
- setSynthetic(boolean) - Method in class serp.bytecode.BCMember
-
Manipulate the field access flags.
- setSynthetic(boolean) - Method in class serp.bytecode.InnerClass
-
Manipulate the inner class access flags.
- setTarget(Instruction) - Method in class serp.bytecode.JumpInstruction
-
Set the instruction to jump to; the instruction must already be added to the code block.
- setTargets(Instruction[]) - Method in class serp.bytecode.SwitchInstruction
-
Set the jump points for this switch.
- setTargets(Instruction[]) - Method in class serp.bytecode.TableSwitchInstruction
-
Set the jump points for this switch.
- setThis() - Method in class serp.bytecode.LoadInstruction
-
Equivalent to
setLocal (0).setType (Object.class)
; thethis
ptr is always passed in local variable 0. - setTransient(boolean) - Method in class serp.bytecode.BCField
-
Manipulate the field access flags.
- setTryEnd(int) - Method in class serp.bytecode.ExceptionHandler
- setTryEnd(Instruction) - Method in class serp.bytecode.ExceptionHandler
-
Set the Instruction at the end of the try block.
- setTryStart(int) - Method in class serp.bytecode.ExceptionHandler
- setTryStart(Instruction) - Method in class serp.bytecode.ExceptionHandler
-
Set the
Instruction
marking the beginning of the try block. - setType(Class) - Method in class serp.bytecode.Annotation
-
This annotation's type.
- setType(Class) - Method in class serp.bytecode.BCField
-
Set the type of this field.
- setType(Class) - Method in class serp.bytecode.InnerClass
-
Set the type of this inner class.
- setType(Class) - Method in class serp.bytecode.LocalVariable
-
Set the type of this local.
- setType(Class) - Method in class serp.bytecode.TypedInstruction
-
Set the type of this instruction.
- setType(String) - Method in class serp.bytecode.Annotation
-
This annotation's type.
- setType(String) - Method in class serp.bytecode.ArrayLoadInstruction
- setType(String) - Method in class serp.bytecode.ArrayStoreInstruction
- setType(String) - Method in class serp.bytecode.BCField
-
Set the name of the type of this field.
- setType(String) - Method in class serp.bytecode.ClassInstruction
- setType(String) - Method in class serp.bytecode.CmpInstruction
- setType(String) - Method in class serp.bytecode.ConstantInstruction
- setType(String) - Method in class serp.bytecode.ConvertInstruction
- setType(String) - Method in class serp.bytecode.InnerClass
-
Set the type of this inner class.
- setType(String) - Method in class serp.bytecode.LoadInstruction
- setType(String) - Method in class serp.bytecode.Local
-
Set the type of this local.
- setType(String) - Method in class serp.bytecode.LocalVariableInstruction
- setType(String) - Method in class serp.bytecode.MathInstruction
- setType(String) - Method in class serp.bytecode.NewArrayInstruction
- setType(String) - Method in class serp.bytecode.ReturnInstruction
- setType(String) - Method in class serp.bytecode.StackInstruction
- setType(String) - Method in class serp.bytecode.StoreInstruction
- setType(String) - Method in class serp.bytecode.TypedInstruction
-
Set the type of this instruction.
- setType(String) - Method in class serp.bytecode.WideInstruction
- setType(BCClass) - Method in class serp.bytecode.Annotation
-
This annotation's type.
- setType(BCClass) - Method in class serp.bytecode.BCField
-
Set the type of this field.
- setType(BCClass) - Method in class serp.bytecode.InnerClass
-
Set the type of this inner class.
- setType(BCClass) - Method in class serp.bytecode.LocalVariable
-
Set the type of this local.
- setType(BCClass) - Method in class serp.bytecode.TypedInstruction
-
Set the type of this instruction.
- setTypeCode(int) - Method in class serp.bytecode.NewArrayInstruction
-
Set the array code used in the lowlevel bytecode.
- setTypeIndex(int) - Method in class serp.bytecode.Annotation
-
The index in the class
ConstantPool
of theUTF8Entry
holding the type of this annotation. - setTypeIndex(int) - Method in class serp.bytecode.ClassInstruction
-
Set the
ConstantPool
index of theClassEntry
describing the class for this instruction. - setTypeIndex(int) - Method in class serp.bytecode.InnerClass
-
Set the
ConstantPool
index of theClassEntry
that describes this class. - setTypeIndex(int) - Method in class serp.bytecode.Local
-
Set the
ConstantPool
index of theUTF8Entry
that describes this local. - setValue(boolean) - Method in class serp.bytecode.Annotation.Property
-
Set the boolean value of this property.
- setValue(boolean) - Method in class serp.bytecode.ConstantInstruction
-
Set the value of this constant; note that this type is converted to int.
- setValue(byte) - Method in class serp.bytecode.Annotation.Property
-
Set the byte value of this property.
- setValue(byte[]) - Method in class serp.bytecode.UnknownAttribute
-
The value is of unknown content, so it is stored as a byte array.
- setValue(char) - Method in class serp.bytecode.ConstantInstruction
-
Set the value of this constant; note that this type is converted to int.
- setValue(double) - Method in class serp.bytecode.Annotation.Property
-
Set the double value of this property.
- setValue(double) - Method in class serp.bytecode.ConstantInstruction
-
Set the value of this constant.
- setValue(double) - Method in class serp.bytecode.lowlevel.DoubleEntry
-
Set the value of the constant.
- setValue(float) - Method in class serp.bytecode.Annotation.Property
-
Set the float value of this property.
- setValue(float) - Method in class serp.bytecode.ConstantInstruction
-
Set the value of this constant.
- setValue(float) - Method in class serp.bytecode.lowlevel.FloatEntry
-
Set the value of this constant.
- setValue(int) - Method in class serp.bytecode.Annotation.Property
-
Set the int value of this property.
- setValue(int) - Method in class serp.bytecode.ConstantInstruction
-
Set the value of this constant.
- setValue(int) - Method in class serp.bytecode.lowlevel.IntEntry
-
Set the value of this constant.
- setValue(long) - Method in class serp.bytecode.Annotation.Property
-
Set the long value of this property.
- setValue(long) - Method in class serp.bytecode.ConstantInstruction
-
Set the value of this constant.
- setValue(long) - Method in class serp.bytecode.lowlevel.LongEntry
-
Set the value of the constant.
- setValue(short) - Method in class serp.bytecode.Annotation.Property
-
Set the short value of this property.
- setValue(short) - Method in class serp.bytecode.ConstantInstruction
-
Set the value of this constant; note that this type is converted to int.
- setValue(Class) - Method in class serp.bytecode.Annotation.Property
-
Set the class value of this property.
- setValue(Class) - Method in class serp.bytecode.ConstantInstruction
-
Set the value of this constant.
- setValue(Object) - Method in class serp.bytecode.Annotation.Property
-
Set value of this property.
- setValue(Object) - Method in class serp.bytecode.ConstantInstruction
-
Set the constant to the given value.
- setValue(Object) - Method in class serp.bytecode.ConstantValue
-
Set the value of this constant using the appropriate wrapper Object type (String, Integer, Double, etc).
- setValue(String) - Method in class serp.bytecode.Annotation.Property
-
Set the string value of this property.
- setValue(String) - Method in class serp.bytecode.ConstantInstruction
-
Set the value of this constant.
- setValue(String) - Method in class serp.bytecode.lowlevel.UTF8Entry
-
Set the value of the entry.
- setValue(String, boolean) - Method in class serp.bytecode.ConstantInstruction
- setValue(Annotation) - Method in class serp.bytecode.Annotation.Property
-
Set the annotation value of this property by importing the given annotation from another instance.
- setValue(Annotation[]) - Method in class serp.bytecode.Annotation.Property
-
Set the annotation value of this property by importing the given annotation from another instance.
- setValue(BCClass) - Method in class serp.bytecode.Annotation.Property
-
Set the class value of this property.
- setValue(BCClass) - Method in class serp.bytecode.ConstantInstruction
-
Set the value of this constant.
- setValueIndex(int) - Method in class serp.bytecode.ConstantValue
-
Set the
ConstantPool
of theConstantEntry
holding the value of this constant. - setVarArgs(boolean) - Method in class serp.bytecode.BCMethod
-
Manipulate the method access flags.
- setVolatile(boolean) - Method in class serp.bytecode.BCField
-
Manipulate the field access flags.
- setWide(boolean) - Method in class serp.bytecode.StackInstruction
-
Set whether to use the wide form of the current opcode for operations on longs or doubles.
- SIPUSH - Static variable in interface serp.bytecode.Constants
- size() - Method in class serp.bytecode.Code
-
Return the number of instructions in the method.
- size() - Method in class serp.bytecode.lowlevel.ConstantPool
-
Return the number of places occupied in the pool, including the fact that long and double entries occupy two places.
- SourceFile - Class in serp.bytecode
-
Attribute naming the source file for this class.
- split(String, String, int) - Static method in class serp.util.Strings
-
Splits the given string on the given token.
- StackInstruction - Class in serp.bytecode
-
Represents an instruction that manipulates the stack of the current frame.
- StoreInstruction - Class in serp.bytecode
-
An instruction to store a value from a local variable onto the stack.
- STRING - Static variable in class serp.bytecode.lowlevel.Entry
- StringEntry - Class in serp.bytecode.lowlevel
-
A String constant in the constant pool.
- StringEntry() - Constructor for class serp.bytecode.lowlevel.StringEntry
-
Default constructor.
- StringEntry(int) - Constructor for class serp.bytecode.lowlevel.StringEntry
-
Constructor.
- Strings - Class in serp.util
-
String utiltity methods.
- Strings() - Constructor for class serp.util.Strings
- swap() - Method in class serp.bytecode.Code
-
The
swap
opcode. - SWAP - Static variable in interface serp.bytecode.Constants
- SwitchInstruction - Class in serp.bytecode
-
Contains functionality common to the different switch types (TableSwitch and LookupSwitch).
- SwitchInstruction(Code, int) - Constructor for class serp.bytecode.SwitchInstruction
- Synthetic - Class in serp.bytecode
-
Attribute marking a member as synthetic, or not present in the class source code.
T
- tableswitch() - Method in class serp.bytecode.Code
-
The
tableswitch
opcode. - TABLESWITCH - Static variable in interface serp.bytecode.Constants
- TableSwitchInstruction - Class in serp.bytecode
-
The
tableswitch
instruction. - throwsException(Class) - Method in class serp.bytecode.Exceptions
-
Return true if the method declares that it throws the given exception type.
- throwsException(String) - Method in class serp.bytecode.Exceptions
-
Return true if the method declares that it throws the given exception type.
- throwsException(BCClass) - Method in class serp.bytecode.Exceptions
-
Return true if the method declares that it throws the given exception type.
- toByteArray() - Method in class serp.bytecode.BCClass
-
Return the bytecode of this class as a byte array, possibly for use in a custom
ClassLoader
. - toClass(String, boolean, ClassLoader) - Static method in class serp.util.Strings
-
Return the class for the given string, correctly handling primitive types.
- toClass(String, ClassLoader) - Static method in class serp.util.Strings
-
Return the class for the given string, correctly handling primitive types.
- TypedInstruction - Class in serp.bytecode
-
Any typed instruction.
U
- UnknownAttribute - Class in serp.bytecode
-
An unrecognized attribute; class files are allowed to contain attributes that are not recognized, and the JVM must ignore them.
- updateTargets() - Method in class serp.bytecode.ExceptionHandler
- updateTargets() - Method in interface serp.bytecode.InstructionPtr
-
Use the byte indexes read from the class file to calculate and set references to the target instruction(s) for this ptr.
- updateTargets() - Method in class serp.bytecode.JumpInstruction
- updateTargets() - Method in class serp.bytecode.LineNumber
- updateTargets() - Method in class serp.bytecode.LineNumberTable
- updateTargets() - Method in class serp.bytecode.Local
- updateTargets() - Method in class serp.bytecode.LocalTable
- updateTargets() - Method in class serp.bytecode.LookupSwitchInstruction
- updateTargets() - Method in class serp.bytecode.SwitchInstruction
- updateTargets() - Method in class serp.bytecode.TableSwitchInstruction
- UTF8 - Static variable in class serp.bytecode.lowlevel.Entry
- UTF8Entry - Class in serp.bytecode.lowlevel
-
A unicode string value in the constant pool.
- UTF8Entry() - Constructor for class serp.bytecode.lowlevel.UTF8Entry
-
Default constructor.
- UTF8Entry(String) - Constructor for class serp.bytecode.lowlevel.UTF8Entry
-
Constructor.
V
- VALID_MAGIC - Static variable in interface serp.bytecode.Constants
- valueOf(int) - Static method in class serp.util.Numbers
-
Return the wrapper for the given number, taking advantage of cached common values.
- valueOf(long) - Static method in class serp.util.Numbers
-
Return the wrapper for the given number, taking advantage of cached common values.
- visit(VisitAcceptor) - Method in class serp.bytecode.visitor.BCVisitor
-
Visit the given entity.
- visit(VisitAcceptor) - Method in class serp.bytecode.visitor.PrettyPrintVisitor
- VisitAcceptor - Interface in serp.bytecode.visitor
-
Interface denoting an entity that can accept a
BCVisitor
and provide its internal state to it. - vreturn() - Method in class serp.bytecode.Code
-
Return void from a method; the
return
opcode.
W
- wide() - Method in class serp.bytecode.Code
-
Add the
wide
opcode. - WIDE - Static variable in interface serp.bytecode.Constants
- WideInstruction - Class in serp.bytecode
-
The
wide
instruction, which is used to allow other instructions to index values beyond what they can normally index baed on the length of their arguments. - write() - Method in class serp.bytecode.BCClass
-
Write the class bytecode to the .class file in the proper directory of the CLASSPATH.
- write(DataOutput) - Method in class serp.bytecode.BootstrapMethodElement
- write(DataOutput) - Method in class serp.bytecode.lowlevel.ConstantPool
-
Write the constant pool to the given bytecode stream.
- write(File) - Method in class serp.bytecode.BCClass
-
Write the class bytecode to the specified file.
- write(OutputStream) - Method in class serp.bytecode.BCClass
-
Write the class bytecode to the specified stream.
- write(Entry, DataOutput) - Static method in class serp.bytecode.lowlevel.Entry
-
Write the given entry to the given bytecode stream.
- writeData(DataOutput) - Method in class serp.bytecode.lowlevel.IntEntry
X
- xadd() - Method in class serp.bytecode.Code
-
Add the top two stack values.
- xaload() - Method in class serp.bytecode.Code
-
Load an array value onto the stack.
- xand() - Method in class serp.bytecode.Code
-
Take the mathematical and of the top two stack values.
- xastore() - Method in class serp.bytecode.Code
-
Store a value from the stack into an array.
- xcmp() - Method in class serp.bytecode.Code
-
Compare the top two stack values.
- xdiv() - Method in class serp.bytecode.Code
-
Divide the top two stack values.
- xload() - Method in class serp.bytecode.Code
-
Load a local variable onto the stack.
- xmul() - Method in class serp.bytecode.Code
-
Multiply the top two stack values.
- xneg() - Method in class serp.bytecode.Code
-
Negate the top stack value.
- xor() - Method in class serp.bytecode.Code
-
Take the mathematical or of the top two stack values.
- xrem() - Method in class serp.bytecode.Code
-
Take the remainder of the top two stack values.
- xreturn() - Method in class serp.bytecode.Code
-
Return from a method.
- xshl() - Method in class serp.bytecode.Code
-
Shift the top stack values.
- xshr() - Method in class serp.bytecode.Code
-
Shift the top stack values.
- xstore() - Method in class serp.bytecode.Code
-
Store a value from the stack into a local variable.
- xsub() - Method in class serp.bytecode.Code
-
Subtract the top two stack values.
- xushr() - Method in class serp.bytecode.Code
-
Shift the top stack values.
- xxor() - Method in class serp.bytecode.Code
-
Take the mathematical xor of the top two stack values.
All Classes All Packages