Class LabelSwitch

    • Constructor Detail

      • LabelSwitch

        public LabelSwitch()
    • Method Detail

      • caseBranchInstruction

        public org.objectweb.asm.Label caseBranchInstruction​(BranchInstruction object)
        Returns the result of interpreting the object as an instance of 'Branch Instruction'. This implementation returns null; returning a non-null result will terminate the switch.
        Overrides:
        caseBranchInstruction in class EmftvmSwitch<org.objectweb.asm.Label>
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Branch Instruction'.
        See Also:
        doSwitch(EObject)
      • hasWithTarget

        public boolean hasWithTarget​(Instruction instr)
        Returns true iff there is a Label with instr as target.
        Returns:
        true iff there is a Label with instr as target
      • getFromTarget

        public org.objectweb.asm.Label getFromTarget​(Instruction instr)
        Returns the Label with instr as target, if any.
        Returns:
        the Label with instr as target, or null
      • hasWithSource

        public boolean hasWithSource​(BranchInstruction instr)
        Returns true iff there is a Label with instr as source.
        Returns:
        true iff there is a Label with instr as source
      • getFromSource

        public org.objectweb.asm.Label getFromSource​(BranchInstruction instr)
        Returns the Label with instr as source, if any.
        Returns:
        the Label with instr as source, or null