Package edu.umd.cs.findbugs.ba
Class Target
- java.lang.Object
-
- edu.umd.cs.findbugs.ba.Target
-
public class Target extends java.lang.Object
The target of a branch instruction.
-
-
Constructor Summary
Constructors Constructor Description Target(org.apache.bcel.generic.InstructionHandle targetInstruction, int edgeType)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getEdgeType()
Get the control flow edge type.org.apache.bcel.generic.InstructionHandle
getTargetInstruction()
Get the handle of the target instruction.
-
-
-
Constructor Detail
-
Target
public Target(org.apache.bcel.generic.InstructionHandle targetInstruction, @Type int edgeType)
Constructor.- Parameters:
targetInstruction
- the handle of the target instructionedgeType
- type of CFG edge; see EdgeTypes interface
-
-
Method Detail
-
getTargetInstruction
public org.apache.bcel.generic.InstructionHandle getTargetInstruction()
Get the handle of the target instruction.
-
getEdgeType
@Type public int getEdgeType()
Get the control flow edge type.
-
-