Instruction, BranchHandle, InstructionList
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Instruction | |
| pack-priv InstructionHandle | |
| protected int | |
| pack-priv InstructionHandle | |
| private Set |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| pack-priv void | |
| public final Instruction | |
| pack-priv static final InstructionHandle | |
| public final InstructionHandle | |
| public int | Returns: the position, i.e., the byte code offset of the contained instruction. This is accurate only after InstructionList.setPositions() has been called.
|
| public final InstructionHandle | |
| public Set | |
| public Set | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| pack-priv void | |
| public String | |
| public String |
| instruction | back to summary |
|---|---|
| pack-priv Instruction instruction | |
| next | back to summary |
|---|---|
| pack-priv InstructionHandle next | |
| pos | back to summary |
|---|---|
| protected int pos | |
| prev | back to summary |
|---|---|
| pack-priv InstructionHandle prev | |
| targeters | back to summary |
|---|---|
| private Set<InstructionTargeter> targeters | |
| InstructionHandle | back to summary |
|---|---|
| protected InstructionHandle(Instruction i) | |
| addTargeter | back to summary |
|---|---|
| public void addTargeter(InstructionTargeter t) Denote this handle is being referenced by t. | |
| dispose | back to summary |
|---|---|
| pack-priv void dispose() Delete contents, i.e., remove user access and make handle reusable. | |
| getInstruction | back to summary |
|---|---|
| public final Instruction getInstruction() | |
| getInstructionHandle | back to summary |
|---|---|
| pack-priv static final InstructionHandle getInstructionHandle(Instruction i) | |
| getNext | back to summary |
|---|---|
| public final InstructionHandle getNext() | |
| getPosition | back to summary |
|---|---|
public int getPosition()
| |
| getPrev | back to summary |
|---|---|
| public final InstructionHandle getPrev() | |
| getTargeters | back to summary |
|---|---|
| public Set | |
| getTargetersCopy | back to summary |
|---|---|
| public Set | |
| hasTargeters | back to summary |
|---|---|
| public boolean hasTargeters() | |
| removeAllTargeters | back to summary |
|---|---|
| public void removeAllTargeters() Remove all targeters, if any. | |
| removeTargeter | back to summary |
|---|---|
| public void removeTargeter(InstructionTargeter t) Denote this handle isn't referenced anymore by t. | |
| setInstruction | back to summary |
|---|---|
| public void setInstruction(Instruction i) Replace current instruction contained in this handle. Old instruction is disposed using Instruction.dispose(). | |
| setPosition | back to summary |
|---|---|
| pack-priv void setPosition(int pos) Set the position, i.e., the byte code offset of the contained instruction. | |
| toString | back to summary |
|---|---|
public String toString(boolean verbose)
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |