Package org.aspectj.apache.bcel.generic
Class InstructionHandle
- java.lang.Object
-
- org.aspectj.apache.bcel.generic.InstructionHandle
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BranchHandle
public class InstructionHandle extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected intpos
-
Constructor Summary
Constructors Modifier Constructor Description protectedInstructionHandle(Instruction i)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTargeter(InstructionTargeter t)InstructiongetInstruction()InstructionHandlegetNext()intgetPosition()InstructionHandlegetPrev()Set<InstructionTargeter>getTargeters()Set<InstructionTargeter>getTargetersCopy()booleanhasTargeters()voidremoveAllTargeters()voidremoveTargeter(InstructionTargeter t)voidsetInstruction(Instruction i)StringtoString()StringtoString(boolean verbose)
-
-
-
Constructor Detail
-
InstructionHandle
protected InstructionHandle(Instruction i)
-
-
Method Detail
-
getNext
public final InstructionHandle getNext()
-
getPrev
public final InstructionHandle getPrev()
-
getInstruction
public final Instruction getInstruction()
-
setInstruction
public void setInstruction(Instruction i)
-
getPosition
public int getPosition()
-
removeAllTargeters
public void removeAllTargeters()
-
removeTargeter
public void removeTargeter(InstructionTargeter t)
-
addTargeter
public void addTargeter(InstructionTargeter t)
-
hasTargeters
public boolean hasTargeters()
-
getTargeters
public Set<InstructionTargeter> getTargeters()
-
getTargetersCopy
public Set<InstructionTargeter> getTargetersCopy()
-
toString
public String toString(boolean verbose)
-
-