- 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(BCClass) - 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.
- 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 the
ClassEntry
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
-
- 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(boolean) - Method in class serp.bytecode.BCMethod
-
Return the code for the method.
- 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
-
- 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 the
ClassEntry
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, String[]) - Method in class serp.bytecode.BCClass
-
Return the declared method with the given name and parameter types,
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, BCClass[]) - 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, Class, Class[]) - Method in class serp.bytecode.BCClass
-
Return the declared method with the given name and signature,
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, String[]) - Method in class serp.bytecode.BCClass
-
Return all declared methods with the given name and parameter types.
- getDeclaredMethods(String, Class[]) - 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 the
ClassEntry
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
-
- getDefaultOffset() - Method in class serp.bytecode.SwitchInstruction
-
- getDefaultOffset() - Method in class serp.bytecode.TableSwitchInstruction
-
- getDefaultTarget() - Method in class serp.bytecode.LookupSwitchInstruction
-
- getDefaultTarget() - Method in class serp.bytecode.SwitchInstruction
-
- getDefaultTarget() - Method in class serp.bytecode.TableSwitchInstruction
-
- 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
-
- 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
-
- 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.
- getEndIndex() - Method in class serp.bytecode.lowlevel.ConstantPoolTable
-
Return the index into the bytecode of the end of the constant pool.
- 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(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(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(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(String) - Method in class serp.bytecode.Code
-
Return all exception handlers that catch the given exception type,
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(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 the
ClassEntry
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 - Static variable in interface serp.bytecode.Constants
-
- 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.
- 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
-
- 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 the
UTF8Entry
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
-
- 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(boolean) - Method in class serp.bytecode.BCClass
-
Return inner classes information for the class.
- getInnerClasses() - Method in class serp.bytecode.InnerClasses
-
Return all referenced inner classes, or empty array if none.
- 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(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.
- getLocal() - Method in class serp.bytecode.LocalVariableInstruction
-
Return the index of the local variable that this instruction operates on.
- 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(boolean) - Method in class serp.bytecode.Code
-
Return local variable information for the code.
- getLocalVariableTable() - Method in class serp.bytecode.LocalVariable
-
The owning table.
- 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(boolean) - Method in class serp.bytecode.Code
-
Return local variable generics information for the code.
- getLocalVariableTypeTable() - Method in class serp.bytecode.LocalVariableType
-
The owning table.
- 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
-
- 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, 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, 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, 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
-
- getNameAndTypeEntry() - Method in class serp.bytecode.lowlevel.InvokeDynamicEntry
-
- getNameAndTypeIndex() - Method in class serp.bytecode.lowlevel.ComplexEntry
-
- getNameAndTypeIndex() - Method in class serp.bytecode.lowlevel.InvokeDynamicEntry
-
- 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
-
- getNameEntry() - Method in class serp.bytecode.lowlevel.NameAndTypeEntry
-
- getNameIndex() - Method in class serp.bytecode.Annotation.Property
-
- getNameIndex() - Method in class serp.bytecode.Attribute
-
- getNameIndex() - Method in class serp.bytecode.BCMember
-
- getNameIndex() - Method in class serp.bytecode.InnerClass
-
Return the
ConstantPool
index of the
UTF8Entry
that
describes the simple name this class is referred to in source, or
0 for anonymous classes.
- getNameIndex() - Method in class serp.bytecode.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
-
- getOwner() - Method in class serp.bytecode.Attribute
-
- getOwner() - Method in class serp.bytecode.InnerClass
-
- 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
-
- 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
-
- 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
-
- 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
-
- getTypeIndex() - Method in class serp.bytecode.ClassInstruction
-
- getTypeIndex() - Method in class serp.bytecode.InnerClass
-
- getTypeIndex() - Method in class serp.bytecode.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
-
- 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
-
- 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
-
- 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 - Static variable in interface serp.bytecode.Constants
-
- iinc() - Method in class serp.bytecode.WideInstruction
-
Set the type of instruction this wide instruction modifies.
- IIncInstruction - Class in serp.bytecode
-
The iinc
instruction.
- iload() - Method in class serp.bytecode.Code
-
Load an int local variable onto the stack.
- ILOAD - Static variable in interface serp.bytecode.Constants
-
- iload() - Method in class serp.bytecode.WideInstruction
-
Set the type of instruction this wide instruction modifies.
- 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(String) - Method in class serp.bytecode.BCClass
-
Return true if this class or any of its superclasses implement/extend
the given interface/class.
- 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(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
; the this
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 - Static variable in interface serp.bytecode.Constants
-
- istore() - Method in class serp.bytecode.WideInstruction
-
Set the type of instruction this wide instruction modifies.
- 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
-
- 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(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(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(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 the
ClassEntry
describing the exception type this handler catches.
- setClass(String) - Method in class serp.bytecode.ClassConstantInstruction
-
Set the type of class being loaded.
- setClass(Class) - 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 the
ClassEntry
s describing all the interfaces this class declares
it implements/extends; 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(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(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(String) - Method in class serp.bytecode.InnerClass
-
Set the type of this declaring class.
- setDeclarer(Class) - 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 the
ClassEntry
that
describes the declaring class, or 0 if this class is not a member class.
- setDefaultOffset(int) - Method in class serp.bytecode.LookupSwitchInstruction
-
- setDefaultOffset(int) - Method in class serp.bytecode.SwitchInstruction
-
- setDefaultOffset(int) - Method in class serp.bytecode.TableSwitchInstruction
-
- setDefaultTarget(Instruction) - Method in class serp.bytecode.LookupSwitchInstruction
-
- setDefaultTarget(Instruction) - Method in class serp.bytecode.SwitchInstruction
-
- setDefaultTarget(Instruction) - Method in class serp.bytecode.TableSwitchInstruction
-
- 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
-
- 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
-
- setExceptions(String[]) - Method in class serp.bytecode.Exceptions
-
Set the checked exceptions thrown by this method.
- setExceptions(Class[]) - 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(BCField) - 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, String, String) - Method in class serp.bytecode.FieldInstruction
-
Set the field this instruction operates on.
- 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(Class, String, Class) - 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(BCClass, String, BCClass) - 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.
- setFieldDeclarer(String) - Method in class serp.bytecode.FieldInstruction
-
Set the declaring class of 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(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
-
- setFieldName(String) - Method in class serp.bytecode.FieldInstruction
-
Set the name 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(Class) - 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(String) - Method in class serp.bytecode.SourceFile
-
Set the name of the source file.
- setFile(File) - Method in class serp.bytecode.SourceFile
-
Set the source file.
- setFileIndex(int) - Method in class serp.bytecode.SourceFile
-
- 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(String) - Method in class serp.bytecode.ConvertInstruction
-
Set the type being converted from.
- setFromType(Class) - 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(Instruction) - Method in class serp.bytecode.ExceptionHandler
-
Set the
Instruction
marking the beginning of the catch block.
- setHandlerStart(int) - Method in class serp.bytecode.ExceptionHandler
-
- 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
-
- setInnerClasses(InnerClass[]) - Method in class serp.bytecode.InnerClasses
-
Set the inner class references for this class.
- setInstruction(Instruction) - Method in class serp.bytecode.WideInstruction
-
Set the type of instruction this wide instruction modifies.
- setInstruction(int) - 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(BCMethod) - 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(Constructor) - Method in class serp.bytecode.MethodInstruction
-
Set the method this instruction operates on.
- setMethod(String, String, String, String[]) - Method in class serp.bytecode.MethodInstruction
-
Set the method this instruction operates on.
- 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(Class, String, Class, Class[]) - 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(BCClass, String, BCClass, BCClass[]) - 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.
- setMethodDeclarer(String) - Method in class serp.bytecode.MethodInstruction
-
Set the declaring type of 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(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
-
- setMethodName(String) - Method in class serp.bytecode.MethodInstruction
-
Set the name 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(Class[]) - 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(String) - Method in class serp.bytecode.MethodInstruction
-
Set the return type 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(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
-
- setNameIndex(int) - Method in class serp.bytecode.Annotation.Property
-
- setNameIndex(int) - Method in class serp.bytecode.BCMember
-
- setNameIndex(int) - Method in class serp.bytecode.InnerClass
-
Set the
ConstantPool
index of the
UTF8Entry
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
-
- 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, String) - Method in class serp.bytecode.BCMethod
-
Change a parameter type of this method.
- setParam(int, Class) - 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.
- 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.
- setParams(String[]) - Method in class serp.bytecode.BCMethod
-
Set the parameter types of this method.
- setParams(Class[]) - Method in class serp.bytecode.BCMethod
-
Set the parameter type 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(String) - Method in class serp.bytecode.BCMethod
-
Set the return type of this method.
- setReturn(Class) - 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
-
- setStart(Instruction) - Method in class serp.bytecode.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(String) - Method in class serp.bytecode.BCClass
-
Set the superclass of this class.
- setSuperclass(Class) - 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
-
- 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)
; the
this
ptr is always passed in local variable 0.
- setTransient(boolean) - Method in class serp.bytecode.BCField
-
Manipulate the field access flags.
- setTryEnd(Instruction) - Method in class serp.bytecode.ExceptionHandler
-
Set the Instruction at the end of the try block.
- setTryEnd(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.
- setTryStart(int) - Method in class serp.bytecode.ExceptionHandler
-
- setType(String) - Method in class serp.bytecode.Annotation
-
This annotation's type.
- setType(Class) - Method in class serp.bytecode.Annotation
-
This annotation's type.
- setType(BCClass) - 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(Class) - Method in class serp.bytecode.BCField
-
Set the type of this field.
- setType(BCClass) - Method in class serp.bytecode.BCField
-
Set 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(Class) - Method in class serp.bytecode.InnerClass
-
Set the type of this inner class.
- setType(BCClass) - 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(Class) - Method in class serp.bytecode.LocalVariable
-
Set the type of this local.
- setType(BCClass) - Method in class serp.bytecode.LocalVariable
-
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(Class) - Method in class serp.bytecode.TypedInstruction
-
Set the type of this instruction.
- setType(BCClass) - Method in class serp.bytecode.TypedInstruction
-
Set the type of this instruction.
- setType(String) - Method in class serp.bytecode.WideInstruction
-
- 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
-
- setTypeIndex(int) - Method in class serp.bytecode.ClassInstruction
-
- setTypeIndex(int) - Method in class serp.bytecode.InnerClass
-
- setTypeIndex(int) - Method in class serp.bytecode.Local
-
- setValue(Object) - Method in class serp.bytecode.Annotation.Property
-
Set value of this property.
- setValue(String) - Method in class serp.bytecode.Annotation.Property
-
Set the string value of this property.
- setValue(boolean) - Method in class serp.bytecode.Annotation.Property
-
Set the boolean value of this property.
- setValue(byte) - Method in class serp.bytecode.Annotation.Property
-
Set the byte value of this property.
- setValue(int) - Method in class serp.bytecode.Annotation.Property
-
Set the int value of this property.
- setValue(long) - Method in class serp.bytecode.Annotation.Property
-
Set the long value of this property.
- setValue(float) - Method in class serp.bytecode.Annotation.Property
-
Set the float value of this property.
- setValue(double) - Method in class serp.bytecode.Annotation.Property
-
Set the double value of this property.
- setValue(short) - Method in class serp.bytecode.Annotation.Property
-
Set the short value of this property.
- setValue(Class) - Method in class serp.bytecode.Annotation.Property
-
Set the class value of this property.
- setValue(BCClass) - Method in class serp.bytecode.Annotation.Property
-
Set the class value of this property.
- 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(Object) - Method in class serp.bytecode.ConstantInstruction
-
Set the constant to the given value.
- setValue(String) - Method in class serp.bytecode.ConstantInstruction
-
Set the value of this constant.
- setValue(String, boolean) - Method in class serp.bytecode.ConstantInstruction
-
- setValue(Class) - Method in class serp.bytecode.ConstantInstruction
-
Set the value of this constant.
- setValue(BCClass) - Method in class serp.bytecode.ConstantInstruction
-
Set the value of this constant.
- setValue(int) - Method in class serp.bytecode.ConstantInstruction
-
Set the value of this constant.
- setValue(long) - Method in class serp.bytecode.ConstantInstruction
-
Set the value of this constant.
- setValue(float) - Method in class serp.bytecode.ConstantInstruction
-
Set the value of this constant.
- setValue(double) - Method in class serp.bytecode.ConstantInstruction
-
Set the value of this constant.
- setValue(boolean) - Method in class serp.bytecode.ConstantInstruction
-
Set the value of this constant; note that this type is converted to int.
- setValue(short) - Method in class serp.bytecode.ConstantInstruction
-
Set the value of this constant; note that this type is converted to int.
- setValue(char) - Method in class serp.bytecode.ConstantInstruction
-
Set the value of this constant; note that this type is converted to int.
- 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(double) - Method in class serp.bytecode.lowlevel.DoubleEntry
-
Set the value of the constant.
- setValue(float) - Method in class serp.bytecode.lowlevel.FloatEntry
-
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.lowlevel.LongEntry
-
Set the value of the constant.
- setValue(String) - Method in class serp.bytecode.lowlevel.UTF8Entry
-
Set the value of the entry.
- setValue(byte[]) - Method in class serp.bytecode.UnknownAttribute
-
The value is of unknown content, so it is stored as a byte array.
- setValueIndex(int) - Method in class serp.bytecode.ConstantValue
-
- 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.