Class Target
java.lang.Object
edu.umd.cs.findbugs.ba.Target
The target of a branch instruction.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final org.apache.bcel.generic.InstructionHandle -
Constructor Summary
ConstructorsConstructorDescriptionTarget(org.apache.bcel.generic.InstructionHandle targetInstruction, int edgeType) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionintGet the control flow edge type.org.apache.bcel.generic.InstructionHandleGet the handle of the target instruction.
-
Field Details
-
targetInstruction
private final org.apache.bcel.generic.InstructionHandle targetInstruction -
edgeType
-
-
Constructor Details
-
Target
Constructor.- Parameters:
targetInstruction- the handle of the target instructionedgeType- type of CFG edge; see EdgeTypes interface
-
-
Method Details
-
getTargetInstruction
public org.apache.bcel.generic.InstructionHandle getTargetInstruction()Get the handle of the target instruction. -
getEdgeType
Get the control flow edge type.
-