Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Target

        public Target​(org.apache.bcel.generic.InstructionHandle targetInstruction,
                      @Type
                      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

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