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

Class TABLESWITCH

    • Constructor Detail

      • TABLESWITCH

        public TABLESWITCH(int[] match,
                           InstructionHandle[] targets,
                           InstructionHandle defaultTarget)
        Parameters:
        match - sorted array of match values, match[0] must be low value, match[match_length - 1] high value
        targets - where to branch for matched values
        defaultTarget - default branch
    • 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 Select
        Parameters:
        out - Output stream
        Throws:
        java.io.IOException
      • accept

        public void accept(Visitor v)
        Call corresponding visitor method(s). The order is: Call visitor methods of implemented interfaces first, then call methods according to the class hierarchy in descending order, i.e., the most specific visitXXX() call comes last.
        Specified by:
        accept in class Instruction
        Parameters:
        v - Visitor object

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.