KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jas > LookupswitchInsn


1 /**
2  * Some instructions are perniticky enough that its simpler
3  * to write them separately instead of smushing them with
4  * all the rest. The lookupswitch instruction is one of them.
5  * @author $Author: fqian $
6  * @version $Revision: 1.1 $
7  */

8
9 package jas;
10
11 import java.io.*;
12
13
14 public class LookupswitchInsn extends Insn implements RuntimeConstants
15 {
16   /**
17    * @param def default Label for switch
18    * @param match array of match values for switch
19    * @param target Label array of corresponding targets for each match
20    */

21
22   public LookupswitchInsn(Label def, int match[], Label target[])
23   {
24     opc = opc_lookupswitch;
25     operand = new LookupswitchOperand(this, def, match, target);
26   }
27 }
28
Popular Tags