jaxp/src/com/sun/org/apache/bcel/internal/Constants.java
author dbuck
Thu, 10 Jan 2013 20:26:00 -0800
changeset 15346 3f6fd93fec9a
parent 12457 c348e06f0e82
permissions -rw-r--r--
8003147: port fix for BCEL bug 39695 Summary: Added support for Local Variable Type Table so that BCEL library can be used to modify methods with generics-related debug data without violating class file format Reviewed-by: lancea
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6
7f561c08de6b Initial load
duke
parents:
diff changeset
     1
/*
7f561c08de6b Initial load
duke
parents:
diff changeset
     2
 * reserved comment block
7f561c08de6b Initial load
duke
parents:
diff changeset
     3
 * DO NOT REMOVE OR ALTER!
7f561c08de6b Initial load
duke
parents:
diff changeset
     4
 */
7f561c08de6b Initial load
duke
parents:
diff changeset
     5
package com.sun.org.apache.bcel.internal;
7f561c08de6b Initial load
duke
parents:
diff changeset
     6
7f561c08de6b Initial load
duke
parents:
diff changeset
     7
/* ====================================================================
7f561c08de6b Initial load
duke
parents:
diff changeset
     8
 * The Apache Software License, Version 1.1
7f561c08de6b Initial load
duke
parents:
diff changeset
     9
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    10
 * Copyright (c) 2001 The Apache Software Foundation.  All rights
7f561c08de6b Initial load
duke
parents:
diff changeset
    11
 * reserved.
7f561c08de6b Initial load
duke
parents:
diff changeset
    12
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    13
 * Redistribution and use in source and binary forms, with or without
7f561c08de6b Initial load
duke
parents:
diff changeset
    14
 * modification, are permitted provided that the following conditions
7f561c08de6b Initial load
duke
parents:
diff changeset
    15
 * are met:
7f561c08de6b Initial load
duke
parents:
diff changeset
    16
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    17
 * 1. Redistributions of source code must retain the above copyright
7f561c08de6b Initial load
duke
parents:
diff changeset
    18
 *    notice, this list of conditions and the following disclaimer.
7f561c08de6b Initial load
duke
parents:
diff changeset
    19
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    20
 * 2. Redistributions in binary form must reproduce the above copyright
7f561c08de6b Initial load
duke
parents:
diff changeset
    21
 *    notice, this list of conditions and the following disclaimer in
7f561c08de6b Initial load
duke
parents:
diff changeset
    22
 *    the documentation and/or other materials provided with the
7f561c08de6b Initial load
duke
parents:
diff changeset
    23
 *    distribution.
7f561c08de6b Initial load
duke
parents:
diff changeset
    24
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    25
 * 3. The end-user documentation included with the redistribution,
7f561c08de6b Initial load
duke
parents:
diff changeset
    26
 *    if any, must include the following acknowledgment:
7f561c08de6b Initial load
duke
parents:
diff changeset
    27
 *       "This product includes software developed by the
7f561c08de6b Initial load
duke
parents:
diff changeset
    28
 *        Apache Software Foundation (http://www.apache.org/)."
7f561c08de6b Initial load
duke
parents:
diff changeset
    29
 *    Alternately, this acknowledgment may appear in the software itself,
7f561c08de6b Initial load
duke
parents:
diff changeset
    30
 *    if and wherever such third-party acknowledgments normally appear.
7f561c08de6b Initial load
duke
parents:
diff changeset
    31
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    32
 * 4. The names "Apache" and "Apache Software Foundation" and
7f561c08de6b Initial load
duke
parents:
diff changeset
    33
 *    "Apache BCEL" must not be used to endorse or promote products
7f561c08de6b Initial load
duke
parents:
diff changeset
    34
 *    derived from this software without prior written permission. For
7f561c08de6b Initial load
duke
parents:
diff changeset
    35
 *    written permission, please contact apache@apache.org.
7f561c08de6b Initial load
duke
parents:
diff changeset
    36
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    37
 * 5. Products derived from this software may not be called "Apache",
7f561c08de6b Initial load
duke
parents:
diff changeset
    38
 *    "Apache BCEL", nor may "Apache" appear in their name, without
7f561c08de6b Initial load
duke
parents:
diff changeset
    39
 *    prior written permission of the Apache Software Foundation.
7f561c08de6b Initial load
duke
parents:
diff changeset
    40
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    41
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
7f561c08de6b Initial load
duke
parents:
diff changeset
    42
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
7f561c08de6b Initial load
duke
parents:
diff changeset
    43
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
7f561c08de6b Initial load
duke
parents:
diff changeset
    44
 * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
7f561c08de6b Initial load
duke
parents:
diff changeset
    45
 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7f561c08de6b Initial load
duke
parents:
diff changeset
    46
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7f561c08de6b Initial load
duke
parents:
diff changeset
    47
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
7f561c08de6b Initial load
duke
parents:
diff changeset
    48
 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
7f561c08de6b Initial load
duke
parents:
diff changeset
    49
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
7f561c08de6b Initial load
duke
parents:
diff changeset
    50
 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
7f561c08de6b Initial load
duke
parents:
diff changeset
    51
 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
7f561c08de6b Initial load
duke
parents:
diff changeset
    52
 * SUCH DAMAGE.
7f561c08de6b Initial load
duke
parents:
diff changeset
    53
 * ====================================================================
7f561c08de6b Initial load
duke
parents:
diff changeset
    54
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    55
 * This software consists of voluntary contributions made by many
7f561c08de6b Initial load
duke
parents:
diff changeset
    56
 * individuals on behalf of the Apache Software Foundation.  For more
7f561c08de6b Initial load
duke
parents:
diff changeset
    57
 * information on the Apache Software Foundation, please see
7f561c08de6b Initial load
duke
parents:
diff changeset
    58
 * <http://www.apache.org/>.
7f561c08de6b Initial load
duke
parents:
diff changeset
    59
 */
7f561c08de6b Initial load
duke
parents:
diff changeset
    60
7f561c08de6b Initial load
duke
parents:
diff changeset
    61
/**
7f561c08de6b Initial load
duke
parents:
diff changeset
    62
 * Constants for the project, mostly defined in the JVM specification.
7f561c08de6b Initial load
duke
parents:
diff changeset
    63
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    64
 * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
7f561c08de6b Initial load
duke
parents:
diff changeset
    65
 */
7f561c08de6b Initial load
duke
parents:
diff changeset
    66
public interface Constants {
7f561c08de6b Initial load
duke
parents:
diff changeset
    67
  /** Major and minor version of the code.
7f561c08de6b Initial load
duke
parents:
diff changeset
    68
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
    69
  public final static short MAJOR_1_1 = 45;
7f561c08de6b Initial load
duke
parents:
diff changeset
    70
  public final static short MINOR_1_1 = 3;
7f561c08de6b Initial load
duke
parents:
diff changeset
    71
  public final static short MAJOR_1_2 = 46;
7f561c08de6b Initial load
duke
parents:
diff changeset
    72
  public final static short MINOR_1_2 = 0;
7f561c08de6b Initial load
duke
parents:
diff changeset
    73
  public final static short MAJOR_1_3 = 47;
7f561c08de6b Initial load
duke
parents:
diff changeset
    74
  public final static short MINOR_1_3 = 0;
7f561c08de6b Initial load
duke
parents:
diff changeset
    75
  public final static short MAJOR     = MAJOR_1_1; // Defaults
7f561c08de6b Initial load
duke
parents:
diff changeset
    76
  public final static short MINOR     = MINOR_1_1;
7f561c08de6b Initial load
duke
parents:
diff changeset
    77
7f561c08de6b Initial load
duke
parents:
diff changeset
    78
  /** Maximum value for an unsigned short.
7f561c08de6b Initial load
duke
parents:
diff changeset
    79
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
    80
  public final static int MAX_SHORT = 65535; // 2^16 - 1
7f561c08de6b Initial load
duke
parents:
diff changeset
    81
7f561c08de6b Initial load
duke
parents:
diff changeset
    82
  /** Maximum value for an unsigned byte.
7f561c08de6b Initial load
duke
parents:
diff changeset
    83
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
    84
  public final static int MAX_BYTE  = 255; // 2^8 - 1
7f561c08de6b Initial load
duke
parents:
diff changeset
    85
7f561c08de6b Initial load
duke
parents:
diff changeset
    86
  /** Access flags for classes, fields and methods.
7f561c08de6b Initial load
duke
parents:
diff changeset
    87
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
    88
  public final static short ACC_PUBLIC       = 0x0001;
7f561c08de6b Initial load
duke
parents:
diff changeset
    89
  public final static short ACC_PRIVATE      = 0x0002;
7f561c08de6b Initial load
duke
parents:
diff changeset
    90
  public final static short ACC_PROTECTED    = 0x0004;
7f561c08de6b Initial load
duke
parents:
diff changeset
    91
  public final static short ACC_STATIC       = 0x0008;
7f561c08de6b Initial load
duke
parents:
diff changeset
    92
7f561c08de6b Initial load
duke
parents:
diff changeset
    93
  public final static short ACC_FINAL        = 0x0010;
7f561c08de6b Initial load
duke
parents:
diff changeset
    94
  public final static short ACC_SYNCHRONIZED = 0x0020;
7f561c08de6b Initial load
duke
parents:
diff changeset
    95
  public final static short ACC_VOLATILE     = 0x0040;
7f561c08de6b Initial load
duke
parents:
diff changeset
    96
  public final static short ACC_TRANSIENT    = 0x0080;
7f561c08de6b Initial load
duke
parents:
diff changeset
    97
7f561c08de6b Initial load
duke
parents:
diff changeset
    98
  public final static short ACC_NATIVE       = 0x0100;
7f561c08de6b Initial load
duke
parents:
diff changeset
    99
  public final static short ACC_INTERFACE    = 0x0200;
7f561c08de6b Initial load
duke
parents:
diff changeset
   100
  public final static short ACC_ABSTRACT     = 0x0400;
7f561c08de6b Initial load
duke
parents:
diff changeset
   101
  public final static short ACC_STRICT       = 0x0800;
7f561c08de6b Initial load
duke
parents:
diff changeset
   102
7f561c08de6b Initial load
duke
parents:
diff changeset
   103
  // Applies to classes compiled by new compilers only
7f561c08de6b Initial load
duke
parents:
diff changeset
   104
  public final static short ACC_SUPER        = 0x0020;
7f561c08de6b Initial load
duke
parents:
diff changeset
   105
7f561c08de6b Initial load
duke
parents:
diff changeset
   106
  public final static short MAX_ACC_FLAG     = ACC_STRICT;
7f561c08de6b Initial load
duke
parents:
diff changeset
   107
7f561c08de6b Initial load
duke
parents:
diff changeset
   108
  public final static String[] ACCESS_NAMES = {
7f561c08de6b Initial load
duke
parents:
diff changeset
   109
    "public", "private", "protected", "static", "final", "synchronized",
7f561c08de6b Initial load
duke
parents:
diff changeset
   110
    "volatile", "transient", "native", "interface", "abstract", "strictfp"
7f561c08de6b Initial load
duke
parents:
diff changeset
   111
  };
7f561c08de6b Initial load
duke
parents:
diff changeset
   112
7f561c08de6b Initial load
duke
parents:
diff changeset
   113
  /** Tags in constant pool to denote type of constant.
7f561c08de6b Initial load
duke
parents:
diff changeset
   114
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   115
  public final static byte CONSTANT_Utf8               = 1;
7f561c08de6b Initial load
duke
parents:
diff changeset
   116
  public final static byte CONSTANT_Integer            = 3;
7f561c08de6b Initial load
duke
parents:
diff changeset
   117
  public final static byte CONSTANT_Float              = 4;
7f561c08de6b Initial load
duke
parents:
diff changeset
   118
  public final static byte CONSTANT_Long               = 5;
7f561c08de6b Initial load
duke
parents:
diff changeset
   119
  public final static byte CONSTANT_Double             = 6;
7f561c08de6b Initial load
duke
parents:
diff changeset
   120
  public final static byte CONSTANT_Class              = 7;
7f561c08de6b Initial load
duke
parents:
diff changeset
   121
  public final static byte CONSTANT_Fieldref           = 9;
7f561c08de6b Initial load
duke
parents:
diff changeset
   122
  public final static byte CONSTANT_String             = 8;
7f561c08de6b Initial load
duke
parents:
diff changeset
   123
  public final static byte CONSTANT_Methodref          = 10;
7f561c08de6b Initial load
duke
parents:
diff changeset
   124
  public final static byte CONSTANT_InterfaceMethodref = 11;
7f561c08de6b Initial load
duke
parents:
diff changeset
   125
  public final static byte CONSTANT_NameAndType        = 12;
7f561c08de6b Initial load
duke
parents:
diff changeset
   126
7f561c08de6b Initial load
duke
parents:
diff changeset
   127
  public final static String[] CONSTANT_NAMES = {
7f561c08de6b Initial load
duke
parents:
diff changeset
   128
    "", "CONSTANT_Utf8", "", "CONSTANT_Integer",
7f561c08de6b Initial load
duke
parents:
diff changeset
   129
    "CONSTANT_Float", "CONSTANT_Long", "CONSTANT_Double",
7f561c08de6b Initial load
duke
parents:
diff changeset
   130
    "CONSTANT_Class", "CONSTANT_String", "CONSTANT_Fieldref",
7f561c08de6b Initial load
duke
parents:
diff changeset
   131
    "CONSTANT_Methodref", "CONSTANT_InterfaceMethodref",
7f561c08de6b Initial load
duke
parents:
diff changeset
   132
    "CONSTANT_NameAndType" };
7f561c08de6b Initial load
duke
parents:
diff changeset
   133
7f561c08de6b Initial load
duke
parents:
diff changeset
   134
  /** The name of the static initializer, also called &quot;class
7f561c08de6b Initial load
duke
parents:
diff changeset
   135
   *  initialization method&quot; or &quot;interface initialization
7f561c08de6b Initial load
duke
parents:
diff changeset
   136
   *   method&quot;. This is &quot;&lt;clinit&gt;&quot;.
7f561c08de6b Initial load
duke
parents:
diff changeset
   137
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   138
  public final static String STATIC_INITIALIZER_NAME = "<clinit>";
7f561c08de6b Initial load
duke
parents:
diff changeset
   139
7f561c08de6b Initial load
duke
parents:
diff changeset
   140
  /** The name of every constructor method in a class, also called
7f561c08de6b Initial load
duke
parents:
diff changeset
   141
   * &quot;instance initialization method&quot;. This is &quot;&lt;init&gt;&quot;.
7f561c08de6b Initial load
duke
parents:
diff changeset
   142
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   143
  public final static String CONSTRUCTOR_NAME = "<init>";
7f561c08de6b Initial load
duke
parents:
diff changeset
   144
7f561c08de6b Initial load
duke
parents:
diff changeset
   145
  /** The names of the interfaces implemented by arrays */
7f561c08de6b Initial load
duke
parents:
diff changeset
   146
  public final static String[] INTERFACES_IMPLEMENTED_BY_ARRAYS = {"java.lang.Cloneable", "java.io.Serializable"};
7f561c08de6b Initial load
duke
parents:
diff changeset
   147
7f561c08de6b Initial load
duke
parents:
diff changeset
   148
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   149
   * Limitations of the Java Virtual Machine.
7f561c08de6b Initial load
duke
parents:
diff changeset
   150
   * See The Java Virtual Machine Specification, Second Edition, page 152, chapter 4.10.
7f561c08de6b Initial load
duke
parents:
diff changeset
   151
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   152
  public static final int MAX_CP_ENTRIES     = 65535;
7f561c08de6b Initial load
duke
parents:
diff changeset
   153
  public static final int MAX_CODE_SIZE      = 65536; //bytes
7f561c08de6b Initial load
duke
parents:
diff changeset
   154
7f561c08de6b Initial load
duke
parents:
diff changeset
   155
  /** Java VM opcodes.
7f561c08de6b Initial load
duke
parents:
diff changeset
   156
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   157
  public static final short NOP              = 0;
7f561c08de6b Initial load
duke
parents:
diff changeset
   158
  public static final short ACONST_NULL      = 1;
7f561c08de6b Initial load
duke
parents:
diff changeset
   159
  public static final short ICONST_M1        = 2;
7f561c08de6b Initial load
duke
parents:
diff changeset
   160
  public static final short ICONST_0         = 3;
7f561c08de6b Initial load
duke
parents:
diff changeset
   161
  public static final short ICONST_1         = 4;
7f561c08de6b Initial load
duke
parents:
diff changeset
   162
  public static final short ICONST_2         = 5;
7f561c08de6b Initial load
duke
parents:
diff changeset
   163
  public static final short ICONST_3         = 6;
7f561c08de6b Initial load
duke
parents:
diff changeset
   164
  public static final short ICONST_4         = 7;
7f561c08de6b Initial load
duke
parents:
diff changeset
   165
  public static final short ICONST_5         = 8;
7f561c08de6b Initial load
duke
parents:
diff changeset
   166
  public static final short LCONST_0         = 9;
7f561c08de6b Initial load
duke
parents:
diff changeset
   167
  public static final short LCONST_1         = 10;
7f561c08de6b Initial load
duke
parents:
diff changeset
   168
  public static final short FCONST_0         = 11;
7f561c08de6b Initial load
duke
parents:
diff changeset
   169
  public static final short FCONST_1         = 12;
7f561c08de6b Initial load
duke
parents:
diff changeset
   170
  public static final short FCONST_2         = 13;
7f561c08de6b Initial load
duke
parents:
diff changeset
   171
  public static final short DCONST_0         = 14;
7f561c08de6b Initial load
duke
parents:
diff changeset
   172
  public static final short DCONST_1         = 15;
7f561c08de6b Initial load
duke
parents:
diff changeset
   173
  public static final short BIPUSH           = 16;
7f561c08de6b Initial load
duke
parents:
diff changeset
   174
  public static final short SIPUSH           = 17;
7f561c08de6b Initial load
duke
parents:
diff changeset
   175
  public static final short LDC              = 18;
7f561c08de6b Initial load
duke
parents:
diff changeset
   176
  public static final short LDC_W            = 19;
7f561c08de6b Initial load
duke
parents:
diff changeset
   177
  public static final short LDC2_W           = 20;
7f561c08de6b Initial load
duke
parents:
diff changeset
   178
  public static final short ILOAD            = 21;
7f561c08de6b Initial load
duke
parents:
diff changeset
   179
  public static final short LLOAD            = 22;
7f561c08de6b Initial load
duke
parents:
diff changeset
   180
  public static final short FLOAD            = 23;
7f561c08de6b Initial load
duke
parents:
diff changeset
   181
  public static final short DLOAD            = 24;
7f561c08de6b Initial load
duke
parents:
diff changeset
   182
  public static final short ALOAD            = 25;
7f561c08de6b Initial load
duke
parents:
diff changeset
   183
  public static final short ILOAD_0          = 26;
7f561c08de6b Initial load
duke
parents:
diff changeset
   184
  public static final short ILOAD_1          = 27;
7f561c08de6b Initial load
duke
parents:
diff changeset
   185
  public static final short ILOAD_2          = 28;
7f561c08de6b Initial load
duke
parents:
diff changeset
   186
  public static final short ILOAD_3          = 29;
7f561c08de6b Initial load
duke
parents:
diff changeset
   187
  public static final short LLOAD_0          = 30;
7f561c08de6b Initial load
duke
parents:
diff changeset
   188
  public static final short LLOAD_1          = 31;
7f561c08de6b Initial load
duke
parents:
diff changeset
   189
  public static final short LLOAD_2          = 32;
7f561c08de6b Initial load
duke
parents:
diff changeset
   190
  public static final short LLOAD_3          = 33;
7f561c08de6b Initial load
duke
parents:
diff changeset
   191
  public static final short FLOAD_0          = 34;
7f561c08de6b Initial load
duke
parents:
diff changeset
   192
  public static final short FLOAD_1          = 35;
7f561c08de6b Initial load
duke
parents:
diff changeset
   193
  public static final short FLOAD_2          = 36;
7f561c08de6b Initial load
duke
parents:
diff changeset
   194
  public static final short FLOAD_3          = 37;
7f561c08de6b Initial load
duke
parents:
diff changeset
   195
  public static final short DLOAD_0          = 38;
7f561c08de6b Initial load
duke
parents:
diff changeset
   196
  public static final short DLOAD_1          = 39;
7f561c08de6b Initial load
duke
parents:
diff changeset
   197
  public static final short DLOAD_2          = 40;
7f561c08de6b Initial load
duke
parents:
diff changeset
   198
  public static final short DLOAD_3          = 41;
7f561c08de6b Initial load
duke
parents:
diff changeset
   199
  public static final short ALOAD_0          = 42;
7f561c08de6b Initial load
duke
parents:
diff changeset
   200
  public static final short ALOAD_1          = 43;
7f561c08de6b Initial load
duke
parents:
diff changeset
   201
  public static final short ALOAD_2          = 44;
7f561c08de6b Initial load
duke
parents:
diff changeset
   202
  public static final short ALOAD_3          = 45;
7f561c08de6b Initial load
duke
parents:
diff changeset
   203
  public static final short IALOAD           = 46;
7f561c08de6b Initial load
duke
parents:
diff changeset
   204
  public static final short LALOAD           = 47;
7f561c08de6b Initial load
duke
parents:
diff changeset
   205
  public static final short FALOAD           = 48;
7f561c08de6b Initial load
duke
parents:
diff changeset
   206
  public static final short DALOAD           = 49;
7f561c08de6b Initial load
duke
parents:
diff changeset
   207
  public static final short AALOAD           = 50;
7f561c08de6b Initial load
duke
parents:
diff changeset
   208
  public static final short BALOAD           = 51;
7f561c08de6b Initial load
duke
parents:
diff changeset
   209
  public static final short CALOAD           = 52;
7f561c08de6b Initial load
duke
parents:
diff changeset
   210
  public static final short SALOAD           = 53;
7f561c08de6b Initial load
duke
parents:
diff changeset
   211
  public static final short ISTORE           = 54;
7f561c08de6b Initial load
duke
parents:
diff changeset
   212
  public static final short LSTORE           = 55;
7f561c08de6b Initial load
duke
parents:
diff changeset
   213
  public static final short FSTORE           = 56;
7f561c08de6b Initial load
duke
parents:
diff changeset
   214
  public static final short DSTORE           = 57;
7f561c08de6b Initial load
duke
parents:
diff changeset
   215
  public static final short ASTORE           = 58;
7f561c08de6b Initial load
duke
parents:
diff changeset
   216
  public static final short ISTORE_0         = 59;
7f561c08de6b Initial load
duke
parents:
diff changeset
   217
  public static final short ISTORE_1         = 60;
7f561c08de6b Initial load
duke
parents:
diff changeset
   218
  public static final short ISTORE_2         = 61;
7f561c08de6b Initial load
duke
parents:
diff changeset
   219
  public static final short ISTORE_3         = 62;
7f561c08de6b Initial load
duke
parents:
diff changeset
   220
  public static final short LSTORE_0         = 63;
7f561c08de6b Initial load
duke
parents:
diff changeset
   221
  public static final short LSTORE_1         = 64;
7f561c08de6b Initial load
duke
parents:
diff changeset
   222
  public static final short LSTORE_2         = 65;
7f561c08de6b Initial load
duke
parents:
diff changeset
   223
  public static final short LSTORE_3         = 66;
7f561c08de6b Initial load
duke
parents:
diff changeset
   224
  public static final short FSTORE_0         = 67;
7f561c08de6b Initial load
duke
parents:
diff changeset
   225
  public static final short FSTORE_1         = 68;
7f561c08de6b Initial load
duke
parents:
diff changeset
   226
  public static final short FSTORE_2         = 69;
7f561c08de6b Initial load
duke
parents:
diff changeset
   227
  public static final short FSTORE_3         = 70;
7f561c08de6b Initial load
duke
parents:
diff changeset
   228
  public static final short DSTORE_0         = 71;
7f561c08de6b Initial load
duke
parents:
diff changeset
   229
  public static final short DSTORE_1         = 72;
7f561c08de6b Initial load
duke
parents:
diff changeset
   230
  public static final short DSTORE_2         = 73;
7f561c08de6b Initial load
duke
parents:
diff changeset
   231
  public static final short DSTORE_3         = 74;
7f561c08de6b Initial load
duke
parents:
diff changeset
   232
  public static final short ASTORE_0         = 75;
7f561c08de6b Initial load
duke
parents:
diff changeset
   233
  public static final short ASTORE_1         = 76;
7f561c08de6b Initial load
duke
parents:
diff changeset
   234
  public static final short ASTORE_2         = 77;
7f561c08de6b Initial load
duke
parents:
diff changeset
   235
  public static final short ASTORE_3         = 78;
7f561c08de6b Initial load
duke
parents:
diff changeset
   236
  public static final short IASTORE          = 79;
7f561c08de6b Initial load
duke
parents:
diff changeset
   237
  public static final short LASTORE          = 80;
7f561c08de6b Initial load
duke
parents:
diff changeset
   238
  public static final short FASTORE          = 81;
7f561c08de6b Initial load
duke
parents:
diff changeset
   239
  public static final short DASTORE          = 82;
7f561c08de6b Initial load
duke
parents:
diff changeset
   240
  public static final short AASTORE          = 83;
7f561c08de6b Initial load
duke
parents:
diff changeset
   241
  public static final short BASTORE          = 84;
7f561c08de6b Initial load
duke
parents:
diff changeset
   242
  public static final short CASTORE          = 85;
7f561c08de6b Initial load
duke
parents:
diff changeset
   243
  public static final short SASTORE          = 86;
7f561c08de6b Initial load
duke
parents:
diff changeset
   244
  public static final short POP              = 87;
7f561c08de6b Initial load
duke
parents:
diff changeset
   245
  public static final short POP2             = 88;
7f561c08de6b Initial load
duke
parents:
diff changeset
   246
  public static final short DUP              = 89;
7f561c08de6b Initial load
duke
parents:
diff changeset
   247
  public static final short DUP_X1           = 90;
7f561c08de6b Initial load
duke
parents:
diff changeset
   248
  public static final short DUP_X2           = 91;
7f561c08de6b Initial load
duke
parents:
diff changeset
   249
  public static final short DUP2             = 92;
7f561c08de6b Initial load
duke
parents:
diff changeset
   250
  public static final short DUP2_X1          = 93;
7f561c08de6b Initial load
duke
parents:
diff changeset
   251
  public static final short DUP2_X2          = 94;
7f561c08de6b Initial load
duke
parents:
diff changeset
   252
  public static final short SWAP             = 95;
7f561c08de6b Initial load
duke
parents:
diff changeset
   253
  public static final short IADD             = 96;
7f561c08de6b Initial load
duke
parents:
diff changeset
   254
  public static final short LADD             = 97;
7f561c08de6b Initial load
duke
parents:
diff changeset
   255
  public static final short FADD             = 98;
7f561c08de6b Initial load
duke
parents:
diff changeset
   256
  public static final short DADD             = 99;
7f561c08de6b Initial load
duke
parents:
diff changeset
   257
  public static final short ISUB             = 100;
7f561c08de6b Initial load
duke
parents:
diff changeset
   258
  public static final short LSUB             = 101;
7f561c08de6b Initial load
duke
parents:
diff changeset
   259
  public static final short FSUB             = 102;
7f561c08de6b Initial load
duke
parents:
diff changeset
   260
  public static final short DSUB             = 103;
7f561c08de6b Initial load
duke
parents:
diff changeset
   261
  public static final short IMUL             = 104;
7f561c08de6b Initial load
duke
parents:
diff changeset
   262
  public static final short LMUL             = 105;
7f561c08de6b Initial load
duke
parents:
diff changeset
   263
  public static final short FMUL             = 106;
7f561c08de6b Initial load
duke
parents:
diff changeset
   264
  public static final short DMUL             = 107;
7f561c08de6b Initial load
duke
parents:
diff changeset
   265
  public static final short IDIV             = 108;
7f561c08de6b Initial load
duke
parents:
diff changeset
   266
  public static final short LDIV             = 109;
7f561c08de6b Initial load
duke
parents:
diff changeset
   267
  public static final short FDIV             = 110;
7f561c08de6b Initial load
duke
parents:
diff changeset
   268
  public static final short DDIV             = 111;
7f561c08de6b Initial load
duke
parents:
diff changeset
   269
  public static final short IREM             = 112;
7f561c08de6b Initial load
duke
parents:
diff changeset
   270
  public static final short LREM             = 113;
7f561c08de6b Initial load
duke
parents:
diff changeset
   271
  public static final short FREM             = 114;
7f561c08de6b Initial load
duke
parents:
diff changeset
   272
  public static final short DREM             = 115;
7f561c08de6b Initial load
duke
parents:
diff changeset
   273
  public static final short INEG             = 116;
7f561c08de6b Initial load
duke
parents:
diff changeset
   274
  public static final short LNEG             = 117;
7f561c08de6b Initial load
duke
parents:
diff changeset
   275
  public static final short FNEG             = 118;
7f561c08de6b Initial load
duke
parents:
diff changeset
   276
  public static final short DNEG             = 119;
7f561c08de6b Initial load
duke
parents:
diff changeset
   277
  public static final short ISHL             = 120;
7f561c08de6b Initial load
duke
parents:
diff changeset
   278
  public static final short LSHL             = 121;
7f561c08de6b Initial load
duke
parents:
diff changeset
   279
  public static final short ISHR             = 122;
7f561c08de6b Initial load
duke
parents:
diff changeset
   280
  public static final short LSHR             = 123;
7f561c08de6b Initial load
duke
parents:
diff changeset
   281
  public static final short IUSHR            = 124;
7f561c08de6b Initial load
duke
parents:
diff changeset
   282
  public static final short LUSHR            = 125;
7f561c08de6b Initial load
duke
parents:
diff changeset
   283
  public static final short IAND             = 126;
7f561c08de6b Initial load
duke
parents:
diff changeset
   284
  public static final short LAND             = 127;
7f561c08de6b Initial load
duke
parents:
diff changeset
   285
  public static final short IOR              = 128;
7f561c08de6b Initial load
duke
parents:
diff changeset
   286
  public static final short LOR              = 129;
7f561c08de6b Initial load
duke
parents:
diff changeset
   287
  public static final short IXOR             = 130;
7f561c08de6b Initial load
duke
parents:
diff changeset
   288
  public static final short LXOR             = 131;
7f561c08de6b Initial load
duke
parents:
diff changeset
   289
  public static final short IINC             = 132;
7f561c08de6b Initial load
duke
parents:
diff changeset
   290
  public static final short I2L              = 133;
7f561c08de6b Initial load
duke
parents:
diff changeset
   291
  public static final short I2F              = 134;
7f561c08de6b Initial load
duke
parents:
diff changeset
   292
  public static final short I2D              = 135;
7f561c08de6b Initial load
duke
parents:
diff changeset
   293
  public static final short L2I              = 136;
7f561c08de6b Initial load
duke
parents:
diff changeset
   294
  public static final short L2F              = 137;
7f561c08de6b Initial load
duke
parents:
diff changeset
   295
  public static final short L2D              = 138;
7f561c08de6b Initial load
duke
parents:
diff changeset
   296
  public static final short F2I              = 139;
7f561c08de6b Initial load
duke
parents:
diff changeset
   297
  public static final short F2L              = 140;
7f561c08de6b Initial load
duke
parents:
diff changeset
   298
  public static final short F2D              = 141;
7f561c08de6b Initial load
duke
parents:
diff changeset
   299
  public static final short D2I              = 142;
7f561c08de6b Initial load
duke
parents:
diff changeset
   300
  public static final short D2L              = 143;
7f561c08de6b Initial load
duke
parents:
diff changeset
   301
  public static final short D2F              = 144;
7f561c08de6b Initial load
duke
parents:
diff changeset
   302
  public static final short I2B              = 145;
7f561c08de6b Initial load
duke
parents:
diff changeset
   303
  public static final short INT2BYTE         = 145; // Old notion
7f561c08de6b Initial load
duke
parents:
diff changeset
   304
  public static final short I2C              = 146;
7f561c08de6b Initial load
duke
parents:
diff changeset
   305
  public static final short INT2CHAR         = 146; // Old notion
7f561c08de6b Initial load
duke
parents:
diff changeset
   306
  public static final short I2S              = 147;
7f561c08de6b Initial load
duke
parents:
diff changeset
   307
  public static final short INT2SHORT        = 147; // Old notion
7f561c08de6b Initial load
duke
parents:
diff changeset
   308
  public static final short LCMP             = 148;
7f561c08de6b Initial load
duke
parents:
diff changeset
   309
  public static final short FCMPL            = 149;
7f561c08de6b Initial load
duke
parents:
diff changeset
   310
  public static final short FCMPG            = 150;
7f561c08de6b Initial load
duke
parents:
diff changeset
   311
  public static final short DCMPL            = 151;
7f561c08de6b Initial load
duke
parents:
diff changeset
   312
  public static final short DCMPG            = 152;
7f561c08de6b Initial load
duke
parents:
diff changeset
   313
  public static final short IFEQ             = 153;
7f561c08de6b Initial load
duke
parents:
diff changeset
   314
  public static final short IFNE             = 154;
7f561c08de6b Initial load
duke
parents:
diff changeset
   315
  public static final short IFLT             = 155;
7f561c08de6b Initial load
duke
parents:
diff changeset
   316
  public static final short IFGE             = 156;
7f561c08de6b Initial load
duke
parents:
diff changeset
   317
  public static final short IFGT             = 157;
7f561c08de6b Initial load
duke
parents:
diff changeset
   318
  public static final short IFLE             = 158;
7f561c08de6b Initial load
duke
parents:
diff changeset
   319
  public static final short IF_ICMPEQ        = 159;
7f561c08de6b Initial load
duke
parents:
diff changeset
   320
  public static final short IF_ICMPNE        = 160;
7f561c08de6b Initial load
duke
parents:
diff changeset
   321
  public static final short IF_ICMPLT        = 161;
7f561c08de6b Initial load
duke
parents:
diff changeset
   322
  public static final short IF_ICMPGE        = 162;
7f561c08de6b Initial load
duke
parents:
diff changeset
   323
  public static final short IF_ICMPGT        = 163;
7f561c08de6b Initial load
duke
parents:
diff changeset
   324
  public static final short IF_ICMPLE        = 164;
7f561c08de6b Initial load
duke
parents:
diff changeset
   325
  public static final short IF_ACMPEQ        = 165;
7f561c08de6b Initial load
duke
parents:
diff changeset
   326
  public static final short IF_ACMPNE        = 166;
7f561c08de6b Initial load
duke
parents:
diff changeset
   327
  public static final short GOTO             = 167;
7f561c08de6b Initial load
duke
parents:
diff changeset
   328
  public static final short JSR              = 168;
7f561c08de6b Initial load
duke
parents:
diff changeset
   329
  public static final short RET              = 169;
7f561c08de6b Initial load
duke
parents:
diff changeset
   330
  public static final short TABLESWITCH      = 170;
7f561c08de6b Initial load
duke
parents:
diff changeset
   331
  public static final short LOOKUPSWITCH     = 171;
7f561c08de6b Initial load
duke
parents:
diff changeset
   332
  public static final short IRETURN          = 172;
7f561c08de6b Initial load
duke
parents:
diff changeset
   333
  public static final short LRETURN          = 173;
7f561c08de6b Initial load
duke
parents:
diff changeset
   334
  public static final short FRETURN          = 174;
7f561c08de6b Initial load
duke
parents:
diff changeset
   335
  public static final short DRETURN          = 175;
7f561c08de6b Initial load
duke
parents:
diff changeset
   336
  public static final short ARETURN          = 176;
7f561c08de6b Initial load
duke
parents:
diff changeset
   337
  public static final short RETURN           = 177;
7f561c08de6b Initial load
duke
parents:
diff changeset
   338
  public static final short GETSTATIC        = 178;
7f561c08de6b Initial load
duke
parents:
diff changeset
   339
  public static final short PUTSTATIC        = 179;
7f561c08de6b Initial load
duke
parents:
diff changeset
   340
  public static final short GETFIELD         = 180;
7f561c08de6b Initial load
duke
parents:
diff changeset
   341
  public static final short PUTFIELD         = 181;
7f561c08de6b Initial load
duke
parents:
diff changeset
   342
  public static final short INVOKEVIRTUAL    = 182;
7f561c08de6b Initial load
duke
parents:
diff changeset
   343
  public static final short INVOKESPECIAL    = 183;
7f561c08de6b Initial load
duke
parents:
diff changeset
   344
  public static final short INVOKENONVIRTUAL = 183; // Old name in JDK 1.0
7f561c08de6b Initial load
duke
parents:
diff changeset
   345
  public static final short INVOKESTATIC     = 184;
7f561c08de6b Initial load
duke
parents:
diff changeset
   346
  public static final short INVOKEINTERFACE  = 185;
7f561c08de6b Initial load
duke
parents:
diff changeset
   347
  public static final short NEW              = 187;
7f561c08de6b Initial load
duke
parents:
diff changeset
   348
  public static final short NEWARRAY         = 188;
7f561c08de6b Initial load
duke
parents:
diff changeset
   349
  public static final short ANEWARRAY        = 189;
7f561c08de6b Initial load
duke
parents:
diff changeset
   350
  public static final short ARRAYLENGTH      = 190;
7f561c08de6b Initial load
duke
parents:
diff changeset
   351
  public static final short ATHROW           = 191;
7f561c08de6b Initial load
duke
parents:
diff changeset
   352
  public static final short CHECKCAST        = 192;
7f561c08de6b Initial load
duke
parents:
diff changeset
   353
  public static final short INSTANCEOF       = 193;
7f561c08de6b Initial load
duke
parents:
diff changeset
   354
  public static final short MONITORENTER     = 194;
7f561c08de6b Initial load
duke
parents:
diff changeset
   355
  public static final short MONITOREXIT      = 195;
7f561c08de6b Initial load
duke
parents:
diff changeset
   356
  public static final short WIDE             = 196;
7f561c08de6b Initial load
duke
parents:
diff changeset
   357
  public static final short MULTIANEWARRAY   = 197;
7f561c08de6b Initial load
duke
parents:
diff changeset
   358
  public static final short IFNULL           = 198;
7f561c08de6b Initial load
duke
parents:
diff changeset
   359
  public static final short IFNONNULL        = 199;
7f561c08de6b Initial load
duke
parents:
diff changeset
   360
  public static final short GOTO_W           = 200;
7f561c08de6b Initial load
duke
parents:
diff changeset
   361
  public static final short JSR_W            = 201;
7f561c08de6b Initial load
duke
parents:
diff changeset
   362
7f561c08de6b Initial load
duke
parents:
diff changeset
   363
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   364
   * Non-legal opcodes, may be used by JVM internally.
7f561c08de6b Initial load
duke
parents:
diff changeset
   365
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   366
  public static final short BREAKPOINT                = 202;
7f561c08de6b Initial load
duke
parents:
diff changeset
   367
  public static final short LDC_QUICK                 = 203;
7f561c08de6b Initial load
duke
parents:
diff changeset
   368
  public static final short LDC_W_QUICK               = 204;
7f561c08de6b Initial load
duke
parents:
diff changeset
   369
  public static final short LDC2_W_QUICK              = 205;
7f561c08de6b Initial load
duke
parents:
diff changeset
   370
  public static final short GETFIELD_QUICK            = 206;
7f561c08de6b Initial load
duke
parents:
diff changeset
   371
  public static final short PUTFIELD_QUICK            = 207;
7f561c08de6b Initial load
duke
parents:
diff changeset
   372
  public static final short GETFIELD2_QUICK           = 208;
7f561c08de6b Initial load
duke
parents:
diff changeset
   373
  public static final short PUTFIELD2_QUICK           = 209;
7f561c08de6b Initial load
duke
parents:
diff changeset
   374
  public static final short GETSTATIC_QUICK           = 210;
7f561c08de6b Initial load
duke
parents:
diff changeset
   375
  public static final short PUTSTATIC_QUICK           = 211;
7f561c08de6b Initial load
duke
parents:
diff changeset
   376
  public static final short GETSTATIC2_QUICK          = 212;
7f561c08de6b Initial load
duke
parents:
diff changeset
   377
  public static final short PUTSTATIC2_QUICK          = 213;
7f561c08de6b Initial load
duke
parents:
diff changeset
   378
  public static final short INVOKEVIRTUAL_QUICK       = 214;
7f561c08de6b Initial load
duke
parents:
diff changeset
   379
  public static final short INVOKENONVIRTUAL_QUICK    = 215;
7f561c08de6b Initial load
duke
parents:
diff changeset
   380
  public static final short INVOKESUPER_QUICK         = 216;
7f561c08de6b Initial load
duke
parents:
diff changeset
   381
  public static final short INVOKESTATIC_QUICK        = 217;
7f561c08de6b Initial load
duke
parents:
diff changeset
   382
  public static final short INVOKEINTERFACE_QUICK     = 218;
7f561c08de6b Initial load
duke
parents:
diff changeset
   383
  public static final short INVOKEVIRTUALOBJECT_QUICK = 219;
7f561c08de6b Initial load
duke
parents:
diff changeset
   384
  public static final short NEW_QUICK                 = 221;
7f561c08de6b Initial load
duke
parents:
diff changeset
   385
  public static final short ANEWARRAY_QUICK           = 222;
7f561c08de6b Initial load
duke
parents:
diff changeset
   386
  public static final short MULTIANEWARRAY_QUICK      = 223;
7f561c08de6b Initial load
duke
parents:
diff changeset
   387
  public static final short CHECKCAST_QUICK           = 224;
7f561c08de6b Initial load
duke
parents:
diff changeset
   388
  public static final short INSTANCEOF_QUICK          = 225;
7f561c08de6b Initial load
duke
parents:
diff changeset
   389
  public static final short INVOKEVIRTUAL_QUICK_W     = 226;
7f561c08de6b Initial load
duke
parents:
diff changeset
   390
  public static final short GETFIELD_QUICK_W          = 227;
7f561c08de6b Initial load
duke
parents:
diff changeset
   391
  public static final short PUTFIELD_QUICK_W          = 228;
7f561c08de6b Initial load
duke
parents:
diff changeset
   392
  public static final short IMPDEP1                   = 254;
7f561c08de6b Initial load
duke
parents:
diff changeset
   393
  public static final short IMPDEP2                   = 255;
7f561c08de6b Initial load
duke
parents:
diff changeset
   394
7f561c08de6b Initial load
duke
parents:
diff changeset
   395
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   396
   * For internal purposes only.
7f561c08de6b Initial load
duke
parents:
diff changeset
   397
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   398
  public static final short PUSH             = 4711;
7f561c08de6b Initial load
duke
parents:
diff changeset
   399
  public static final short SWITCH           = 4712;
7f561c08de6b Initial load
duke
parents:
diff changeset
   400
7f561c08de6b Initial load
duke
parents:
diff changeset
   401
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   402
   * Illegal codes
7f561c08de6b Initial load
duke
parents:
diff changeset
   403
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   404
  public static final short  UNDEFINED      = -1;
7f561c08de6b Initial load
duke
parents:
diff changeset
   405
  public static final short  UNPREDICTABLE  = -2;
7f561c08de6b Initial load
duke
parents:
diff changeset
   406
  public static final short  RESERVED       = -3;
7f561c08de6b Initial load
duke
parents:
diff changeset
   407
  public static final String ILLEGAL_OPCODE = "<illegal opcode>";
7f561c08de6b Initial load
duke
parents:
diff changeset
   408
  public static final String ILLEGAL_TYPE   = "<illegal type>";
7f561c08de6b Initial load
duke
parents:
diff changeset
   409
7f561c08de6b Initial load
duke
parents:
diff changeset
   410
  public static final byte T_BOOLEAN = 4;
7f561c08de6b Initial load
duke
parents:
diff changeset
   411
  public static final byte T_CHAR    = 5;
7f561c08de6b Initial load
duke
parents:
diff changeset
   412
  public static final byte T_FLOAT   = 6;
7f561c08de6b Initial load
duke
parents:
diff changeset
   413
  public static final byte T_DOUBLE  = 7;
7f561c08de6b Initial load
duke
parents:
diff changeset
   414
  public static final byte T_BYTE    = 8;
7f561c08de6b Initial load
duke
parents:
diff changeset
   415
  public static final byte T_SHORT   = 9;
7f561c08de6b Initial load
duke
parents:
diff changeset
   416
  public static final byte T_INT     = 10;
7f561c08de6b Initial load
duke
parents:
diff changeset
   417
  public static final byte T_LONG    = 11;
7f561c08de6b Initial load
duke
parents:
diff changeset
   418
7f561c08de6b Initial load
duke
parents:
diff changeset
   419
  public static final byte T_VOID      = 12; // Non-standard
7f561c08de6b Initial load
duke
parents:
diff changeset
   420
  public static final byte T_ARRAY     = 13;
7f561c08de6b Initial load
duke
parents:
diff changeset
   421
  public static final byte T_OBJECT    = 14;
7f561c08de6b Initial load
duke
parents:
diff changeset
   422
  public static final byte T_REFERENCE = 14; // Deprecated
7f561c08de6b Initial load
duke
parents:
diff changeset
   423
  public static final byte T_UNKNOWN   = 15;
7f561c08de6b Initial load
duke
parents:
diff changeset
   424
  public static final byte T_ADDRESS   = 16;
7f561c08de6b Initial load
duke
parents:
diff changeset
   425
7f561c08de6b Initial load
duke
parents:
diff changeset
   426
  /** The primitive type names corresponding to the T_XX constants,
7f561c08de6b Initial load
duke
parents:
diff changeset
   427
   * e.g., TYPE_NAMES[T_INT] = "int"
7f561c08de6b Initial load
duke
parents:
diff changeset
   428
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   429
  public static final String[] TYPE_NAMES = {
7f561c08de6b Initial load
duke
parents:
diff changeset
   430
    ILLEGAL_TYPE, ILLEGAL_TYPE,  ILLEGAL_TYPE, ILLEGAL_TYPE,
7f561c08de6b Initial load
duke
parents:
diff changeset
   431
    "boolean", "char", "float", "double", "byte", "short", "int", "long",
7f561c08de6b Initial load
duke
parents:
diff changeset
   432
    "void", "array", "object", "unknown" // Non-standard
7f561c08de6b Initial load
duke
parents:
diff changeset
   433
  };
7f561c08de6b Initial load
duke
parents:
diff changeset
   434
7f561c08de6b Initial load
duke
parents:
diff changeset
   435
  /** The primitive class names corresponding to the T_XX constants,
7f561c08de6b Initial load
duke
parents:
diff changeset
   436
   * e.g., CLASS_TYPE_NAMES[T_INT] = "java.lang.Integer"
7f561c08de6b Initial load
duke
parents:
diff changeset
   437
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   438
  public static final String[] CLASS_TYPE_NAMES = {
7f561c08de6b Initial load
duke
parents:
diff changeset
   439
    ILLEGAL_TYPE, ILLEGAL_TYPE,  ILLEGAL_TYPE, ILLEGAL_TYPE,
7f561c08de6b Initial load
duke
parents:
diff changeset
   440
    "java.lang.Boolean", "java.lang.Character", "java.lang.Float",
7f561c08de6b Initial load
duke
parents:
diff changeset
   441
    "java.lang.Double", "java.lang.Byte", "java.lang.Short",
7f561c08de6b Initial load
duke
parents:
diff changeset
   442
    "java.lang.Integer", "java.lang.Long", "java.lang.Void",
7f561c08de6b Initial load
duke
parents:
diff changeset
   443
    ILLEGAL_TYPE, ILLEGAL_TYPE,  ILLEGAL_TYPE
7f561c08de6b Initial load
duke
parents:
diff changeset
   444
  };
7f561c08de6b Initial load
duke
parents:
diff changeset
   445
7f561c08de6b Initial load
duke
parents:
diff changeset
   446
  /** The signature characters corresponding to primitive types,
7f561c08de6b Initial load
duke
parents:
diff changeset
   447
   * e.g., SHORT_TYPE_NAMES[T_INT] = "I"
7f561c08de6b Initial load
duke
parents:
diff changeset
   448
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   449
  public static final String[] SHORT_TYPE_NAMES = {
7f561c08de6b Initial load
duke
parents:
diff changeset
   450
    ILLEGAL_TYPE, ILLEGAL_TYPE,  ILLEGAL_TYPE, ILLEGAL_TYPE,
7f561c08de6b Initial load
duke
parents:
diff changeset
   451
    "Z", "C", "F", "D", "B", "S", "I", "J",
7f561c08de6b Initial load
duke
parents:
diff changeset
   452
    "V", ILLEGAL_TYPE, ILLEGAL_TYPE, ILLEGAL_TYPE
7f561c08de6b Initial load
duke
parents:
diff changeset
   453
  };
7f561c08de6b Initial load
duke
parents:
diff changeset
   454
7f561c08de6b Initial load
duke
parents:
diff changeset
   455
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   456
   * Number of byte code operands, i.e., number of bytes after the tag byte
7f561c08de6b Initial load
duke
parents:
diff changeset
   457
   * itself.
7f561c08de6b Initial load
duke
parents:
diff changeset
   458
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   459
  public static final short[] NO_OF_OPERANDS = {
7f561c08de6b Initial load
duke
parents:
diff changeset
   460
    0/*nop*/, 0/*aconst_null*/, 0/*iconst_m1*/, 0/*iconst_0*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   461
    0/*iconst_1*/, 0/*iconst_2*/, 0/*iconst_3*/, 0/*iconst_4*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   462
    0/*iconst_5*/, 0/*lconst_0*/, 0/*lconst_1*/, 0/*fconst_0*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   463
    0/*fconst_1*/, 0/*fconst_2*/, 0/*dconst_0*/, 0/*dconst_1*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   464
    1/*bipush*/, 2/*sipush*/, 1/*ldc*/, 2/*ldc_w*/, 2/*ldc2_w*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   465
    1/*iload*/, 1/*lload*/, 1/*fload*/, 1/*dload*/, 1/*aload*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   466
    0/*iload_0*/, 0/*iload_1*/, 0/*iload_2*/, 0/*iload_3*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   467
    0/*lload_0*/, 0/*lload_1*/, 0/*lload_2*/, 0/*lload_3*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   468
    0/*fload_0*/, 0/*fload_1*/, 0/*fload_2*/, 0/*fload_3*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   469
    0/*dload_0*/, 0/*dload_1*/, 0/*dload_2*/, 0/*dload_3*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   470
    0/*aload_0*/, 0/*aload_1*/, 0/*aload_2*/, 0/*aload_3*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   471
    0/*iaload*/, 0/*laload*/, 0/*faload*/, 0/*daload*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   472
    0/*aaload*/, 0/*baload*/, 0/*caload*/, 0/*saload*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   473
    1/*istore*/, 1/*lstore*/, 1/*fstore*/, 1/*dstore*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   474
    1/*astore*/, 0/*istore_0*/, 0/*istore_1*/, 0/*istore_2*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   475
    0/*istore_3*/, 0/*lstore_0*/, 0/*lstore_1*/, 0/*lstore_2*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   476
    0/*lstore_3*/, 0/*fstore_0*/, 0/*fstore_1*/, 0/*fstore_2*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   477
    0/*fstore_3*/, 0/*dstore_0*/, 0/*dstore_1*/, 0/*dstore_2*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   478
    0/*dstore_3*/, 0/*astore_0*/, 0/*astore_1*/, 0/*astore_2*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   479
    0/*astore_3*/, 0/*iastore*/, 0/*lastore*/, 0/*fastore*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   480
    0/*dastore*/, 0/*aastore*/, 0/*bastore*/, 0/*castore*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   481
    0/*sastore*/, 0/*pop*/, 0/*pop2*/, 0/*dup*/, 0/*dup_x1*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   482
    0/*dup_x2*/, 0/*dup2*/, 0/*dup2_x1*/, 0/*dup2_x2*/, 0/*swap*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   483
    0/*iadd*/, 0/*ladd*/, 0/*fadd*/, 0/*dadd*/, 0/*isub*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   484
    0/*lsub*/, 0/*fsub*/, 0/*dsub*/, 0/*imul*/, 0/*lmul*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   485
    0/*fmul*/, 0/*dmul*/, 0/*idiv*/, 0/*ldiv*/, 0/*fdiv*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   486
    0/*ddiv*/, 0/*irem*/, 0/*lrem*/, 0/*frem*/, 0/*drem*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   487
    0/*ineg*/, 0/*lneg*/, 0/*fneg*/, 0/*dneg*/, 0/*ishl*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   488
    0/*lshl*/, 0/*ishr*/, 0/*lshr*/, 0/*iushr*/, 0/*lushr*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   489
    0/*iand*/, 0/*land*/, 0/*ior*/, 0/*lor*/, 0/*ixor*/, 0/*lxor*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   490
    2/*iinc*/, 0/*i2l*/, 0/*i2f*/, 0/*i2d*/, 0/*l2i*/, 0/*l2f*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   491
    0/*l2d*/, 0/*f2i*/, 0/*f2l*/, 0/*f2d*/, 0/*d2i*/, 0/*d2l*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   492
    0/*d2f*/, 0/*i2b*/, 0/*i2c*/, 0/*i2s*/, 0/*lcmp*/, 0/*fcmpl*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   493
    0/*fcmpg*/, 0/*dcmpl*/, 0/*dcmpg*/, 2/*ifeq*/, 2/*ifne*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   494
    2/*iflt*/, 2/*ifge*/, 2/*ifgt*/, 2/*ifle*/, 2/*if_icmpeq*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   495
    2/*if_icmpne*/, 2/*if_icmplt*/, 2/*if_icmpge*/, 2/*if_icmpgt*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   496
    2/*if_icmple*/, 2/*if_acmpeq*/, 2/*if_acmpne*/, 2/*goto*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   497
    2/*jsr*/, 1/*ret*/, UNPREDICTABLE/*tableswitch*/, UNPREDICTABLE/*lookupswitch*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   498
    0/*ireturn*/, 0/*lreturn*/, 0/*freturn*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   499
    0/*dreturn*/, 0/*areturn*/, 0/*return*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   500
    2/*getstatic*/, 2/*putstatic*/, 2/*getfield*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   501
    2/*putfield*/, 2/*invokevirtual*/, 2/*invokespecial*/, 2/*invokestatic*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   502
    4/*invokeinterface*/, UNDEFINED, 2/*new*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   503
    1/*newarray*/, 2/*anewarray*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   504
    0/*arraylength*/, 0/*athrow*/, 2/*checkcast*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   505
    2/*instanceof*/, 0/*monitorenter*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   506
    0/*monitorexit*/, UNPREDICTABLE/*wide*/, 3/*multianewarray*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   507
    2/*ifnull*/, 2/*ifnonnull*/, 4/*goto_w*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   508
    4/*jsr_w*/, 0/*breakpoint*/, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   509
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   510
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   511
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   512
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   513
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   514
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   515
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   516
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   517
    UNDEFINED, UNDEFINED, RESERVED/*impdep1*/, RESERVED/*impdep2*/
7f561c08de6b Initial load
duke
parents:
diff changeset
   518
  };
7f561c08de6b Initial load
duke
parents:
diff changeset
   519
7f561c08de6b Initial load
duke
parents:
diff changeset
   520
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   521
   * How the byte code operands are to be interpreted.
7f561c08de6b Initial load
duke
parents:
diff changeset
   522
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   523
  public static final short[][] TYPE_OF_OPERANDS = {
7f561c08de6b Initial load
duke
parents:
diff changeset
   524
    {}/*nop*/, {}/*aconst_null*/, {}/*iconst_m1*/, {}/*iconst_0*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   525
    {}/*iconst_1*/, {}/*iconst_2*/, {}/*iconst_3*/, {}/*iconst_4*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   526
    {}/*iconst_5*/, {}/*lconst_0*/, {}/*lconst_1*/, {}/*fconst_0*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   527
    {}/*fconst_1*/, {}/*fconst_2*/, {}/*dconst_0*/, {}/*dconst_1*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   528
    {T_BYTE}/*bipush*/, {T_SHORT}/*sipush*/, {T_BYTE}/*ldc*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   529
    {T_SHORT}/*ldc_w*/, {T_SHORT}/*ldc2_w*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   530
    {T_BYTE}/*iload*/, {T_BYTE}/*lload*/, {T_BYTE}/*fload*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   531
    {T_BYTE}/*dload*/, {T_BYTE}/*aload*/, {}/*iload_0*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   532
    {}/*iload_1*/, {}/*iload_2*/, {}/*iload_3*/, {}/*lload_0*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   533
    {}/*lload_1*/, {}/*lload_2*/, {}/*lload_3*/, {}/*fload_0*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   534
    {}/*fload_1*/, {}/*fload_2*/, {}/*fload_3*/, {}/*dload_0*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   535
    {}/*dload_1*/, {}/*dload_2*/, {}/*dload_3*/, {}/*aload_0*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   536
    {}/*aload_1*/, {}/*aload_2*/, {}/*aload_3*/, {}/*iaload*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   537
    {}/*laload*/, {}/*faload*/, {}/*daload*/, {}/*aaload*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   538
    {}/*baload*/, {}/*caload*/, {}/*saload*/, {T_BYTE}/*istore*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   539
    {T_BYTE}/*lstore*/, {T_BYTE}/*fstore*/, {T_BYTE}/*dstore*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   540
    {T_BYTE}/*astore*/, {}/*istore_0*/, {}/*istore_1*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   541
    {}/*istore_2*/, {}/*istore_3*/, {}/*lstore_0*/, {}/*lstore_1*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   542
    {}/*lstore_2*/, {}/*lstore_3*/, {}/*fstore_0*/, {}/*fstore_1*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   543
    {}/*fstore_2*/, {}/*fstore_3*/, {}/*dstore_0*/, {}/*dstore_1*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   544
    {}/*dstore_2*/, {}/*dstore_3*/, {}/*astore_0*/, {}/*astore_1*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   545
    {}/*astore_2*/, {}/*astore_3*/, {}/*iastore*/, {}/*lastore*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   546
    {}/*fastore*/, {}/*dastore*/, {}/*aastore*/, {}/*bastore*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   547
    {}/*castore*/, {}/*sastore*/, {}/*pop*/, {}/*pop2*/, {}/*dup*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   548
    {}/*dup_x1*/, {}/*dup_x2*/, {}/*dup2*/, {}/*dup2_x1*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   549
    {}/*dup2_x2*/, {}/*swap*/, {}/*iadd*/, {}/*ladd*/, {}/*fadd*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   550
    {}/*dadd*/, {}/*isub*/, {}/*lsub*/, {}/*fsub*/, {}/*dsub*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   551
    {}/*imul*/, {}/*lmul*/, {}/*fmul*/, {}/*dmul*/, {}/*idiv*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   552
    {}/*ldiv*/, {}/*fdiv*/, {}/*ddiv*/, {}/*irem*/, {}/*lrem*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   553
    {}/*frem*/, {}/*drem*/, {}/*ineg*/, {}/*lneg*/, {}/*fneg*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   554
    {}/*dneg*/, {}/*ishl*/, {}/*lshl*/, {}/*ishr*/, {}/*lshr*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   555
    {}/*iushr*/, {}/*lushr*/, {}/*iand*/, {}/*land*/, {}/*ior*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   556
    {}/*lor*/, {}/*ixor*/, {}/*lxor*/, {T_BYTE, T_BYTE}/*iinc*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   557
    {}/*i2l*/, {}/*i2f*/, {}/*i2d*/, {}/*l2i*/, {}/*l2f*/, {}/*l2d*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   558
    {}/*f2i*/, {}/*f2l*/, {}/*f2d*/, {}/*d2i*/, {}/*d2l*/, {}/*d2f*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   559
    {}/*i2b*/, {}/*i2c*/,{}/*i2s*/, {}/*lcmp*/, {}/*fcmpl*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   560
    {}/*fcmpg*/, {}/*dcmpl*/, {}/*dcmpg*/, {T_SHORT}/*ifeq*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   561
    {T_SHORT}/*ifne*/, {T_SHORT}/*iflt*/, {T_SHORT}/*ifge*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   562
    {T_SHORT}/*ifgt*/, {T_SHORT}/*ifle*/, {T_SHORT}/*if_icmpeq*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   563
    {T_SHORT}/*if_icmpne*/, {T_SHORT}/*if_icmplt*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   564
    {T_SHORT}/*if_icmpge*/, {T_SHORT}/*if_icmpgt*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   565
    {T_SHORT}/*if_icmple*/, {T_SHORT}/*if_acmpeq*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   566
    {T_SHORT}/*if_acmpne*/, {T_SHORT}/*goto*/, {T_SHORT}/*jsr*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   567
    {T_BYTE}/*ret*/, {}/*tableswitch*/, {}/*lookupswitch*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   568
    {}/*ireturn*/, {}/*lreturn*/, {}/*freturn*/, {}/*dreturn*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   569
    {}/*areturn*/, {}/*return*/, {T_SHORT}/*getstatic*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   570
    {T_SHORT}/*putstatic*/, {T_SHORT}/*getfield*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   571
    {T_SHORT}/*putfield*/, {T_SHORT}/*invokevirtual*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   572
    {T_SHORT}/*invokespecial*/, {T_SHORT}/*invokestatic*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   573
    {T_SHORT, T_BYTE, T_BYTE}/*invokeinterface*/, {},
7f561c08de6b Initial load
duke
parents:
diff changeset
   574
    {T_SHORT}/*new*/, {T_BYTE}/*newarray*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   575
    {T_SHORT}/*anewarray*/, {}/*arraylength*/, {}/*athrow*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   576
    {T_SHORT}/*checkcast*/, {T_SHORT}/*instanceof*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   577
    {}/*monitorenter*/, {}/*monitorexit*/, {T_BYTE}/*wide*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   578
    {T_SHORT, T_BYTE}/*multianewarray*/, {T_SHORT}/*ifnull*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   579
    {T_SHORT}/*ifnonnull*/, {T_INT}/*goto_w*/, {T_INT}/*jsr_w*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   580
    {}/*breakpoint*/, {}, {}, {}, {}, {}, {}, {},
7f561c08de6b Initial load
duke
parents:
diff changeset
   581
    {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},
7f561c08de6b Initial load
duke
parents:
diff changeset
   582
    {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},
7f561c08de6b Initial load
duke
parents:
diff changeset
   583
    {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {},
7f561c08de6b Initial load
duke
parents:
diff changeset
   584
    {}/*impdep1*/, {}/*impdep2*/
7f561c08de6b Initial load
duke
parents:
diff changeset
   585
  };
7f561c08de6b Initial load
duke
parents:
diff changeset
   586
7f561c08de6b Initial load
duke
parents:
diff changeset
   587
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   588
   * Names of opcodes.
7f561c08de6b Initial load
duke
parents:
diff changeset
   589
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   590
  public static final String[] OPCODE_NAMES = {
7f561c08de6b Initial load
duke
parents:
diff changeset
   591
    "nop", "aconst_null", "iconst_m1", "iconst_0", "iconst_1",
7f561c08de6b Initial load
duke
parents:
diff changeset
   592
    "iconst_2", "iconst_3", "iconst_4", "iconst_5", "lconst_0",
7f561c08de6b Initial load
duke
parents:
diff changeset
   593
    "lconst_1", "fconst_0", "fconst_1", "fconst_2", "dconst_0",
7f561c08de6b Initial load
duke
parents:
diff changeset
   594
    "dconst_1", "bipush", "sipush", "ldc", "ldc_w", "ldc2_w", "iload",
7f561c08de6b Initial load
duke
parents:
diff changeset
   595
    "lload", "fload", "dload", "aload", "iload_0", "iload_1", "iload_2",
7f561c08de6b Initial load
duke
parents:
diff changeset
   596
    "iload_3", "lload_0", "lload_1", "lload_2", "lload_3", "fload_0",
7f561c08de6b Initial load
duke
parents:
diff changeset
   597
    "fload_1", "fload_2", "fload_3", "dload_0", "dload_1", "dload_2",
7f561c08de6b Initial load
duke
parents:
diff changeset
   598
    "dload_3", "aload_0", "aload_1", "aload_2", "aload_3", "iaload",
7f561c08de6b Initial load
duke
parents:
diff changeset
   599
    "laload", "faload", "daload", "aaload", "baload", "caload", "saload",
7f561c08de6b Initial load
duke
parents:
diff changeset
   600
    "istore", "lstore", "fstore", "dstore", "astore", "istore_0",
7f561c08de6b Initial load
duke
parents:
diff changeset
   601
    "istore_1", "istore_2", "istore_3", "lstore_0", "lstore_1",
7f561c08de6b Initial load
duke
parents:
diff changeset
   602
    "lstore_2", "lstore_3", "fstore_0", "fstore_1", "fstore_2",
7f561c08de6b Initial load
duke
parents:
diff changeset
   603
    "fstore_3", "dstore_0", "dstore_1", "dstore_2", "dstore_3",
7f561c08de6b Initial load
duke
parents:
diff changeset
   604
    "astore_0", "astore_1", "astore_2", "astore_3", "iastore", "lastore",
7f561c08de6b Initial load
duke
parents:
diff changeset
   605
    "fastore", "dastore", "aastore", "bastore", "castore", "sastore",
7f561c08de6b Initial load
duke
parents:
diff changeset
   606
    "pop", "pop2", "dup", "dup_x1", "dup_x2", "dup2", "dup2_x1",
7f561c08de6b Initial load
duke
parents:
diff changeset
   607
    "dup2_x2", "swap", "iadd", "ladd", "fadd", "dadd", "isub", "lsub",
7f561c08de6b Initial load
duke
parents:
diff changeset
   608
    "fsub", "dsub", "imul", "lmul", "fmul", "dmul", "idiv", "ldiv",
7f561c08de6b Initial load
duke
parents:
diff changeset
   609
    "fdiv", "ddiv", "irem", "lrem", "frem", "drem", "ineg", "lneg",
7f561c08de6b Initial load
duke
parents:
diff changeset
   610
    "fneg", "dneg", "ishl", "lshl", "ishr", "lshr", "iushr", "lushr",
7f561c08de6b Initial load
duke
parents:
diff changeset
   611
    "iand", "land", "ior", "lor", "ixor", "lxor", "iinc", "i2l", "i2f",
7f561c08de6b Initial load
duke
parents:
diff changeset
   612
    "i2d", "l2i", "l2f", "l2d", "f2i", "f2l", "f2d", "d2i", "d2l", "d2f",
7f561c08de6b Initial load
duke
parents:
diff changeset
   613
    "i2b", "i2c", "i2s", "lcmp", "fcmpl", "fcmpg",
7f561c08de6b Initial load
duke
parents:
diff changeset
   614
    "dcmpl", "dcmpg", "ifeq", "ifne", "iflt", "ifge", "ifgt", "ifle",
7f561c08de6b Initial load
duke
parents:
diff changeset
   615
    "if_icmpeq", "if_icmpne", "if_icmplt", "if_icmpge", "if_icmpgt",
7f561c08de6b Initial load
duke
parents:
diff changeset
   616
    "if_icmple", "if_acmpeq", "if_acmpne", "goto", "jsr", "ret",
7f561c08de6b Initial load
duke
parents:
diff changeset
   617
    "tableswitch", "lookupswitch", "ireturn", "lreturn", "freturn",
7f561c08de6b Initial load
duke
parents:
diff changeset
   618
    "dreturn", "areturn", "return", "getstatic", "putstatic", "getfield",
7f561c08de6b Initial load
duke
parents:
diff changeset
   619
    "putfield", "invokevirtual", "invokespecial", "invokestatic",
7f561c08de6b Initial load
duke
parents:
diff changeset
   620
    "invokeinterface", ILLEGAL_OPCODE, "new", "newarray", "anewarray",
7f561c08de6b Initial load
duke
parents:
diff changeset
   621
    "arraylength", "athrow", "checkcast", "instanceof", "monitorenter",
7f561c08de6b Initial load
duke
parents:
diff changeset
   622
    "monitorexit", "wide", "multianewarray", "ifnull", "ifnonnull",
7f561c08de6b Initial load
duke
parents:
diff changeset
   623
    "goto_w", "jsr_w", "breakpoint", ILLEGAL_OPCODE, ILLEGAL_OPCODE,
7f561c08de6b Initial load
duke
parents:
diff changeset
   624
    ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE,
7f561c08de6b Initial load
duke
parents:
diff changeset
   625
    ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE,
7f561c08de6b Initial load
duke
parents:
diff changeset
   626
    ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE,
7f561c08de6b Initial load
duke
parents:
diff changeset
   627
    ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE,
7f561c08de6b Initial load
duke
parents:
diff changeset
   628
    ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE,
7f561c08de6b Initial load
duke
parents:
diff changeset
   629
    ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE,
7f561c08de6b Initial load
duke
parents:
diff changeset
   630
    ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE,
7f561c08de6b Initial load
duke
parents:
diff changeset
   631
    ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE,
7f561c08de6b Initial load
duke
parents:
diff changeset
   632
    ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE,
7f561c08de6b Initial load
duke
parents:
diff changeset
   633
    ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE,
7f561c08de6b Initial load
duke
parents:
diff changeset
   634
    ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE,
7f561c08de6b Initial load
duke
parents:
diff changeset
   635
    ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE,
7f561c08de6b Initial load
duke
parents:
diff changeset
   636
    ILLEGAL_OPCODE, "impdep1", "impdep2"
7f561c08de6b Initial load
duke
parents:
diff changeset
   637
  };
7f561c08de6b Initial load
duke
parents:
diff changeset
   638
7f561c08de6b Initial load
duke
parents:
diff changeset
   639
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   640
   * Number of words consumed on operand stack by instructions.
7f561c08de6b Initial load
duke
parents:
diff changeset
   641
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   642
  public static final int[] CONSUME_STACK = {
7f561c08de6b Initial load
duke
parents:
diff changeset
   643
    0/*nop*/, 0/*aconst_null*/, 0/*iconst_m1*/, 0/*iconst_0*/, 0/*iconst_1*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   644
    0/*iconst_2*/, 0/*iconst_3*/, 0/*iconst_4*/, 0/*iconst_5*/, 0/*lconst_0*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   645
    0/*lconst_1*/, 0/*fconst_0*/, 0/*fconst_1*/, 0/*fconst_2*/, 0/*dconst_0*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   646
    0/*dconst_1*/, 0/*bipush*/, 0/*sipush*/, 0/*ldc*/, 0/*ldc_w*/, 0/*ldc2_w*/, 0/*iload*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   647
    0/*lload*/, 0/*fload*/, 0/*dload*/, 0/*aload*/, 0/*iload_0*/, 0/*iload_1*/, 0/*iload_2*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   648
    0/*iload_3*/, 0/*lload_0*/, 0/*lload_1*/, 0/*lload_2*/, 0/*lload_3*/, 0/*fload_0*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   649
    0/*fload_1*/, 0/*fload_2*/, 0/*fload_3*/, 0/*dload_0*/, 0/*dload_1*/, 0/*dload_2*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   650
    0/*dload_3*/, 0/*aload_0*/, 0/*aload_1*/, 0/*aload_2*/, 0/*aload_3*/, 2/*iaload*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   651
    2/*laload*/, 2/*faload*/, 2/*daload*/, 2/*aaload*/, 2/*baload*/, 2/*caload*/, 2/*saload*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   652
    1/*istore*/, 2/*lstore*/, 1/*fstore*/, 2/*dstore*/, 1/*astore*/, 1/*istore_0*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   653
    1/*istore_1*/, 1/*istore_2*/, 1/*istore_3*/, 2/*lstore_0*/, 2/*lstore_1*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   654
    2/*lstore_2*/, 2/*lstore_3*/, 1/*fstore_0*/, 1/*fstore_1*/, 1/*fstore_2*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   655
    1/*fstore_3*/, 2/*dstore_0*/, 2/*dstore_1*/, 2/*dstore_2*/, 2/*dstore_3*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   656
    1/*astore_0*/, 1/*astore_1*/, 1/*astore_2*/, 1/*astore_3*/, 3/*iastore*/, 4/*lastore*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   657
    3/*fastore*/, 4/*dastore*/, 3/*aastore*/, 3/*bastore*/, 3/*castore*/, 3/*sastore*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   658
    1/*pop*/, 2/*pop2*/, 1/*dup*/, 2/*dup_x1*/, 3/*dup_x2*/, 2/*dup2*/, 3/*dup2_x1*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   659
    4/*dup2_x2*/, 2/*swap*/, 2/*iadd*/, 4/*ladd*/, 2/*fadd*/, 4/*dadd*/, 2/*isub*/, 4/*lsub*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   660
    2/*fsub*/, 4/*dsub*/, 2/*imul*/, 4/*lmul*/, 2/*fmul*/, 4/*dmul*/, 2/*idiv*/, 4/*ldiv*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   661
    2/*fdiv*/, 4/*ddiv*/, 2/*irem*/, 4/*lrem*/, 2/*frem*/, 4/*drem*/, 1/*ineg*/, 2/*lneg*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   662
    1/*fneg*/, 2/*dneg*/, 2/*ishl*/, 3/*lshl*/, 2/*ishr*/, 3/*lshr*/, 2/*iushr*/, 3/*lushr*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   663
    2/*iand*/, 4/*land*/, 2/*ior*/, 4/*lor*/, 2/*ixor*/, 4/*lxor*/, 0/*iinc*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   664
    1/*i2l*/, 1/*i2f*/, 1/*i2d*/, 2/*l2i*/, 2/*l2f*/, 2/*l2d*/, 1/*f2i*/, 1/*f2l*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   665
    1/*f2d*/, 2/*d2i*/, 2/*d2l*/, 2/*d2f*/, 1/*i2b*/, 1/*i2c*/, 1/*i2s*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   666
    4/*lcmp*/, 2/*fcmpl*/, 2/*fcmpg*/, 4/*dcmpl*/, 4/*dcmpg*/, 1/*ifeq*/, 1/*ifne*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   667
    1/*iflt*/, 1/*ifge*/, 1/*ifgt*/, 1/*ifle*/, 2/*if_icmpeq*/, 2/*if_icmpne*/, 2/*if_icmplt*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   668
    2 /*if_icmpge*/, 2/*if_icmpgt*/, 2/*if_icmple*/, 2/*if_acmpeq*/, 2/*if_acmpne*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   669
    0/*goto*/, 0/*jsr*/, 0/*ret*/, 1/*tableswitch*/, 1/*lookupswitch*/, 1/*ireturn*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   670
    2/*lreturn*/, 1/*freturn*/, 2/*dreturn*/, 1/*areturn*/, 0/*return*/, 0/*getstatic*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   671
    UNPREDICTABLE/*putstatic*/, 1/*getfield*/, UNPREDICTABLE/*putfield*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   672
    UNPREDICTABLE/*invokevirtual*/, UNPREDICTABLE/*invokespecial*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   673
    UNPREDICTABLE/*invokestatic*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   674
    UNPREDICTABLE/*invokeinterface*/, UNDEFINED, 0/*new*/, 1/*newarray*/, 1/*anewarray*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   675
    1/*arraylength*/, 1/*athrow*/, 1/*checkcast*/, 1/*instanceof*/, 1/*monitorenter*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   676
    1/*monitorexit*/, 0/*wide*/, UNPREDICTABLE/*multianewarray*/, 1/*ifnull*/, 1/*ifnonnull*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   677
    0/*goto_w*/, 0/*jsr_w*/, 0/*breakpoint*/, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   678
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   679
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   680
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   681
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   682
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   683
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   684
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   685
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   686
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   687
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   688
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   689
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   690
    UNDEFINED, UNPREDICTABLE/*impdep1*/, UNPREDICTABLE/*impdep2*/
7f561c08de6b Initial load
duke
parents:
diff changeset
   691
  };
7f561c08de6b Initial load
duke
parents:
diff changeset
   692
7f561c08de6b Initial load
duke
parents:
diff changeset
   693
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   694
   * Number of words produced onto operand stack by instructions.
7f561c08de6b Initial load
duke
parents:
diff changeset
   695
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   696
  public static final int[] PRODUCE_STACK = {
7f561c08de6b Initial load
duke
parents:
diff changeset
   697
    0/*nop*/, 1/*aconst_null*/, 1/*iconst_m1*/, 1/*iconst_0*/, 1/*iconst_1*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   698
    1/*iconst_2*/, 1/*iconst_3*/, 1/*iconst_4*/, 1/*iconst_5*/, 2/*lconst_0*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   699
    2/*lconst_1*/, 1/*fconst_0*/, 1/*fconst_1*/, 1/*fconst_2*/, 2/*dconst_0*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   700
    2/*dconst_1*/, 1/*bipush*/, 1/*sipush*/, 1/*ldc*/, 1/*ldc_w*/, 2/*ldc2_w*/, 1/*iload*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   701
    2/*lload*/, 1/*fload*/, 2/*dload*/, 1/*aload*/, 1/*iload_0*/, 1/*iload_1*/, 1/*iload_2*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   702
    1/*iload_3*/, 2/*lload_0*/, 2/*lload_1*/, 2/*lload_2*/, 2/*lload_3*/, 1/*fload_0*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   703
    1/*fload_1*/, 1/*fload_2*/, 1/*fload_3*/, 2/*dload_0*/, 2/*dload_1*/, 2/*dload_2*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   704
    2/*dload_3*/, 1/*aload_0*/, 1/*aload_1*/, 1/*aload_2*/, 1/*aload_3*/, 1/*iaload*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   705
    2/*laload*/, 1/*faload*/, 2/*daload*/, 1/*aaload*/, 1/*baload*/, 1/*caload*/, 1/*saload*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   706
    0/*istore*/, 0/*lstore*/, 0/*fstore*/, 0/*dstore*/, 0/*astore*/, 0/*istore_0*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   707
    0/*istore_1*/, 0/*istore_2*/, 0/*istore_3*/, 0/*lstore_0*/, 0/*lstore_1*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   708
    0/*lstore_2*/, 0/*lstore_3*/, 0/*fstore_0*/, 0/*fstore_1*/, 0/*fstore_2*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   709
    0/*fstore_3*/, 0/*dstore_0*/, 0/*dstore_1*/, 0/*dstore_2*/, 0/*dstore_3*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   710
    0/*astore_0*/, 0/*astore_1*/, 0/*astore_2*/, 0/*astore_3*/, 0/*iastore*/, 0/*lastore*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   711
    0/*fastore*/, 0/*dastore*/, 0/*aastore*/, 0/*bastore*/, 0/*castore*/, 0/*sastore*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   712
    0/*pop*/, 0/*pop2*/, 2/*dup*/, 3/*dup_x1*/, 4/*dup_x2*/, 4/*dup2*/, 5/*dup2_x1*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   713
    6/*dup2_x2*/, 2/*swap*/, 1/*iadd*/, 2/*ladd*/, 1/*fadd*/, 2/*dadd*/, 1/*isub*/, 2/*lsub*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   714
    1/*fsub*/, 2/*dsub*/, 1/*imul*/, 2/*lmul*/, 1/*fmul*/, 2/*dmul*/, 1/*idiv*/, 2/*ldiv*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   715
    1/*fdiv*/, 2/*ddiv*/, 1/*irem*/, 2/*lrem*/, 1/*frem*/, 2/*drem*/, 1/*ineg*/, 2/*lneg*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   716
    1/*fneg*/, 2/*dneg*/, 1/*ishl*/, 2/*lshl*/, 1/*ishr*/, 2/*lshr*/, 1/*iushr*/, 2/*lushr*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   717
    1/*iand*/, 2/*land*/, 1/*ior*/, 2/*lor*/, 1/*ixor*/, 2/*lxor*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   718
    0/*iinc*/, 2/*i2l*/, 1/*i2f*/, 2/*i2d*/, 1/*l2i*/, 1/*l2f*/, 2/*l2d*/, 1/*f2i*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   719
    2/*f2l*/, 2/*f2d*/, 1/*d2i*/, 2/*d2l*/, 1/*d2f*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   720
    1/*i2b*/, 1/*i2c*/, 1/*i2s*/, 1/*lcmp*/, 1/*fcmpl*/, 1/*fcmpg*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   721
    1/*dcmpl*/, 1/*dcmpg*/, 0/*ifeq*/, 0/*ifne*/, 0/*iflt*/, 0/*ifge*/, 0/*ifgt*/, 0/*ifle*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   722
    0/*if_icmpeq*/, 0/*if_icmpne*/, 0/*if_icmplt*/, 0/*if_icmpge*/, 0/*if_icmpgt*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   723
    0/*if_icmple*/, 0/*if_acmpeq*/, 0/*if_acmpne*/, 0/*goto*/, 1/*jsr*/, 0/*ret*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   724
    0/*tableswitch*/, 0/*lookupswitch*/, 0/*ireturn*/, 0/*lreturn*/, 0/*freturn*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   725
    0/*dreturn*/, 0/*areturn*/, 0/*return*/, UNPREDICTABLE/*getstatic*/, 0/*putstatic*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   726
    UNPREDICTABLE/*getfield*/, 0/*putfield*/, UNPREDICTABLE/*invokevirtual*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   727
    UNPREDICTABLE/*invokespecial*/, UNPREDICTABLE/*invokestatic*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   728
    UNPREDICTABLE/*invokeinterface*/, UNDEFINED, 1/*new*/, 1/*newarray*/, 1/*anewarray*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   729
    1/*arraylength*/, 1/*athrow*/, 1/*checkcast*/, 1/*instanceof*/, 0/*monitorenter*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   730
    0/*monitorexit*/, 0/*wide*/, 1/*multianewarray*/, 0/*ifnull*/, 0/*ifnonnull*/,
7f561c08de6b Initial load
duke
parents:
diff changeset
   731
    0/*goto_w*/, 1/*jsr_w*/, 0/*breakpoint*/, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   732
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   733
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   734
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   735
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   736
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   737
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   738
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   739
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   740
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   741
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   742
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   743
    UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED,
7f561c08de6b Initial load
duke
parents:
diff changeset
   744
    UNDEFINED, UNPREDICTABLE/*impdep1*/, UNPREDICTABLE/*impdep2*/
7f561c08de6b Initial load
duke
parents:
diff changeset
   745
  };
7f561c08de6b Initial load
duke
parents:
diff changeset
   746
7f561c08de6b Initial load
duke
parents:
diff changeset
   747
  /** Attributes and their corresponding names.
7f561c08de6b Initial load
duke
parents:
diff changeset
   748
   */
15346
3f6fd93fec9a 8003147: port fix for BCEL bug 39695
dbuck
parents: 12457
diff changeset
   749
  public static final byte ATTR_UNKNOWN                                 = -1;
3f6fd93fec9a 8003147: port fix for BCEL bug 39695
dbuck
parents: 12457
diff changeset
   750
  public static final byte ATTR_SOURCE_FILE                             = 0;
3f6fd93fec9a 8003147: port fix for BCEL bug 39695
dbuck
parents: 12457
diff changeset
   751
  public static final byte ATTR_CONSTANT_VALUE                          = 1;
3f6fd93fec9a 8003147: port fix for BCEL bug 39695
dbuck
parents: 12457
diff changeset
   752
  public static final byte ATTR_CODE                                    = 2;
3f6fd93fec9a 8003147: port fix for BCEL bug 39695
dbuck
parents: 12457
diff changeset
   753
  public static final byte ATTR_EXCEPTIONS                              = 3;
3f6fd93fec9a 8003147: port fix for BCEL bug 39695
dbuck
parents: 12457
diff changeset
   754
  public static final byte ATTR_LINE_NUMBER_TABLE                       = 4;
3f6fd93fec9a 8003147: port fix for BCEL bug 39695
dbuck
parents: 12457
diff changeset
   755
  public static final byte ATTR_LOCAL_VARIABLE_TABLE                    = 5;
3f6fd93fec9a 8003147: port fix for BCEL bug 39695
dbuck
parents: 12457
diff changeset
   756
  public static final byte ATTR_INNER_CLASSES                           = 6;
3f6fd93fec9a 8003147: port fix for BCEL bug 39695
dbuck
parents: 12457
diff changeset
   757
  public static final byte ATTR_SYNTHETIC                               = 7;
3f6fd93fec9a 8003147: port fix for BCEL bug 39695
dbuck
parents: 12457
diff changeset
   758
  public static final byte ATTR_DEPRECATED                              = 8;
3f6fd93fec9a 8003147: port fix for BCEL bug 39695
dbuck
parents: 12457
diff changeset
   759
  public static final byte ATTR_PMG                                     = 9;
3f6fd93fec9a 8003147: port fix for BCEL bug 39695
dbuck
parents: 12457
diff changeset
   760
  public static final byte ATTR_SIGNATURE                               = 10;
3f6fd93fec9a 8003147: port fix for BCEL bug 39695
dbuck
parents: 12457
diff changeset
   761
  public static final byte ATTR_STACK_MAP                               = 11;
3f6fd93fec9a 8003147: port fix for BCEL bug 39695
dbuck
parents: 12457
diff changeset
   762
  public static final byte ATTR_LOCAL_VARIABLE_TYPE_TABLE               = 12;
6
7f561c08de6b Initial load
duke
parents:
diff changeset
   763
15346
3f6fd93fec9a 8003147: port fix for BCEL bug 39695
dbuck
parents: 12457
diff changeset
   764
  public static final short KNOWN_ATTRIBUTES = 13;
6
7f561c08de6b Initial load
duke
parents:
diff changeset
   765
7f561c08de6b Initial load
duke
parents:
diff changeset
   766
  public static final String[] ATTRIBUTE_NAMES = {
7f561c08de6b Initial load
duke
parents:
diff changeset
   767
    "SourceFile", "ConstantValue", "Code", "Exceptions",
7f561c08de6b Initial load
duke
parents:
diff changeset
   768
    "LineNumberTable", "LocalVariableTable",
7f561c08de6b Initial load
duke
parents:
diff changeset
   769
    "InnerClasses", "Synthetic", "Deprecated",
15346
3f6fd93fec9a 8003147: port fix for BCEL bug 39695
dbuck
parents: 12457
diff changeset
   770
    "PMGClass", "Signature", "StackMap",
3f6fd93fec9a 8003147: port fix for BCEL bug 39695
dbuck
parents: 12457
diff changeset
   771
    "LocalVariableTypeTable"
6
7f561c08de6b Initial load
duke
parents:
diff changeset
   772
  };
7f561c08de6b Initial load
duke
parents:
diff changeset
   773
7f561c08de6b Initial load
duke
parents:
diff changeset
   774
  /** Constants used in the StackMap attribute.
7f561c08de6b Initial load
duke
parents:
diff changeset
   775
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   776
  public static final byte ITEM_Bogus      = 0;
7f561c08de6b Initial load
duke
parents:
diff changeset
   777
  public static final byte ITEM_Integer    = 1;
7f561c08de6b Initial load
duke
parents:
diff changeset
   778
  public static final byte ITEM_Float      = 2;
7f561c08de6b Initial load
duke
parents:
diff changeset
   779
  public static final byte ITEM_Double     = 3;
7f561c08de6b Initial load
duke
parents:
diff changeset
   780
  public static final byte ITEM_Long       = 4;
7f561c08de6b Initial load
duke
parents:
diff changeset
   781
  public static final byte ITEM_Null       = 5;
7f561c08de6b Initial load
duke
parents:
diff changeset
   782
  public static final byte ITEM_InitObject = 6;
7f561c08de6b Initial load
duke
parents:
diff changeset
   783
  public static final byte ITEM_Object     = 7;
7f561c08de6b Initial load
duke
parents:
diff changeset
   784
  public static final byte ITEM_NewObject  = 8;
7f561c08de6b Initial load
duke
parents:
diff changeset
   785
7f561c08de6b Initial load
duke
parents:
diff changeset
   786
  public static final String[] ITEM_NAMES = {
7f561c08de6b Initial load
duke
parents:
diff changeset
   787
    "Bogus", "Integer", "Float", "Double", "Long",
7f561c08de6b Initial load
duke
parents:
diff changeset
   788
    "Null", "InitObject", "Object", "NewObject"
7f561c08de6b Initial load
duke
parents:
diff changeset
   789
  };
7f561c08de6b Initial load
duke
parents:
diff changeset
   790
}