home *** CD-ROM | disk | FTP | other *** search
/ Symantec Visual Cafe for Java 2.5 / symantec-visual-cafe-2.5-database-dev-edition.iso / VPage / Java.bin / CLASSES.ZIP / sun / tools / java / RuntimeConstants.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-07-08  |  17.3 KB  |  279 lines

  1. package sun.tools.java;
  2.  
  3. public interface RuntimeConstants {
  4.    char SIGC_VOID = 'V';
  5.    String SIG_VOID = "V";
  6.    char SIGC_BOOLEAN = 'Z';
  7.    String SIG_BOOLEAN = "Z";
  8.    char SIGC_BYTE = 'B';
  9.    String SIG_BYTE = "B";
  10.    char SIGC_CHAR = 'C';
  11.    String SIG_CHAR = "C";
  12.    char SIGC_SHORT = 'S';
  13.    String SIG_SHORT = "S";
  14.    char SIGC_INT = 'I';
  15.    String SIG_INT = "I";
  16.    char SIGC_LONG = 'J';
  17.    String SIG_LONG = "J";
  18.    char SIGC_FLOAT = 'F';
  19.    String SIG_FLOAT = "F";
  20.    char SIGC_DOUBLE = 'D';
  21.    String SIG_DOUBLE = "D";
  22.    char SIGC_ARRAY = '[';
  23.    String SIG_ARRAY = "[";
  24.    char SIGC_CLASS = 'L';
  25.    String SIG_CLASS = "L";
  26.    char SIGC_METHOD = '(';
  27.    String SIG_METHOD = "(";
  28.    char SIGC_ENDCLASS = ';';
  29.    String SIG_ENDCLASS = ";";
  30.    char SIGC_ENDMETHOD = ')';
  31.    String SIG_ENDMETHOD = ")";
  32.    char SIGC_PACKAGE = '/';
  33.    String SIG_PACKAGE = "/";
  34.    int JAVA_MAGIC = -889275714;
  35.    int JAVA_VERSION = 45;
  36.    int JAVA_MINOR_VERSION = 3;
  37.    int CONSTANT_UTF8 = 1;
  38.    int CONSTANT_UNICODE = 2;
  39.    int CONSTANT_INTEGER = 3;
  40.    int CONSTANT_FLOAT = 4;
  41.    int CONSTANT_LONG = 5;
  42.    int CONSTANT_DOUBLE = 6;
  43.    int CONSTANT_CLASS = 7;
  44.    int CONSTANT_STRING = 8;
  45.    int CONSTANT_FIELD = 9;
  46.    int CONSTANT_METHOD = 10;
  47.    int CONSTANT_INTERFACEMETHOD = 11;
  48.    int CONSTANT_NAMEANDTYPE = 12;
  49.    int ACC_PUBLIC = 1;
  50.    int ACC_PRIVATE = 2;
  51.    int ACC_PROTECTED = 4;
  52.    int ACC_STATIC = 8;
  53.    int ACC_FINAL = 16;
  54.    int ACC_SYNCHRONIZED = 32;
  55.    int ACC_VOLATILE = 64;
  56.    int ACC_TRANSIENT = 128;
  57.    int ACC_NATIVE = 256;
  58.    int ACC_INTERFACE = 512;
  59.    int ACC_ABSTRACT = 1024;
  60.    int ACC_SUPER = 32;
  61.    int T_CLASS = 2;
  62.    int T_BOOLEAN = 4;
  63.    int T_CHAR = 5;
  64.    int T_FLOAT = 6;
  65.    int T_DOUBLE = 7;
  66.    int T_BYTE = 8;
  67.    int T_SHORT = 9;
  68.    int T_INT = 10;
  69.    int T_LONG = 11;
  70.    int opc_try = -3;
  71.    int opc_dead = -2;
  72.    int opc_label = -1;
  73.    int opc_nop = 0;
  74.    int opc_aconst_null = 1;
  75.    int opc_iconst_m1 = 2;
  76.    int opc_iconst_0 = 3;
  77.    int opc_iconst_1 = 4;
  78.    int opc_iconst_2 = 5;
  79.    int opc_iconst_3 = 6;
  80.    int opc_iconst_4 = 7;
  81.    int opc_iconst_5 = 8;
  82.    int opc_lconst_0 = 9;
  83.    int opc_lconst_1 = 10;
  84.    int opc_fconst_0 = 11;
  85.    int opc_fconst_1 = 12;
  86.    int opc_fconst_2 = 13;
  87.    int opc_dconst_0 = 14;
  88.    int opc_dconst_1 = 15;
  89.    int opc_bipush = 16;
  90.    int opc_sipush = 17;
  91.    int opc_ldc = 18;
  92.    int opc_ldc_w = 19;
  93.    int opc_ldc2_w = 20;
  94.    int opc_iload = 21;
  95.    int opc_lload = 22;
  96.    int opc_fload = 23;
  97.    int opc_dload = 24;
  98.    int opc_aload = 25;
  99.    int opc_iload_0 = 26;
  100.    int opc_iload_1 = 27;
  101.    int opc_iload_2 = 28;
  102.    int opc_iload_3 = 29;
  103.    int opc_lload_0 = 30;
  104.    int opc_lload_1 = 31;
  105.    int opc_lload_2 = 32;
  106.    int opc_lload_3 = 33;
  107.    int opc_fload_0 = 34;
  108.    int opc_fload_1 = 35;
  109.    int opc_fload_2 = 36;
  110.    int opc_fload_3 = 37;
  111.    int opc_dload_0 = 38;
  112.    int opc_dload_1 = 39;
  113.    int opc_dload_2 = 40;
  114.    int opc_dload_3 = 41;
  115.    int opc_aload_0 = 42;
  116.    int opc_aload_1 = 43;
  117.    int opc_aload_2 = 44;
  118.    int opc_aload_3 = 45;
  119.    int opc_iaload = 46;
  120.    int opc_laload = 47;
  121.    int opc_faload = 48;
  122.    int opc_daload = 49;
  123.    int opc_aaload = 50;
  124.    int opc_baload = 51;
  125.    int opc_caload = 52;
  126.    int opc_saload = 53;
  127.    int opc_istore = 54;
  128.    int opc_lstore = 55;
  129.    int opc_fstore = 56;
  130.    int opc_dstore = 57;
  131.    int opc_astore = 58;
  132.    int opc_istore_0 = 59;
  133.    int opc_istore_1 = 60;
  134.    int opc_istore_2 = 61;
  135.    int opc_istore_3 = 62;
  136.    int opc_lstore_0 = 63;
  137.    int opc_lstore_1 = 64;
  138.    int opc_lstore_2 = 65;
  139.    int opc_lstore_3 = 66;
  140.    int opc_fstore_0 = 67;
  141.    int opc_fstore_1 = 68;
  142.    int opc_fstore_2 = 69;
  143.    int opc_fstore_3 = 70;
  144.    int opc_dstore_0 = 71;
  145.    int opc_dstore_1 = 72;
  146.    int opc_dstore_2 = 73;
  147.    int opc_dstore_3 = 74;
  148.    int opc_astore_0 = 75;
  149.    int opc_astore_1 = 76;
  150.    int opc_astore_2 = 77;
  151.    int opc_astore_3 = 78;
  152.    int opc_iastore = 79;
  153.    int opc_lastore = 80;
  154.    int opc_fastore = 81;
  155.    int opc_dastore = 82;
  156.    int opc_aastore = 83;
  157.    int opc_bastore = 84;
  158.    int opc_castore = 85;
  159.    int opc_sastore = 86;
  160.    int opc_pop = 87;
  161.    int opc_pop2 = 88;
  162.    int opc_dup = 89;
  163.    int opc_dup_x1 = 90;
  164.    int opc_dup_x2 = 91;
  165.    int opc_dup2 = 92;
  166.    int opc_dup2_x1 = 93;
  167.    int opc_dup2_x2 = 94;
  168.    int opc_swap = 95;
  169.    int opc_iadd = 96;
  170.    int opc_ladd = 97;
  171.    int opc_fadd = 98;
  172.    int opc_dadd = 99;
  173.    int opc_isub = 100;
  174.    int opc_lsub = 101;
  175.    int opc_fsub = 102;
  176.    int opc_dsub = 103;
  177.    int opc_imul = 104;
  178.    int opc_lmul = 105;
  179.    int opc_fmul = 106;
  180.    int opc_dmul = 107;
  181.    int opc_idiv = 108;
  182.    int opc_ldiv = 109;
  183.    int opc_fdiv = 110;
  184.    int opc_ddiv = 111;
  185.    int opc_irem = 112;
  186.    int opc_lrem = 113;
  187.    int opc_frem = 114;
  188.    int opc_drem = 115;
  189.    int opc_ineg = 116;
  190.    int opc_lneg = 117;
  191.    int opc_fneg = 118;
  192.    int opc_dneg = 119;
  193.    int opc_ishl = 120;
  194.    int opc_lshl = 121;
  195.    int opc_ishr = 122;
  196.    int opc_lshr = 123;
  197.    int opc_iushr = 124;
  198.    int opc_lushr = 125;
  199.    int opc_iand = 126;
  200.    int opc_land = 127;
  201.    int opc_ior = 128;
  202.    int opc_lor = 129;
  203.    int opc_ixor = 130;
  204.    int opc_lxor = 131;
  205.    int opc_iinc = 132;
  206.    int opc_i2l = 133;
  207.    int opc_i2f = 134;
  208.    int opc_i2d = 135;
  209.    int opc_l2i = 136;
  210.    int opc_l2f = 137;
  211.    int opc_l2d = 138;
  212.    int opc_f2i = 139;
  213.    int opc_f2l = 140;
  214.    int opc_f2d = 141;
  215.    int opc_d2i = 142;
  216.    int opc_d2l = 143;
  217.    int opc_d2f = 144;
  218.    int opc_i2b = 145;
  219.    int opc_i2c = 146;
  220.    int opc_i2s = 147;
  221.    int opc_lcmp = 148;
  222.    int opc_fcmpl = 149;
  223.    int opc_fcmpg = 150;
  224.    int opc_dcmpl = 151;
  225.    int opc_dcmpg = 152;
  226.    int opc_ifeq = 153;
  227.    int opc_ifne = 154;
  228.    int opc_iflt = 155;
  229.    int opc_ifge = 156;
  230.    int opc_ifgt = 157;
  231.    int opc_ifle = 158;
  232.    int opc_if_icmpeq = 159;
  233.    int opc_if_icmpne = 160;
  234.    int opc_if_icmplt = 161;
  235.    int opc_if_icmpge = 162;
  236.    int opc_if_icmpgt = 163;
  237.    int opc_if_icmple = 164;
  238.    int opc_if_acmpeq = 165;
  239.    int opc_if_acmpne = 166;
  240.    int opc_goto = 167;
  241.    int opc_jsr = 168;
  242.    int opc_ret = 169;
  243.    int opc_tableswitch = 170;
  244.    int opc_lookupswitch = 171;
  245.    int opc_ireturn = 172;
  246.    int opc_lreturn = 173;
  247.    int opc_freturn = 174;
  248.    int opc_dreturn = 175;
  249.    int opc_areturn = 176;
  250.    int opc_return = 177;
  251.    int opc_getstatic = 178;
  252.    int opc_putstatic = 179;
  253.    int opc_getfield = 180;
  254.    int opc_putfield = 181;
  255.    int opc_invokevirtual = 182;
  256.    int opc_invokespecial = 183;
  257.    int opc_invokestatic = 184;
  258.    int opc_invokeinterface = 185;
  259.    int opc_xxxunusedxxx = 186;
  260.    int opc_new = 187;
  261.    int opc_newarray = 188;
  262.    int opc_anewarray = 189;
  263.    int opc_arraylength = 190;
  264.    int opc_athrow = 191;
  265.    int opc_checkcast = 192;
  266.    int opc_instanceof = 193;
  267.    int opc_monitorenter = 194;
  268.    int opc_monitorexit = 195;
  269.    int opc_wide = 196;
  270.    int opc_multianewarray = 197;
  271.    int opc_ifnull = 198;
  272.    int opc_ifnonnull = 199;
  273.    int opc_goto_w = 200;
  274.    int opc_jsr_w = 201;
  275.    int opc_breakpoint = 202;
  276.    String[] opcNames = new String[]{"nop", "aconst_null", "iconst_m1", "iconst_0", "iconst_1", "iconst_2", "iconst_3", "iconst_4", "iconst_5", "lconst_0", "lconst_1", "fconst_0", "fconst_1", "fconst_2", "dconst_0", "dconst_1", "bipush", "sipush", "ldc", "ldc_w", "ldc2_w", "iload", "lload", "fload", "dload", "aload", "iload_0", "iload_1", "iload_2", "iload_3", "lload_0", "lload_1", "lload_2", "lload_3", "fload_0", "fload_1", "fload_2", "fload_3", "dload_0", "dload_1", "dload_2", "dload_3", "aload_0", "aload_1", "aload_2", "aload_3", "iaload", "laload", "faload", "daload", "aaload", "baload", "caload", "saload", "istore", "lstore", "fstore", "dstore", "astore", "istore_0", "istore_1", "istore_2", "istore_3", "lstore_0", "lstore_1", "lstore_2", "lstore_3", "fstore_0", "fstore_1", "fstore_2", "fstore_3", "dstore_0", "dstore_1", "dstore_2", "dstore_3", "astore_0", "astore_1", "astore_2", "astore_3", "iastore", "lastore", "fastore", "dastore", "aastore", "bastore", "castore", "sastore", "pop", "pop2", "dup", "dup_x1", "dup_x2", "dup2", "dup2_x1", "dup2_x2", "swap", "iadd", "ladd", "fadd", "dadd", "isub", "lsub", "fsub", "dsub", "imul", "lmul", "fmul", "dmul", "idiv", "ldiv", "fdiv", "ddiv", "irem", "lrem", "frem", "drem", "ineg", "lneg", "fneg", "dneg", "ishl", "lshl", "ishr", "lshr", "iushr", "lushr", "iand", "land", "ior", "lor", "ixor", "lxor", "iinc", "i2l", "i2f", "i2d", "l2i", "l2f", "l2d", "f2i", "f2l", "f2d", "d2i", "d2l", "d2f", "i2b", "i2c", "i2s", "lcmp", "fcmpl", "fcmpg", "dcmpl", "dcmpg", "ifeq", "ifne", "iflt", "ifge", "ifgt", "ifle", "if_icmpeq", "if_icmpne", "if_icmplt", "if_icmpge", "if_icmpgt", "if_icmple", "if_acmpeq", "if_acmpne", "goto", "jsr", "ret", "tableswitch", "lookupswitch", "ireturn", "lreturn", "freturn", "dreturn", "areturn", "return", "getstatic", "putstatic", "getfield", "putfield", "invokevirtual", "invokespecial", "invokestatic", "invokeinterface", "xxxunusedxxx", "new", "newarray", "anewarray", "arraylength", "athrow", "checkcast", "instanceof", "monitorenter", "monitorexit", "wide", "multianewarray", "ifnull", "ifnonnull", "goto_w", "jsr_w", "breakpoint"};
  277.    int[] opcLengths = new int[]{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 2, 3, 3, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 99, 99, 1, 1, 1, 1, 1, 1, 3, 3, 3, 3, 3, 3, 3, 5, 0, 3, 2, 3, 1, 1, 3, 3, 1, 1, 0, 4, 3, 3, 5, 5, 1};
  278. }
  279.