## Uses of Class
org.apache.bcel.generic.BranchInstruction

- Packages that use BranchInstruction
  Package | Description
  --- | ---
  org.apache.bcel.generic | This package contains the "generic" part of the Byte Code Engineering Library, i.e., classes to dynamically modify class objects and byte code instructions.

- - ### Uses of BranchInstruction in org.apache.bcel.generic

    Subclasses of BranchInstruction in org.apache.bcel.generic
    Modifier and Type | Class and Description
    --- | ---
    `class` | `GOTO` GOTO - Branch always (to relative offset, not absolute address)
    `class` | `GOTO_W` GOTO_W - Branch always (to relative offset, not absolute address)
    `class` | `GotoInstruction` Super class for GOTO
    `class` | `IF_ACMPEQ` IF_ACMPEQ - Branch if reference comparison succeeds
    `class` | `IF_ACMPNE` IF_ACMPNE - Branch if reference comparison doesn't succeed
    `class` | `IF_ICMPEQ` IF_ICMPEQ - Branch if int comparison succeeds
    `class` | `IF_ICMPGE` IF_ICMPGE - Branch if int comparison succeeds
    `class` | `IF_ICMPGT` IF_ICMPGT - Branch if int comparison succeeds
    `class` | `IF_ICMPLE` IF_ICMPLE - Branch if int comparison succeeds
    `class` | `IF_ICMPLT` IF_ICMPLT - Branch if int comparison succeeds
    `class` | `IF_ICMPNE` IF_ICMPNE - Branch if int comparison doesn't succeed
    `class` | `IFEQ` IFEQ - Branch if int comparison with zero succeeds
    `class` | `IFGE` IFGE - Branch if int comparison with zero succeeds
    `class` | `IFGT` IFGT - Branch if int comparison with zero succeeds
    `class` | `IfInstruction` Super class for the IFxxx family of instructions.
    `class` | `IFLE` IFLE - Branch if int comparison with zero succeeds
    `class` | `IFLT` IFLT - Branch if int comparison with zero succeeds
    `class` | `IFNE` IFNE - Branch if int comparison with zero succeeds
    `class` | `IFNONNULL` IFNONNULL - Branch if reference is not null
    `class` | `IFNULL` IFNULL - Branch if reference is not null
    `class` | `JSR` JSR - Jump to subroutine
    `class` | `JSR_W` JSR_W - Jump to subroutine
    `class` | `JsrInstruction` Super class for JSR - Jump to subroutine
    `class` | `LOOKUPSWITCH` LOOKUPSWITCH - Switch with unordered set of values
    `class` | `Select` Select - Abstract super class for LOOKUPSWITCH and TABLESWITCH instructions.
    `class` | `TABLESWITCH` TABLESWITCH - Switch within given range of values, i.e., low..high

    Methods in org.apache.bcel.generic that return BranchInstruction
    Modifier and Type | Method and Description
    --- | ---
    `static BranchInstruction` | InstructionFactory.`createBranchInstruction(short opcode, InstructionHandle target)` Create branch instruction by given opcode, except LOOKUPSWITCH and TABLESWITCH.

    Methods in org.apache.bcel.generic with parameters of type BranchInstruction
    Modifier and Type | Method and Description
    --- | ---
    `BranchHandle` | InstructionList.`append(BranchInstruction i)` Append a branch instruction to the end of this list.
    `BranchHandle` | InstructionList.`append(InstructionHandle ih, BranchInstruction i)` Append an instruction after instruction (handle) ih contained in this list.
    `BranchHandle` | InstructionList.`insert(BranchInstruction i)` Insert a branch instruction at start of this list.
    `BranchHandle` | InstructionList.`insert(InstructionHandle ih, BranchInstruction i)` Insert an instruction before instruction (handle) ih contained in this list.
    `void` | Visitor.`visitBranchInstruction(BranchInstruction obj)`
    `void` | EmptyVisitor.`visitBranchInstruction(BranchInstruction obj)`

    Constructors in org.apache.bcel.generic with parameters of type BranchInstruction
    Constructor and Description
    `InstructionList(BranchInstruction i)` Create instruction list containing one instruction.

Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.