Documentation of 'org.apache.bcel.generic.BranchInstruction' Java class
BranchInstruction
org.apache.bcel.generic

Class BranchInstruction

    • Method Detail

      • dump

        public void dump(java.io.DataOutputStream out)
                  throws java.io.IOException
        Dump instruction as byte code to stream out.
        Overrides:
        dump in class Instruction
        Parameters:
        out - Output stream
        Throws:
        java.io.IOException
      • toString

        public java.lang.String toString(boolean verbose)
        Long output format: <position in byte code> <name of opcode> "["<opcode number>"]" "("<length of instruction>")" "<"<target instruction>">" "@"<branch target offset>
        Overrides:
        toString in class Instruction
        Parameters:
        verbose - long/short format switch
        Returns:
        mnemonic for instruction
      • getIndex

        public final int getIndex()
        Returns:
        target offset in byte code
      • getTarget

        public InstructionHandle getTarget()
        Returns:
        target of branch instruction
      • setTarget

        public void setTarget(InstructionHandle target)
        Set branch target
        Parameters:
        target - branch target

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.