final class org.jruby.util.NullDeviceResource implements org.jruby.util.FileResource
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: org.jruby.util.NullDeviceResource
  super_class: java.lang.Object
{
  private static final org.jruby.util.JRubyFile file;
    descriptor: Lorg/jruby/util/JRubyFile;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=0, args_size=0
         0: .line 19
            new org.jruby.util.JRubyFile
            dup
            ldc "NUL:"
            invokespecial org.jruby.util.JRubyFile.<init>:(Ljava/lang/String;)V
            putstatic org.jruby.util.NullDeviceResource.file:Lorg/jruby/util/JRubyFile;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.util.NullDeviceResource this
         0: .line 21
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.jruby.util.NullDeviceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/NullDeviceResource;

  public java.lang.String absolutePath();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.util.NullDeviceResource this
         0: .line 25
            ldc "NUL:"
            areturn
        end local 0 // org.jruby.util.NullDeviceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/NullDeviceResource;

  public java.lang.String canonicalPath();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.util.NullDeviceResource this
         0: .line 30
            ldc "NUL:"
            areturn
        end local 0 // org.jruby.util.NullDeviceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/NullDeviceResource;

  public long length();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.jruby.util.NullDeviceResource this
         0: .line 35
            lconst_0
            lreturn
        end local 0 // org.jruby.util.NullDeviceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/NullDeviceResource;

  public long lastModified();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.jruby.util.NullDeviceResource this
         0: .line 40
            lconst_0
            lreturn
        end local 0 // org.jruby.util.NullDeviceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/NullDeviceResource;

  public java.nio.file.attribute.FileTime creationTime();
    descriptor: ()Ljava/nio/file/attribute/FileTime;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.jruby.util.NullDeviceResource this
         0: .line 44
            aload 0 /* this */
            invokevirtual org.jruby.util.NullDeviceResource.lastModified:()J
            invokestatic java.nio.file.attribute.FileTime.fromMillis:(J)Ljava/nio/file/attribute/FileTime;
            areturn
        end local 0 // org.jruby.util.NullDeviceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/NullDeviceResource;

  public java.nio.file.attribute.FileTime lastModifiedTime();
    descriptor: ()Ljava/nio/file/attribute/FileTime;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.jruby.util.NullDeviceResource this
         0: .line 48
            aload 0 /* this */
            invokevirtual org.jruby.util.NullDeviceResource.lastModified:()J
            invokestatic java.nio.file.attribute.FileTime.fromMillis:(J)Ljava/nio/file/attribute/FileTime;
            areturn
        end local 0 // org.jruby.util.NullDeviceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/NullDeviceResource;

  public java.nio.file.attribute.FileTime lastAccessTime();
    descriptor: ()Ljava/nio/file/attribute/FileTime;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.jruby.util.NullDeviceResource this
         0: .line 52
            aload 0 /* this */
            invokevirtual org.jruby.util.NullDeviceResource.lastModified:()J
            invokestatic java.nio.file.attribute.FileTime.fromMillis:(J)Ljava/nio/file/attribute/FileTime;
            areturn
        end local 0 // org.jruby.util.NullDeviceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/NullDeviceResource;

  public boolean exists();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.util.NullDeviceResource this
         0: .line 57
            iconst_1
            ireturn
        end local 0 // org.jruby.util.NullDeviceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/NullDeviceResource;

  public boolean canExecute();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.util.NullDeviceResource this
         0: .line 62
            iconst_0
            ireturn
        end local 0 // org.jruby.util.NullDeviceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/NullDeviceResource;

  public int errno();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.util.NullDeviceResource this
         0: .line 67
            getstatic jnr.constants.platform.Errno.ENOENT:Ljnr/constants/platform/Errno;
            invokevirtual jnr.constants.platform.Errno.intValue:()I
            ireturn
        end local 0 // org.jruby.util.NullDeviceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/NullDeviceResource;

  public boolean isFile();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.util.NullDeviceResource this
         0: .line 72
            iconst_1
            ireturn
        end local 0 // org.jruby.util.NullDeviceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/NullDeviceResource;

  public boolean isDirectory();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.util.NullDeviceResource this
         0: .line 77
            iconst_0
            ireturn
        end local 0 // org.jruby.util.NullDeviceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/NullDeviceResource;

  public boolean isSymLink();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.util.NullDeviceResource this
         0: .line 82
            iconst_0
            ireturn
        end local 0 // org.jruby.util.NullDeviceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/NullDeviceResource;

  public boolean canRead();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.util.NullDeviceResource this
         0: .line 87
            iconst_1
            ireturn
        end local 0 // org.jruby.util.NullDeviceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/NullDeviceResource;

  public boolean canWrite();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.util.NullDeviceResource this
         0: .line 92
            iconst_1
            ireturn
        end local 0 // org.jruby.util.NullDeviceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/NullDeviceResource;

  public java.lang.String[] list();
    descriptor: ()[Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.util.NullDeviceResource this
         0: .line 97
            aconst_null
            areturn
        end local 0 // org.jruby.util.NullDeviceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/NullDeviceResource;

  public jnr.posix.FileStat stat();
    descriptor: ()Ljnr/posix/FileStat;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.util.NullDeviceResource this
         0: .line 102
            aconst_null
            areturn
        end local 0 // org.jruby.util.NullDeviceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/NullDeviceResource;

  public jnr.posix.FileStat lstat();
    descriptor: ()Ljnr/posix/FileStat;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.util.NullDeviceResource this
         0: .line 107
            aconst_null
            areturn
        end local 0 // org.jruby.util.NullDeviceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/NullDeviceResource;

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.util.NullDeviceResource this
         0: .line 112
            ldc "NUL:"
            areturn
        end local 0 // org.jruby.util.NullDeviceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/NullDeviceResource;

  public boolean isNull();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.util.NullDeviceResource this
         0: .line 116
            iconst_1
            ireturn
        end local 0 // org.jruby.util.NullDeviceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/NullDeviceResource;

  public java.io.InputStream openInputStream();
    descriptor: ()Ljava/io/InputStream;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.jruby.util.NullDeviceResource this
         0: .line 120
            new java.io.FileInputStream
            dup
            getstatic org.jruby.util.NullDeviceResource.file:Lorg/jruby/util/JRubyFile;
            invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
            areturn
        end local 0 // org.jruby.util.NullDeviceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/NullDeviceResource;
    Exceptions:
      throws java.io.IOException

  public java.nio.channels.Channel openChannel(int, int);
    descriptor: (II)Ljava/nio/channels/Channel;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // org.jruby.util.NullDeviceResource this
        start local 1 // int flags
        start local 2 // int perm
         0: .line 125
            aload 0 /* this */
            iload 1 /* flags */
            invokestatic org.jruby.util.io.ModeFlags.createModeFlags:(I)Lorg/jruby/util/io/ModeFlags;
            invokevirtual org.jruby.util.NullDeviceResource.createChannel:(Lorg/jruby/util/io/ModeFlags;)Ljava/nio/channels/Channel;
            areturn
        end local 2 // int perm
        end local 1 // int flags
        end local 0 // org.jruby.util.NullDeviceResource this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0   this  Lorg/jruby/util/NullDeviceResource;
            0    1     1  flags  I
            0    1     2   perm  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      flags  
      perm   

  private java.nio.channels.Channel createChannel(org.jruby.util.io.ModeFlags);
    descriptor: (Lorg/jruby/util/io/ModeFlags;)Ljava/nio/channels/Channel;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // org.jruby.util.NullDeviceResource this
        start local 1 // org.jruby.util.io.ModeFlags flags
         0: .line 144
            aload 1 /* flags */
            invokevirtual org.jruby.util.io.ModeFlags.isWritable:()Z
            ifeq 4
            aload 1 /* flags */
            invokevirtual org.jruby.util.io.ModeFlags.isReadable:()Z
            ifne 4
         1: .line 145
            new java.io.FileOutputStream
            dup
            getstatic org.jruby.util.NullDeviceResource.file:Lorg/jruby/util/JRubyFile;
            aload 1 /* flags */
            invokevirtual org.jruby.util.io.ModeFlags.isAppendable:()Z
            invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;Z)V
            astore 3 /* fos */
        start local 3 // java.io.FileOutputStream fos
         2: .line 146
            aload 3 /* fos */
            invokevirtual java.io.FileOutputStream.getChannel:()Ljava/nio/channels/FileChannel;
            astore 2 /* fileChannel */
        end local 3 // java.io.FileOutputStream fos
        start local 2 // java.nio.channels.FileChannel fileChannel
         3: .line 147
            goto 9
        end local 2 // java.nio.channels.FileChannel fileChannel
         4: .line 148
      StackMap locals:
      StackMap stack:
            new java.io.RandomAccessFile
            dup
            getstatic org.jruby.util.NullDeviceResource.file:Lorg/jruby/util/JRubyFile;
            aload 1 /* flags */
            invokevirtual org.jruby.util.io.ModeFlags.toJavaModeString:()Ljava/lang/String;
            invokespecial java.io.RandomAccessFile.<init>:(Ljava/io/File;Ljava/lang/String;)V
            astore 3 /* raf */
        start local 3 // java.io.RandomAccessFile raf
         5: .line 149
            aload 3 /* raf */
            invokevirtual java.io.RandomAccessFile.getChannel:()Ljava/nio/channels/FileChannel;
            astore 2 /* fileChannel */
        end local 3 // java.io.RandomAccessFile raf
        start local 2 // java.nio.channels.FileChannel fileChannel
         6: .line 151
            goto 9
        end local 2 // java.nio.channels.FileChannel fileChannel
         7: .line 152
      StackMap locals:
      StackMap stack: java.io.FileNotFoundException
            astore 3 /* ex */
        start local 3 // java.io.FileNotFoundException ex
         8: .line 153
            aload 0 /* this */
            aload 3 /* ex */
            invokestatic org.jruby.util.RegularFileResource.mapFileNotFoundOnGetChannel:(Lorg/jruby/util/FileResource;Ljava/io/FileNotFoundException;)Ljava/io/IOException;
            athrow
        end local 3 // java.io.FileNotFoundException ex
        start local 2 // java.nio.channels.FileChannel fileChannel
         9: .line 156
      StackMap locals: java.nio.channels.FileChannel
      StackMap stack:
            aload 2 /* fileChannel */
            areturn
        end local 2 // java.nio.channels.FileChannel fileChannel
        end local 1 // org.jruby.util.io.ModeFlags flags
        end local 0 // org.jruby.util.NullDeviceResource this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   10     0         this  Lorg/jruby/util/NullDeviceResource;
            0   10     1        flags  Lorg/jruby/util/io/ModeFlags;
            3    4     2  fileChannel  Ljava/nio/channels/FileChannel;
            6    7     2  fileChannel  Ljava/nio/channels/FileChannel;
            9   10     2  fileChannel  Ljava/nio/channels/FileChannel;
            2    3     3          fos  Ljava/io/FileOutputStream;
            5    6     3          raf  Ljava/io/RandomAccessFile;
            8    9     3           ex  Ljava/io/FileNotFoundException;
      Exception table:
        from    to  target  type
           0     6       7  Class java.io.FileNotFoundException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      flags  

  public <T> T unwrap(java.lang.Class<T>);
    descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // org.jruby.util.NullDeviceResource this
        start local 1 // java.lang.Class type
         0: .line 161
            aload 1 /* type */
            ldc Ljava/io/File;
            if_acmpeq 1
            aload 1 /* type */
            ldc Lorg/jruby/util/JRubyFile;
            if_acmpne 2
      StackMap locals:
      StackMap stack:
         1: getstatic org.jruby.util.NullDeviceResource.file:Lorg/jruby/util/JRubyFile;
            areturn
         2: .line 162
      StackMap locals:
      StackMap stack:
            new java.lang.UnsupportedOperationException
            dup
            new java.lang.StringBuilder
            dup
            ldc "unwrap: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* type */
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // java.lang.Class type
        end local 0 // org.jruby.util.NullDeviceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/jruby/util/NullDeviceResource;
            0    3     1  type  Ljava/lang/Class<TT;>;
    Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)TT;
    MethodParameters:
      Name  Flags
      type  
}
SourceFile: "NullDeviceResource.java"