Instruction |
Code.add(Instruction ins) |
Adds a copy of the given instruction.
|
LookupSwitchInstruction |
LookupSwitchInstruction.addCase(int match,
Instruction target) |
Add a case to this switch.
|
SwitchInstruction |
SwitchInstruction.addCase(int match,
Instruction target) |
Add a case to this switch.
|
ExceptionHandler |
Code.addExceptionHandler(Instruction tryStart,
Instruction tryEnd,
Instruction handlerStart,
java.lang.Class catchType) |
Add an exception handler to this code block.
|
ExceptionHandler |
Code.addExceptionHandler(Instruction tryStart,
Instruction tryEnd,
Instruction handlerStart,
java.lang.String catchType) |
Add an exception handler to this code block.
|
ExceptionHandler |
Code.addExceptionHandler(Instruction tryStart,
Instruction tryEnd,
Instruction handlerStart,
BCClass catchType) |
Add an exception handler to this code block.
|
LineNumber |
LineNumberTable.addLineNumber(Instruction start,
int line) |
Add a new line number to this table.
|
SwitchInstruction |
SwitchInstruction.addTarget(Instruction target) |
Add a target to this switch.
|
TableSwitchInstruction |
TableSwitchInstruction.addTarget(Instruction target) |
Add a target to this switch.
|
void |
Code.after(Instruction ins) |
Position the iterator just after the given instruction.
|
void |
Code.before(Instruction ins) |
Position the iterator just before the given instruction.
|
boolean |
ClassInstruction.equalsInstruction(Instruction other) |
ClassInstructions are equal if the type they reference is the same or
unset and if their opcodes are equal.
|
boolean |
ConstantInstruction.equalsInstruction(Instruction other) |
ConstantInstructions are equal if the const they reference is the same,
or if the const of either is unset.
|
boolean |
ConvertInstruction.equalsInstruction(Instruction other) |
ConvertInstructions are equal if the types they convert between are
either equal or unset.
|
boolean |
FieldInstruction.equalsInstruction(Instruction other) |
FieldInstructions are equal if the field they reference is the same,
or if the field of either is unset.
|
boolean |
IIncInstruction.equalsInstruction(Instruction other) |
|
boolean |
Instruction.equalsInstruction(Instruction other) |
Instructions are equal if their opcodes are the same.
|
boolean |
JumpInstruction.equalsInstruction(Instruction other) |
JumpInstructions are equal if they represent the same operation and
the instruction they jump to is the
same, or if the jump Instruction of either is unset.
|
boolean |
LoadInstruction.equalsInstruction(Instruction other) |
LoadInstructions are equal if the type they reference the same
type and locals index or if either is unset.
|
boolean |
LocalVariableInstruction.equalsInstruction(Instruction other) |
Two local variable instructions are equal if the local index they
reference is equal or if either index is 0/unset.
|
boolean |
MathInstruction.equalsInstruction(Instruction other) |
MathInstructions are equal if they have the same operation and type,
or the operation and type of either is unset.
|
boolean |
MethodInstruction.equalsInstruction(Instruction other) |
MethodInstructions are equal if the method they reference is the same,
or if the method of either is unset.
|
boolean |
MultiANewArrayInstruction.equalsInstruction(Instruction other) |
Two MultiANewArray instructions are equal if they have the same
type and dimensions, or if the type and dimensions of either is unset.
|
boolean |
NewArrayInstruction.equalsInstruction(Instruction other) |
NewArray instructions are equal if the array type is the same,
of if the array type of either is unset.
|
boolean |
RetInstruction.equalsInstruction(Instruction other) |
|
boolean |
StoreInstruction.equalsInstruction(Instruction other) |
StoreInstructions are equal if the type they reference the same
type and locals index or if either is unset.
|
boolean |
WideInstruction.equalsInstruction(Instruction other) |
WideInstructions are equal if the instruction they augment is the same
or unset.
|
LineNumber |
LineNumberTable.getLineNumber(Instruction ins) |
Return the line number for the given instruction, or null if none.
|
boolean |
LineNumberTable.removeLineNumber(Instruction ins) |
Remove the line number for the given instruction.
|
int |
Code.replace(Instruction[] templates,
Instruction[] with) |
|
int |
Code.replace(Instruction template,
Instruction with) |
Replaces all the instructions in this code block that match the
given template with the given instruction.
|
void |
ExceptionHandler.replaceTarget(Instruction oldTarget,
Instruction newTarget) |
|
void |
InstructionPtr.replaceTarget(Instruction oldTarget,
Instruction newTarget) |
Replace the given old, likely invalid, target with a new target.
|
void |
JumpInstruction.replaceTarget(Instruction oldTarget,
Instruction newTarget) |
|
void |
LineNumber.replaceTarget(Instruction oldTarget,
Instruction newTarget) |
|
void |
LineNumberTable.replaceTarget(Instruction oldTarget,
Instruction newTarget) |
|
void |
Local.replaceTarget(Instruction oldTarget,
Instruction newTarget) |
|
void |
LocalTable.replaceTarget(Instruction oldTarget,
Instruction newTarget) |
|
void |
LookupSwitchInstruction.replaceTarget(Instruction oldTarget,
Instruction newTarget) |
|
void |
SwitchInstruction.replaceTarget(Instruction oldTarget,
Instruction newTarget) |
|
void |
TableSwitchInstruction.replaceTarget(Instruction oldTarget,
Instruction newTarget) |
|
boolean |
Code.searchBackward(Instruction template) |
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.
|
boolean |
Code.searchForward(Instruction template) |
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.
|
Instruction |
Code.set(Instruction ins) |
Replaces the last iterated instruction with a copy of the given one.
|
LookupSwitchInstruction |
LookupSwitchInstruction.setCases(int[] matches,
Instruction[] targets) |
Set the match-jumppt pairs for this switch.
|
SwitchInstruction |
SwitchInstruction.setCases(int[] matches,
Instruction[] targets) |
Set the match-jumppt pairs for this switch.
|
LookupSwitchInstruction |
LookupSwitchInstruction.setDefaultTarget(Instruction ins) |
|
SwitchInstruction |
SwitchInstruction.setDefaultTarget(Instruction ins) |
|
TableSwitchInstruction |
TableSwitchInstruction.setDefaultTarget(Instruction ins) |
|
void |
Local.setEnd(Instruction end) |
Set the last Instruction for which this local is in scope.
|
void |
ExceptionHandler.setHandlerStart(Instruction instruction) |
Set the Instruction marking the beginning of the catch block.
|
WideInstruction |
WideInstruction.setInstruction(Instruction ins) |
Set the type of instruction this wide instruction modifies.
|
void |
LineNumber.setStart(Instruction instruction) |
|
void |
Local.setStart(Instruction instruction) |
|
JumpInstruction |
JumpInstruction.setTarget(Instruction instruction) |
Set the instruction to jump to; the instruction must already be
added to the code block.
|
SwitchInstruction |
SwitchInstruction.setTargets(Instruction[] targets) |
Set the jump points for this switch.
|
TableSwitchInstruction |
TableSwitchInstruction.setTargets(Instruction[] targets) |
Set the jump points for this switch.
|
void |
ExceptionHandler.setTryEnd(Instruction instruction) |
Set the Instruction at the end of the try block.
|
void |
ExceptionHandler.setTryStart(Instruction instruction) |
Set the Instruction marking the beginning of the try block.
|