public abstract class com.sun.tools.hat.internal.parser.Reader
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: com.sun.tools.hat.internal.parser.Reader
  super_class: java.lang.Object
{
  protected com.sun.tools.hat.internal.parser.PositionDataInputStream in;
    descriptor: Lcom/sun/tools/hat/internal/parser/PositionDataInputStream;
    flags: (0x0004) ACC_PROTECTED

  protected void <init>(com.sun.tools.hat.internal.parser.PositionDataInputStream);
    descriptor: (Lcom/sun/tools/hat/internal/parser/PositionDataInputStream;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.sun.tools.hat.internal.parser.Reader this
        start local 1 // com.sun.tools.hat.internal.parser.PositionDataInputStream in
         0: .line 49
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 50
            aload 0 /* this */
            aload 1 /* in */
            putfield com.sun.tools.hat.internal.parser.Reader.in:Lcom/sun/tools/hat/internal/parser/PositionDataInputStream;
         2: .line 51
            return
        end local 1 // com.sun.tools.hat.internal.parser.PositionDataInputStream in
        end local 0 // com.sun.tools.hat.internal.parser.Reader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/sun/tools/hat/internal/parser/Reader;
            0    3     1    in  Lcom/sun/tools/hat/internal/parser/PositionDataInputStream;
    MethodParameters:
      Name  Flags
      in    

  public abstract com.sun.tools.hat.internal.model.Snapshot read();
    descriptor: ()Lcom/sun/tools/hat/internal/model/Snapshot;
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    Exceptions:
      throws java.io.IOException

  public static com.sun.tools.hat.internal.model.Snapshot readFile(java.lang.String, boolean, int);
    descriptor: (Ljava/lang/String;ZI)Lcom/sun/tools/hat/internal/model/Snapshot;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=7, locals=10, args_size=3
        start local 0 // java.lang.String heapFile
        start local 1 // boolean callStack
        start local 2 // int debugLevel
         0: .line 68
            iconst_1
            istore 3 /* dumpNumber */
        start local 3 // int dumpNumber
         1: .line 69
            aload 0 /* heapFile */
            bipush 35
            invokevirtual java.lang.String.lastIndexOf:(I)I
            istore 4 /* pos */
        start local 4 // int pos
         2: .line 70
            iload 4 /* pos */
            iconst_m1
            if_icmple 15
         3: .line 71
            aload 0 /* heapFile */
            iload 4 /* pos */
            iconst_1
            iadd
            aload 0 /* heapFile */
            invokevirtual java.lang.String.length:()I
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            astore 5 /* num */
        start local 5 // java.lang.String num
         4: .line 73
            aload 5 /* num */
            bipush 10
            invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;I)I
            istore 3 /* dumpNumber */
         5: .line 74
            goto 14
      StackMap locals: java.lang.String int int int int java.lang.String
      StackMap stack: java.lang.NumberFormatException
         6: pop
         7: .line 75
            new java.lang.StringBuilder
            dup
            ldc "In file name \""
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* heapFile */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         8: .line 76
            ldc "\", a dump number was "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         9: .line 77
            ldc "expected after the :, but \""
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        10: .line 78
            aload 5 /* num */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "\" was found instead."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        11: .line 75
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 6 /* msg */
        start local 6 // java.lang.String msg
        12: .line 79
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            aload 6 /* msg */
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        13: .line 80
            new java.io.IOException
            dup
            aload 6 /* msg */
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        end local 6 // java.lang.String msg
        14: .line 82
      StackMap locals:
      StackMap stack:
            aload 0 /* heapFile */
            iconst_0
            iload 4 /* pos */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            astore 0 /* heapFile */
        end local 5 // java.lang.String num
        15: .line 84
      StackMap locals:
      StackMap stack:
            new com.sun.tools.hat.internal.parser.PositionDataInputStream
            dup
        16: .line 85
            new java.io.BufferedInputStream
            dup
            new java.io.FileInputStream
            dup
            aload 0 /* heapFile */
            invokespecial java.io.FileInputStream.<init>:(Ljava/lang/String;)V
            invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
        17: .line 84
            invokespecial com.sun.tools.hat.internal.parser.PositionDataInputStream.<init>:(Ljava/io/InputStream;)V
            astore 5 /* in */
        start local 5 // com.sun.tools.hat.internal.parser.PositionDataInputStream in
        18: .line 87
            aload 5 /* in */
            invokevirtual com.sun.tools.hat.internal.parser.PositionDataInputStream.readInt:()I
            istore 6 /* i */
        start local 6 // int i
        19: .line 88
            iload 6 /* i */
            ldc 1245795905
            if_icmpne 27
        20: .line 90
            new com.sun.tools.hat.internal.parser.HprofReader
            dup
            aload 0 /* heapFile */
            aload 5 /* in */
            iload 3 /* dumpNumber */
        21: .line 91
            iload 1 /* callStack */
            iload 2 /* debugLevel */
        22: .line 90
            invokespecial com.sun.tools.hat.internal.parser.HprofReader.<init>:(Ljava/lang/String;Lcom/sun/tools/hat/internal/parser/PositionDataInputStream;IZI)V
        23: .line 89
            astore 7 /* r */
        start local 7 // com.sun.tools.hat.internal.parser.Reader r
        24: .line 92
            aload 7 /* r */
            invokevirtual com.sun.tools.hat.internal.parser.Reader.read:()Lcom/sun/tools/hat/internal/model/Snapshot;
            astore 9
        25: .line 97
            aload 5 /* in */
            invokevirtual com.sun.tools.hat.internal.parser.PositionDataInputStream.close:()V
        26: .line 92
            aload 9
            areturn
        end local 7 // com.sun.tools.hat.internal.parser.Reader r
        27: .line 94
      StackMap locals: com.sun.tools.hat.internal.parser.PositionDataInputStream int
      StackMap stack:
            new java.io.IOException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Unrecognized magic number: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 6 /* i */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        end local 6 // int i
        28: .line 96
      StackMap locals: java.lang.String int int int int com.sun.tools.hat.internal.parser.PositionDataInputStream
      StackMap stack: java.lang.Throwable
            astore 8
        29: .line 97
            aload 5 /* in */
            invokevirtual com.sun.tools.hat.internal.parser.PositionDataInputStream.close:()V
        30: .line 98
            aload 8
            athrow
        end local 5 // com.sun.tools.hat.internal.parser.PositionDataInputStream in
        end local 4 // int pos
        end local 3 // int dumpNumber
        end local 2 // int debugLevel
        end local 1 // boolean callStack
        end local 0 // java.lang.String heapFile
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   31     0    heapFile  Ljava/lang/String;
            0   31     1   callStack  Z
            0   31     2  debugLevel  I
            1   31     3  dumpNumber  I
            2   31     4         pos  I
            4   15     5         num  Ljava/lang/String;
           12   14     6         msg  Ljava/lang/String;
           18   31     5          in  Lcom/sun/tools/hat/internal/parser/PositionDataInputStream;
           19   28     6           i  I
           24   27     7           r  Lcom/sun/tools/hat/internal/parser/Reader;
      Exception table:
        from    to  target  type
           4     5       6  Class java.lang.NumberFormatException
          18    25      28  any
          27    28      28  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
            Name  Flags
      heapFile    
      callStack   
      debugLevel  
}
SourceFile: "Reader.java"