class org.graalvm.tools.lsp.server.LSPFileSystem$1 implements java.nio.channels.SeekableByteChannel
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.graalvm.tools.lsp.server.LSPFileSystem$1
  super_class: java.lang.Object
{
  int position;
    descriptor: I
    flags: (0x0000) 

  final org.graalvm.tools.lsp.server.LSPFileSystem this$0;
    descriptor: Lorg/graalvm/tools/lsp/server/LSPFileSystem;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  private final java.nio.file.Path val$path;
    descriptor: Ljava/nio/file/Path;
    flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC

  private final byte[] val$bytes;
    descriptor: [B
    flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC

  void <init>(org.graalvm.tools.lsp.server.LSPFileSystem, java.nio.file.Path, byte[]);
    descriptor: (Lorg/graalvm/tools/lsp/server/LSPFileSystem;Ljava/nio/file/Path;[B)V
    flags: (0x0000) 
    Code:
      stack=2, locals=4, args_size=4
        start local 0 // org.graalvm.tools.lsp.server.LSPFileSystem$1 this
         0: .line 157
            aload 0 /* this */
            aload 1
            putfield org.graalvm.tools.lsp.server.LSPFileSystem$1.this$0:Lorg/graalvm/tools/lsp/server/LSPFileSystem;
            aload 0 /* this */
            aload 2
            putfield org.graalvm.tools.lsp.server.LSPFileSystem$1.val$path:Ljava/nio/file/Path;
            aload 0 /* this */
            aload 3
            putfield org.graalvm.tools.lsp.server.LSPFileSystem$1.val$bytes:[B
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 158
            aload 0 /* this */
            iconst_0
            putfield org.graalvm.tools.lsp.server.LSPFileSystem$1.position:I
         2: .line 157
            return
        end local 0 // org.graalvm.tools.lsp.server.LSPFileSystem$1 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/graalvm/tools/lsp/server/LSPFileSystem$1;
    MethodParameters:
           Name  Flags
      this$0     final
      val$path   final
      val$bytes  final

  public boolean isOpen();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.tools.lsp.server.LSPFileSystem$1 this
         0: .line 162
            iconst_1
            ireturn
        end local 0 // org.graalvm.tools.lsp.server.LSPFileSystem$1 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/tools/lsp/server/LSPFileSystem$1;

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // org.graalvm.tools.lsp.server.LSPFileSystem$1 this
         0: .line 167
            return
        end local 0 // org.graalvm.tools.lsp.server.LSPFileSystem$1 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/tools/lsp/server/LSPFileSystem$1;
    Exceptions:
      throws java.io.IOException

  public int write(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // org.graalvm.tools.lsp.server.LSPFileSystem$1 this
        start local 1 // java.nio.ByteBuffer src
         0: .line 171
            new java.nio.file.AccessDeniedException
            dup
            aload 0 /* this */
            getfield org.graalvm.tools.lsp.server.LSPFileSystem$1.val$path:Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            aconst_null
            ldc "Read-only file-system"
            invokespecial java.nio.file.AccessDeniedException.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
            athrow
        end local 1 // java.nio.ByteBuffer src
        end local 0 // org.graalvm.tools.lsp.server.LSPFileSystem$1 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/tools/lsp/server/LSPFileSystem$1;
            0    1     1   src  Ljava/nio/ByteBuffer;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      src   

  public java.nio.channels.SeekableByteChannel truncate(long);
    descriptor: (J)Ljava/nio/channels/SeekableByteChannel;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // org.graalvm.tools.lsp.server.LSPFileSystem$1 this
        start local 1 // long size
         0: .line 176
            new java.nio.file.AccessDeniedException
            dup
            aload 0 /* this */
            getfield org.graalvm.tools.lsp.server.LSPFileSystem$1.val$path:Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            aconst_null
            ldc "Read-only file-system"
            invokespecial java.nio.file.AccessDeniedException.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
            athrow
        end local 1 // long size
        end local 0 // org.graalvm.tools.lsp.server.LSPFileSystem$1 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/tools/lsp/server/LSPFileSystem$1;
            0    1     1  size  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      size  

  public long size();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.graalvm.tools.lsp.server.LSPFileSystem$1 this
         0: .line 181
            aload 0 /* this */
            getfield org.graalvm.tools.lsp.server.LSPFileSystem$1.val$bytes:[B
            arraylength
            i2l
            lreturn
        end local 0 // org.graalvm.tools.lsp.server.LSPFileSystem$1 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/tools/lsp/server/LSPFileSystem$1;
    Exceptions:
      throws java.io.IOException

  public int read(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // org.graalvm.tools.lsp.server.LSPFileSystem$1 this
        start local 1 // java.nio.ByteBuffer dst
         0: .line 186
            aload 1 /* dst */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            aload 0 /* this */
            getfield org.graalvm.tools.lsp.server.LSPFileSystem$1.val$bytes:[B
            arraylength
            aload 0 /* this */
            getfield org.graalvm.tools.lsp.server.LSPFileSystem$1.position:I
            isub
            invokestatic java.lang.Math.min:(II)I
            istore 2 /* len */
        start local 2 // int len
         1: .line 187
            aload 1 /* dst */
            aload 0 /* this */
            getfield org.graalvm.tools.lsp.server.LSPFileSystem$1.val$bytes:[B
            aload 0 /* this */
            getfield org.graalvm.tools.lsp.server.LSPFileSystem$1.position:I
            iload 2 /* len */
            invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
            pop
         2: .line 188
            aload 0 /* this */
            dup
            getfield org.graalvm.tools.lsp.server.LSPFileSystem$1.position:I
            iload 2 /* len */
            iadd
            putfield org.graalvm.tools.lsp.server.LSPFileSystem$1.position:I
         3: .line 189
            iload 2 /* len */
            ireturn
        end local 2 // int len
        end local 1 // java.nio.ByteBuffer dst
        end local 0 // org.graalvm.tools.lsp.server.LSPFileSystem$1 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/graalvm/tools/lsp/server/LSPFileSystem$1;
            0    4     1   dst  Ljava/nio/ByteBuffer;
            1    4     2   len  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      dst   

  public java.nio.channels.SeekableByteChannel position(long);
    descriptor: (J)Ljava/nio/channels/SeekableByteChannel;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // org.graalvm.tools.lsp.server.LSPFileSystem$1 this
        start local 1 // long newPosition
         0: .line 194
            lload 1 /* newPosition */
            ldc 2147483647
            lcmp
            ifle 2
         1: .line 195
            new java.lang.IllegalArgumentException
            dup
            ldc "> Integer.MAX_VALUE"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 197
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            lload 1 /* newPosition */
            l2i
            putfield org.graalvm.tools.lsp.server.LSPFileSystem$1.position:I
         3: .line 198
            aload 0 /* this */
            areturn
        end local 1 // long newPosition
        end local 0 // org.graalvm.tools.lsp.server.LSPFileSystem$1 this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    4     0         this  Lorg/graalvm/tools/lsp/server/LSPFileSystem$1;
            0    4     1  newPosition  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
             Name  Flags
      newPosition  

  public long position();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.graalvm.tools.lsp.server.LSPFileSystem$1 this
         0: .line 203
            aload 0 /* this */
            getfield org.graalvm.tools.lsp.server.LSPFileSystem$1.position:I
            i2l
            lreturn
        end local 0 // org.graalvm.tools.lsp.server.LSPFileSystem$1 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/tools/lsp/server/LSPFileSystem$1;
    Exceptions:
      throws java.io.IOException
}
SourceFile: "LSPFileSystem.java"
EnclosingMethod: org.graalvm.tools.lsp.server.LSPFileSystem.newByteChannel:(Ljava/nio/file/Path;Ljava/util/Set;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/channels/SeekableByteChannel;
NestHost: org.graalvm.tools.lsp.server.LSPFileSystem
InnerClasses:
  org.graalvm.tools.lsp.server.LSPFileSystem$1