public class javax.imageio.stream.MemoryCacheImageInputStream extends javax.imageio.stream.ImageInputStreamImpl
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: javax.imageio.stream.MemoryCacheImageInputStream
  super_class: javax.imageio.stream.ImageInputStreamImpl
{
  private java.io.InputStream stream;
    descriptor: Ljava/io/InputStream;
    flags: (0x0002) ACC_PRIVATE

  private javax.imageio.stream.MemoryCache cache;
    descriptor: Ljavax/imageio/stream/MemoryCache;
    flags: (0x0002) ACC_PRIVATE

  private final java.lang.Object disposerReferent;
    descriptor: Ljava/lang/Object;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final sun.java2d.DisposerRecord disposerRecord;
    descriptor: Lsun/java2d/DisposerRecord;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  public void <init>(java.io.InputStream);
    descriptor: (Ljava/io/InputStream;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // javax.imageio.stream.MemoryCacheImageInputStream this
        start local 1 // java.io.InputStream stream
         0: .line 67
            aload 0 /* this */
            invokespecial javax.imageio.stream.ImageInputStreamImpl.<init>:()V
         1: .line 50
            aload 0 /* this */
            new javax.imageio.stream.MemoryCache
            dup
            invokespecial javax.imageio.stream.MemoryCache.<init>:()V
            putfield javax.imageio.stream.MemoryCacheImageInputStream.cache:Ljavax/imageio/stream/MemoryCache;
         2: .line 68
            aload 1 /* stream */
            ifnonnull 4
         3: .line 69
            new java.lang.IllegalArgumentException
            dup
            ldc "stream == null!"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 71
      StackMap locals: javax.imageio.stream.MemoryCacheImageInputStream java.io.InputStream
      StackMap stack:
            aload 0 /* this */
            aload 1 /* stream */
            putfield javax.imageio.stream.MemoryCacheImageInputStream.stream:Ljava/io/InputStream;
         5: .line 73
            aload 0 /* this */
            new javax.imageio.stream.MemoryCacheImageInputStream$StreamDisposerRecord
            dup
            aload 0 /* this */
            getfield javax.imageio.stream.MemoryCacheImageInputStream.cache:Ljavax/imageio/stream/MemoryCache;
            invokespecial javax.imageio.stream.MemoryCacheImageInputStream$StreamDisposerRecord.<init>:(Ljavax/imageio/stream/MemoryCache;)V
            putfield javax.imageio.stream.MemoryCacheImageInputStream.disposerRecord:Lsun/java2d/DisposerRecord;
         6: .line 74
            aload 0 /* this */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            ldc Ljavax/imageio/stream/MemoryCacheImageInputStream;
            if_acmpne 10
         7: .line 75
            aload 0 /* this */
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            putfield javax.imageio.stream.MemoryCacheImageInputStream.disposerReferent:Ljava/lang/Object;
         8: .line 76
            aload 0 /* this */
            getfield javax.imageio.stream.MemoryCacheImageInputStream.disposerReferent:Ljava/lang/Object;
            aload 0 /* this */
            getfield javax.imageio.stream.MemoryCacheImageInputStream.disposerRecord:Lsun/java2d/DisposerRecord;
            invokestatic sun.java2d.Disposer.addRecord:(Ljava/lang/Object;Lsun/java2d/DisposerRecord;)V
         9: .line 77
            goto 11
        10: .line 78
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            new com.sun.imageio.stream.StreamFinalizer
            dup
            aload 0 /* this */
            invokespecial com.sun.imageio.stream.StreamFinalizer.<init>:(Ljavax/imageio/stream/ImageInputStream;)V
            putfield javax.imageio.stream.MemoryCacheImageInputStream.disposerReferent:Ljava/lang/Object;
        11: .line 80
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.io.InputStream stream
        end local 0 // javax.imageio.stream.MemoryCacheImageInputStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   12     0    this  Ljavax/imageio/stream/MemoryCacheImageInputStream;
            0   12     1  stream  Ljava/io/InputStream;
    MethodParameters:
        Name  Flags
      stream  

  public int read();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=3, args_size=1
        start local 0 // javax.imageio.stream.MemoryCacheImageInputStream this
         0: .line 83
            aload 0 /* this */
            invokevirtual javax.imageio.stream.MemoryCacheImageInputStream.checkClosed:()V
         1: .line 84
            aload 0 /* this */
            iconst_0
            putfield javax.imageio.stream.MemoryCacheImageInputStream.bitOffset:I
         2: .line 85
            aload 0 /* this */
            getfield javax.imageio.stream.MemoryCacheImageInputStream.cache:Ljavax/imageio/stream/MemoryCache;
            aload 0 /* this */
            getfield javax.imageio.stream.MemoryCacheImageInputStream.stream:Ljava/io/InputStream;
            aload 0 /* this */
            getfield javax.imageio.stream.MemoryCacheImageInputStream.streamPos:J
            lconst_1
            ladd
            invokevirtual javax.imageio.stream.MemoryCache.loadFromStream:(Ljava/io/InputStream;J)J
            lstore 1 /* pos */
        start local 1 // long pos
         3: .line 86
            lload 1 /* pos */
            aload 0 /* this */
            getfield javax.imageio.stream.MemoryCacheImageInputStream.streamPos:J
            lconst_1
            ladd
            lcmp
            iflt 5
         4: .line 87
            aload 0 /* this */
            getfield javax.imageio.stream.MemoryCacheImageInputStream.cache:Ljavax/imageio/stream/MemoryCache;
            aload 0 /* this */
            dup
            getfield javax.imageio.stream.MemoryCacheImageInputStream.streamPos:J
            dup2_x1
            lconst_1
            ladd
            putfield javax.imageio.stream.MemoryCacheImageInputStream.streamPos:J
            invokevirtual javax.imageio.stream.MemoryCache.read:(J)I
            ireturn
         5: .line 89
      StackMap locals: long
      StackMap stack:
            iconst_m1
            ireturn
        end local 1 // long pos
        end local 0 // javax.imageio.stream.MemoryCacheImageInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljavax/imageio/stream/MemoryCacheImageInputStream;
            3    6     1   pos  J
    Exceptions:
      throws java.io.IOException

  public int read(byte[], int, int);
    descriptor: ([BII)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=6, args_size=4
        start local 0 // javax.imageio.stream.MemoryCacheImageInputStream this
        start local 1 // byte[] b
        start local 2 // int off
        start local 3 // int len
         0: .line 94
            aload 0 /* this */
            invokevirtual javax.imageio.stream.MemoryCacheImageInputStream.checkClosed:()V
         1: .line 96
            aload 1 /* b */
            ifnonnull 3
         2: .line 97
            new java.lang.NullPointerException
            dup
            ldc "b == null!"
            invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 99
      StackMap locals:
      StackMap stack:
            iload 2 /* off */
            iflt 4
            iload 3 /* len */
            iflt 4
            iload 2 /* off */
            iload 3 /* len */
            iadd
            aload 1 /* b */
            arraylength
            if_icmpgt 4
            iload 2 /* off */
            iload 3 /* len */
            iadd
            ifge 7
         4: .line 100
      StackMap locals:
      StackMap stack:
            new java.lang.IndexOutOfBoundsException
            dup
         5: .line 101
            ldc "off < 0 || len < 0 || off+len > b.length || off+len < 0!"
         6: .line 100
            invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 104
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_0
            putfield javax.imageio.stream.MemoryCacheImageInputStream.bitOffset:I
         8: .line 106
            iload 3 /* len */
            ifne 10
         9: .line 107
            iconst_0
            ireturn
        10: .line 110
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield javax.imageio.stream.MemoryCacheImageInputStream.cache:Ljavax/imageio/stream/MemoryCache;
            aload 0 /* this */
            getfield javax.imageio.stream.MemoryCacheImageInputStream.stream:Ljava/io/InputStream;
            aload 0 /* this */
            getfield javax.imageio.stream.MemoryCacheImageInputStream.streamPos:J
            iload 3 /* len */
            i2l
            ladd
            invokevirtual javax.imageio.stream.MemoryCache.loadFromStream:(Ljava/io/InputStream;J)J
            lstore 4 /* pos */
        start local 4 // long pos
        11: .line 112
            lload 4 /* pos */
            aload 0 /* this */
            getfield javax.imageio.stream.MemoryCacheImageInputStream.streamPos:J
            lsub
            l2i
            istore 3 /* len */
        12: .line 114
            iload 3 /* len */
            ifle 16
        13: .line 115
            aload 0 /* this */
            getfield javax.imageio.stream.MemoryCacheImageInputStream.cache:Ljavax/imageio/stream/MemoryCache;
            aload 1 /* b */
            iload 2 /* off */
            iload 3 /* len */
            aload 0 /* this */
            getfield javax.imageio.stream.MemoryCacheImageInputStream.streamPos:J
            invokevirtual javax.imageio.stream.MemoryCache.read:([BIIJ)V
        14: .line 116
            aload 0 /* this */
            dup
            getfield javax.imageio.stream.MemoryCacheImageInputStream.streamPos:J
            iload 3 /* len */
            i2l
            ladd
            putfield javax.imageio.stream.MemoryCacheImageInputStream.streamPos:J
        15: .line 117
            iload 3 /* len */
            ireturn
        16: .line 119
      StackMap locals: long
      StackMap stack:
            iconst_m1
            ireturn
        end local 4 // long pos
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] b
        end local 0 // javax.imageio.stream.MemoryCacheImageInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   17     0  this  Ljavax/imageio/stream/MemoryCacheImageInputStream;
            0   17     1     b  [B
            0   17     2   off  I
            0   17     3   len  I
           11   17     4   pos  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     
      off   
      len   

  public void flushBefore(long);
    descriptor: (J)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // javax.imageio.stream.MemoryCacheImageInputStream this
        start local 1 // long pos
         0: .line 124
            aload 0 /* this */
            lload 1 /* pos */
            invokespecial javax.imageio.stream.ImageInputStreamImpl.flushBefore:(J)V
         1: .line 125
            aload 0 /* this */
            getfield javax.imageio.stream.MemoryCacheImageInputStream.cache:Ljavax/imageio/stream/MemoryCache;
            lload 1 /* pos */
            invokevirtual javax.imageio.stream.MemoryCache.disposeBefore:(J)V
         2: .line 126
            return
        end local 1 // long pos
        end local 0 // javax.imageio.stream.MemoryCacheImageInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljavax/imageio/stream/MemoryCacheImageInputStream;
            0    3     1   pos  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      pos   

  public boolean isCached();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // javax.imageio.stream.MemoryCacheImageInputStream this
         0: .line 139
            iconst_1
            ireturn
        end local 0 // javax.imageio.stream.MemoryCacheImageInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljavax/imageio/stream/MemoryCacheImageInputStream;

  public boolean isCachedFile();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // javax.imageio.stream.MemoryCacheImageInputStream this
         0: .line 152
            iconst_0
            ireturn
        end local 0 // javax.imageio.stream.MemoryCacheImageInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljavax/imageio/stream/MemoryCacheImageInputStream;

  public boolean isCachedMemory();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // javax.imageio.stream.MemoryCacheImageInputStream this
         0: .line 165
            iconst_1
            ireturn
        end local 0 // javax.imageio.stream.MemoryCacheImageInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljavax/imageio/stream/MemoryCacheImageInputStream;

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // javax.imageio.stream.MemoryCacheImageInputStream this
         0: .line 173
            aload 0 /* this */
            invokespecial javax.imageio.stream.ImageInputStreamImpl.close:()V
         1: .line 174
            aload 0 /* this */
            getfield javax.imageio.stream.MemoryCacheImageInputStream.disposerRecord:Lsun/java2d/DisposerRecord;
            invokeinterface sun.java2d.DisposerRecord.dispose:()V
         2: .line 175
            aload 0 /* this */
            aconst_null
            putfield javax.imageio.stream.MemoryCacheImageInputStream.stream:Ljava/io/InputStream;
         3: .line 176
            aload 0 /* this */
            aconst_null
            putfield javax.imageio.stream.MemoryCacheImageInputStream.cache:Ljavax/imageio/stream/MemoryCache;
         4: .line 177
            return
        end local 0 // javax.imageio.stream.MemoryCacheImageInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljavax/imageio/stream/MemoryCacheImageInputStream;
    Exceptions:
      throws java.io.IOException

  protected void finalize();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // javax.imageio.stream.MemoryCacheImageInputStream this
         0: .line 186
            return
        end local 0 // javax.imageio.stream.MemoryCacheImageInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljavax/imageio/stream/MemoryCacheImageInputStream;
    Exceptions:
      throws java.lang.Throwable
}
SourceFile: "MemoryCacheImageInputStream.java"
NestMembers:
  javax.imageio.stream.MemoryCacheImageInputStream$StreamDisposerRecord
InnerClasses:
  private StreamDisposerRecord = javax.imageio.stream.MemoryCacheImageInputStream$StreamDisposerRecord of javax.imageio.stream.MemoryCacheImageInputStream