public class org.apache.tomcat.util.bcel.classfile.ConstantPool
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.tomcat.util.bcel.classfile.ConstantPool
  super_class: java.lang.Object
{
  private final org.apache.tomcat.util.bcel.classfile.Constant[] constantPool;
    descriptor: [Lorg/apache/tomcat/util/bcel/classfile/Constant;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  void <init>(java.io.DataInput);
    descriptor: (Ljava/io/DataInput;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=5, args_size=2
        start local 0 // org.apache.tomcat.util.bcel.classfile.ConstantPool this
        start local 1 // java.io.DataInput input
         0: .line 46
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 47
            aload 1 /* input */
            invokeinterface java.io.DataInput.readUnsignedShort:()I
            istore 2 /* constant_pool_count */
        start local 2 // int constant_pool_count
         2: .line 48
            aload 0 /* this */
            iload 2 /* constant_pool_count */
            anewarray org.apache.tomcat.util.bcel.classfile.Constant
            putfield org.apache.tomcat.util.bcel.classfile.ConstantPool.constantPool:[Lorg/apache/tomcat/util/bcel/classfile/Constant;
         3: .line 52
            iconst_1
            istore 3 /* i */
        start local 3 // int i
         4: goto 11
         5: .line 53
      StackMap locals: org.apache.tomcat.util.bcel.classfile.ConstantPool java.io.DataInput int int
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.tomcat.util.bcel.classfile.ConstantPool.constantPool:[Lorg/apache/tomcat/util/bcel/classfile/Constant;
            iload 3 /* i */
            aload 1 /* input */
            invokestatic org.apache.tomcat.util.bcel.classfile.Constant.readConstant:(Ljava/io/DataInput;)Lorg/apache/tomcat/util/bcel/classfile/Constant;
            aastore
         6: .line 61
            aload 0 /* this */
            getfield org.apache.tomcat.util.bcel.classfile.ConstantPool.constantPool:[Lorg/apache/tomcat/util/bcel/classfile/Constant;
            iload 3 /* i */
            aaload
            ifnull 10
         7: .line 62
            aload 0 /* this */
            getfield org.apache.tomcat.util.bcel.classfile.ConstantPool.constantPool:[Lorg/apache/tomcat/util/bcel/classfile/Constant;
            iload 3 /* i */
            aaload
            invokevirtual org.apache.tomcat.util.bcel.classfile.Constant.getTag:()B
            istore 4 /* tag */
        start local 4 // byte tag
         8: .line 63
            iload 4 /* tag */
            bipush 6
            if_icmpeq 9
            iload 4 /* tag */
            iconst_5
            if_icmpne 10
         9: .line 64
      StackMap locals: int
      StackMap stack:
            iinc 3 /* i */ 1
        end local 4 // byte tag
        10: .line 52
      StackMap locals:
      StackMap stack:
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
        11: iload 3 /* i */
            iload 2 /* constant_pool_count */
            if_icmplt 5
        end local 3 // int i
        12: .line 68
            return
        end local 2 // int constant_pool_count
        end local 1 // java.io.DataInput input
        end local 0 // org.apache.tomcat.util.bcel.classfile.ConstantPool this
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0   13     0                 this  Lorg/apache/tomcat/util/bcel/classfile/ConstantPool;
            0   13     1                input  Ljava/io/DataInput;
            2   13     2  constant_pool_count  I
            4   12     3                    i  I
            8   10     4                  tag  B
    Exceptions:
      throws java.io.IOException, org.apache.tomcat.util.bcel.classfile.ClassFormatException
    MethodParameters:
       Name  Flags
      input  final

  public org.apache.tomcat.util.bcel.classfile.Constant getConstant(int);
    descriptor: (I)Lorg/apache/tomcat/util/bcel/classfile/Constant;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // org.apache.tomcat.util.bcel.classfile.ConstantPool this
        start local 1 // int index
         0: .line 78
            iload 1 /* index */
            aload 0 /* this */
            getfield org.apache.tomcat.util.bcel.classfile.ConstantPool.constantPool:[Lorg/apache/tomcat/util/bcel/classfile/Constant;
            arraylength
            if_icmpge 1
            iload 1 /* index */
            ifge 4
         1: .line 79
      StackMap locals:
      StackMap stack:
            new org.apache.tomcat.util.bcel.classfile.ClassFormatException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Invalid constant pool reference: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 1 /* index */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
         2: .line 80
            ldc ". Constant pool size is: "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield org.apache.tomcat.util.bcel.classfile.ConstantPool.constantPool:[Lorg/apache/tomcat/util/bcel/classfile/Constant;
            arraylength
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         3: .line 79
            invokespecial org.apache.tomcat.util.bcel.classfile.ClassFormatException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 82
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.tomcat.util.bcel.classfile.ConstantPool.constantPool:[Lorg/apache/tomcat/util/bcel/classfile/Constant;
            iload 1 /* index */
            aaload
            areturn
        end local 1 // int index
        end local 0 // org.apache.tomcat.util.bcel.classfile.ConstantPool this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    5     0   this  Lorg/apache/tomcat/util/bcel/classfile/ConstantPool;
            0    5     1  index  I
    MethodParameters:
       Name  Flags
      index  final

  public org.apache.tomcat.util.bcel.classfile.Constant getConstant(int, byte);
    descriptor: (IB)Lorg/apache/tomcat/util/bcel/classfile/Constant;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=3
        start local 0 // org.apache.tomcat.util.bcel.classfile.ConstantPool this
        start local 1 // int index
        start local 2 // byte tag
         0: .line 97
            aload 0 /* this */
            iload 1 /* index */
            invokevirtual org.apache.tomcat.util.bcel.classfile.ConstantPool.getConstant:(I)Lorg/apache/tomcat/util/bcel/classfile/Constant;
            astore 3 /* c */
        start local 3 // org.apache.tomcat.util.bcel.classfile.Constant c
         1: .line 98
            aload 3 /* c */
            ifnonnull 3
         2: .line 99
            new org.apache.tomcat.util.bcel.classfile.ClassFormatException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Constant pool at index "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 1 /* index */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc " is null."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial org.apache.tomcat.util.bcel.classfile.ClassFormatException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 101
      StackMap locals: org.apache.tomcat.util.bcel.classfile.Constant
      StackMap stack:
            aload 3 /* c */
            invokevirtual org.apache.tomcat.util.bcel.classfile.Constant.getTag:()B
            iload 2 /* tag */
            if_icmpeq 7
         4: .line 102
            new org.apache.tomcat.util.bcel.classfile.ClassFormatException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Expected class `"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 2 /* tag */
            invokestatic org.apache.tomcat.util.bcel.Const.getConstantName:(I)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         5: .line 103
            ldc "' at index "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            iload 1 /* index */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc " and got "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 3 /* c */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         6: .line 102
            invokespecial org.apache.tomcat.util.bcel.classfile.ClassFormatException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 105
      StackMap locals:
      StackMap stack:
            aload 3 /* c */
            areturn
        end local 3 // org.apache.tomcat.util.bcel.classfile.Constant c
        end local 2 // byte tag
        end local 1 // int index
        end local 0 // org.apache.tomcat.util.bcel.classfile.ConstantPool this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    8     0   this  Lorg/apache/tomcat/util/bcel/classfile/ConstantPool;
            0    8     1  index  I
            0    8     2    tag  B
            1    8     3      c  Lorg/apache/tomcat/util/bcel/classfile/Constant;
    Exceptions:
      throws org.apache.tomcat.util.bcel.classfile.ClassFormatException
    MethodParameters:
       Name  Flags
      index  final
      tag    final
}
SourceFile: "ConstantPool.java"