edu.umd.cs.findbugs.ba
Class Target

java.lang.Object
  extended by edu.umd.cs.findbugs.ba.Target

public class Target
extends java.lang.Object

The target of a branch instruction.


Field Summary
private  int edgeType
           
private  org.apache.bcel.generic.InstructionHandle targetInstruction
           
 
Constructor Summary
Target(org.apache.bcel.generic.InstructionHandle targetInstruction, int edgeType)
          Constructor.
 
Method Summary
 int getEdgeType()
          Get the control flow edge type.
 org.apache.bcel.generic.InstructionHandle getTargetInstruction()
          Get the handle of the target instruction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

targetInstruction

private org.apache.bcel.generic.InstructionHandle targetInstruction

edgeType

private int edgeType
Constructor Detail

Target

public Target(org.apache.bcel.generic.InstructionHandle targetInstruction,
              int edgeType)
Constructor.

Parameters:
targetInstruction - the handle of the target instruction
edgeType - 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

public int getEdgeType()
Get the control flow edge type.