public class org.jruby.runtime.load.LoadServiceResource
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.jruby.runtime.load.LoadServiceResource
  super_class: java.lang.Object
{
  private final java.net.URL resource;
    descriptor: Ljava/net/URL;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.io.File path;
    descriptor: Ljava/io/File;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

  private final boolean absolute;
    descriptor: Z
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private java.lang.String absolutePath;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  public void <init>(java.net.URL, java.lang.String);
    descriptor: (Ljava/net/URL;Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // org.jruby.runtime.load.LoadServiceResource this
        start local 1 // java.net.URL resource
        start local 2 // java.lang.String name
         0: .line 55
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 56
            aload 0 /* this */
            aload 1 /* resource */
            putfield org.jruby.runtime.load.LoadServiceResource.resource:Ljava/net/URL;
         2: .line 57
            aload 0 /* this */
            aconst_null
            putfield org.jruby.runtime.load.LoadServiceResource.path:Ljava/io/File;
         3: .line 58
            aload 0 /* this */
            aload 2 /* name */
            putfield org.jruby.runtime.load.LoadServiceResource.name:Ljava/lang/String;
         4: .line 59
            aload 0 /* this */
            iconst_0
            putfield org.jruby.runtime.load.LoadServiceResource.absolute:Z
         5: .line 60
            return
        end local 2 // java.lang.String name
        end local 1 // java.net.URL resource
        end local 0 // org.jruby.runtime.load.LoadServiceResource this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    6     0      this  Lorg/jruby/runtime/load/LoadServiceResource;
            0    6     1  resource  Ljava/net/URL;
            0    6     2      name  Ljava/lang/String;
    MethodParameters:
          Name  Flags
      resource  
      name      

  public void <init>(java.net.URL, java.lang.String, boolean);
    descriptor: (Ljava/net/URL;Ljava/lang/String;Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=4
        start local 0 // org.jruby.runtime.load.LoadServiceResource this
        start local 1 // java.net.URL resource
        start local 2 // java.lang.String name
        start local 3 // boolean absolute
         0: .line 62
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 63
            aload 0 /* this */
            aload 1 /* resource */
            putfield org.jruby.runtime.load.LoadServiceResource.resource:Ljava/net/URL;
         2: .line 64
            aload 0 /* this */
            aconst_null
            putfield org.jruby.runtime.load.LoadServiceResource.path:Ljava/io/File;
         3: .line 65
            aload 0 /* this */
            aload 2 /* name */
            putfield org.jruby.runtime.load.LoadServiceResource.name:Ljava/lang/String;
         4: .line 66
            aload 0 /* this */
            iload 3 /* absolute */
            putfield org.jruby.runtime.load.LoadServiceResource.absolute:Z
         5: .line 67
            return
        end local 3 // boolean absolute
        end local 2 // java.lang.String name
        end local 1 // java.net.URL resource
        end local 0 // org.jruby.runtime.load.LoadServiceResource this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    6     0      this  Lorg/jruby/runtime/load/LoadServiceResource;
            0    6     1  resource  Ljava/net/URL;
            0    6     2      name  Ljava/lang/String;
            0    6     3  absolute  Z
    MethodParameters:
          Name  Flags
      resource  
      name      
      absolute  

  public void <init>(java.io.File, java.lang.String);
    descriptor: (Ljava/io/File;Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // org.jruby.runtime.load.LoadServiceResource this
        start local 1 // java.io.File path
        start local 2 // java.lang.String name
         0: .line 69
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 70
            aload 0 /* this */
            aconst_null
            putfield org.jruby.runtime.load.LoadServiceResource.resource:Ljava/net/URL;
         2: .line 71
            aload 0 /* this */
            aload 1 /* path */
            putfield org.jruby.runtime.load.LoadServiceResource.path:Ljava/io/File;
         3: .line 72
            aload 0 /* this */
            aload 2 /* name */
            putfield org.jruby.runtime.load.LoadServiceResource.name:Ljava/lang/String;
         4: .line 73
            aload 0 /* this */
            iconst_0
            putfield org.jruby.runtime.load.LoadServiceResource.absolute:Z
         5: .line 74
            return
        end local 2 // java.lang.String name
        end local 1 // java.io.File path
        end local 0 // org.jruby.runtime.load.LoadServiceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lorg/jruby/runtime/load/LoadServiceResource;
            0    6     1  path  Ljava/io/File;
            0    6     2  name  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      path  
      name  

  public void <init>(java.io.File, java.lang.String, boolean);
    descriptor: (Ljava/io/File;Ljava/lang/String;Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=4
        start local 0 // org.jruby.runtime.load.LoadServiceResource this
        start local 1 // java.io.File path
        start local 2 // java.lang.String name
        start local 3 // boolean absolute
         0: .line 76
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 77
            aload 0 /* this */
            aconst_null
            putfield org.jruby.runtime.load.LoadServiceResource.resource:Ljava/net/URL;
         2: .line 78
            aload 0 /* this */
            aload 1 /* path */
            putfield org.jruby.runtime.load.LoadServiceResource.path:Ljava/io/File;
         3: .line 79
            aload 0 /* this */
            aload 2 /* name */
            putfield org.jruby.runtime.load.LoadServiceResource.name:Ljava/lang/String;
         4: .line 80
            aload 0 /* this */
            iload 3 /* absolute */
            putfield org.jruby.runtime.load.LoadServiceResource.absolute:Z
         5: .line 81
            return
        end local 3 // boolean absolute
        end local 2 // java.lang.String name
        end local 1 // java.io.File path
        end local 0 // org.jruby.runtime.load.LoadServiceResource this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    6     0      this  Lorg/jruby/runtime/load/LoadServiceResource;
            0    6     1      path  Ljava/io/File;
            0    6     2      name  Ljava/lang/String;
            0    6     3  absolute  Z
    MethodParameters:
          Name  Flags
      path      
      name      
      absolute  

  public java.io.InputStream getInputStream();
    descriptor: ()Ljava/io/InputStream;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=5, args_size=1
        start local 0 // org.jruby.runtime.load.LoadServiceResource this
         0: .line 84
            aload 0 /* this */
            getfield org.jruby.runtime.load.LoadServiceResource.resource:Ljava/net/URL;
            ifnull 8
         1: .line 85
            aload 0 /* this */
            getfield org.jruby.runtime.load.LoadServiceResource.resource:Ljava/net/URL;
            invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
            astore 1 /* is */
        start local 1 // java.io.InputStream is
         2: .line 87
            new org.jruby.runtime.load.LoadServiceResourceInputStream
            dup
            aload 1 /* is */
            invokespecial org.jruby.runtime.load.LoadServiceResourceInputStream.<init>:(Ljava/io/InputStream;)V
            astore 3
         3: .line 89
            aload 1 /* is */
            invokevirtual java.io.InputStream.close:()V
         4: .line 87
            aload 3
            areturn
         5: .line 88
      StackMap locals: org.jruby.runtime.load.LoadServiceResource java.io.InputStream
      StackMap stack: java.lang.Throwable
            astore 2
         6: .line 89
            aload 1 /* is */
            invokevirtual java.io.InputStream.close:()V
         7: .line 90
            aload 2
            athrow
        end local 1 // java.io.InputStream is
         8: .line 92
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.jruby.runtime.load.LoadServiceResource.path:Ljava/io/File;
            invokevirtual java.io.File.length:()J
            l2i
            newarray 8
            astore 1 /* bytes */
        start local 1 // byte[] bytes
         9: .line 93
            aload 1 /* bytes */
            invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
            astore 2 /* buffer */
        start local 2 // java.nio.ByteBuffer buffer
        10: .line 94
            new java.io.FileInputStream
            dup
            aload 0 /* this */
            getfield org.jruby.runtime.load.LoadServiceResource.path:Ljava/io/File;
            invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
            astore 3 /* fis */
        start local 3 // java.io.FileInputStream fis
        11: .line 95
            aload 3 /* fis */
            invokevirtual java.io.FileInputStream.getChannel:()Ljava/nio/channels/FileChannel;
            astore 4 /* fc */
        start local 4 // java.nio.channels.FileChannel fc
        12: .line 96
            aload 4 /* fc */
            aload 2 /* buffer */
            invokevirtual java.nio.channels.FileChannel.read:(Ljava/nio/ByteBuffer;)I
            pop
        13: .line 97
            aload 3 /* fis */
            invokevirtual java.io.FileInputStream.close:()V
        14: .line 98
            new org.jruby.runtime.load.LoadServiceResourceInputStream
            dup
            aload 1 /* bytes */
            invokespecial org.jruby.runtime.load.LoadServiceResourceInputStream.<init>:([B)V
            areturn
        end local 4 // java.nio.channels.FileChannel fc
        end local 3 // java.io.FileInputStream fis
        end local 2 // java.nio.ByteBuffer buffer
        end local 1 // byte[] bytes
        end local 0 // org.jruby.runtime.load.LoadServiceResource this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   15     0    this  Lorg/jruby/runtime/load/LoadServiceResource;
            2    8     1      is  Ljava/io/InputStream;
            9   15     1   bytes  [B
           10   15     2  buffer  Ljava/nio/ByteBuffer;
           11   15     3     fis  Ljava/io/FileInputStream;
           12   15     4      fc  Ljava/nio/channels/FileChannel;
      Exception table:
        from    to  target  type
           2     3       5  any
    Exceptions:
      throws java.io.IOException

  public java.lang.String getName();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.runtime.load.LoadServiceResource this
         0: .line 102
            aload 0 /* this */
            getfield org.jruby.runtime.load.LoadServiceResource.name:Ljava/lang/String;
            areturn
        end local 0 // org.jruby.runtime.load.LoadServiceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/runtime/load/LoadServiceResource;

  public java.io.File getPath();
    descriptor: ()Ljava/io/File;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.runtime.load.LoadServiceResource this
         0: .line 106
            aload 0 /* this */
            getfield org.jruby.runtime.load.LoadServiceResource.path:Ljava/io/File;
            areturn
        end local 0 // org.jruby.runtime.load.LoadServiceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/runtime/load/LoadServiceResource;

  public java.net.URL getURL();
    descriptor: ()Ljava/net/URL;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=1
        start local 0 // org.jruby.runtime.load.LoadServiceResource this
         0: .line 110
            aload 0 /* this */
            getfield org.jruby.runtime.load.LoadServiceResource.resource:Ljava/net/URL;
            ifnull 2
         1: .line 111
            aload 0 /* this */
            getfield org.jruby.runtime.load.LoadServiceResource.resource:Ljava/net/URL;
            areturn
         2: .line 113
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.jruby.runtime.load.LoadServiceResource.path:Ljava/io/File;
            invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
            astore 1 /* absolutePath */
        start local 1 // java.lang.String absolutePath
         3: .line 115
            new java.net.URI
            dup
            ldc "file"
            aload 1 /* absolutePath */
            aconst_null
            invokespecial java.net.URI.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
            invokevirtual java.net.URI.toURL:()Ljava/net/URL;
         4: areturn
         5: .line 116
      StackMap locals: org.jruby.runtime.load.LoadServiceResource java.lang.String
      StackMap stack: java.net.URISyntaxException
            pop
         6: .line 123
            new java.net.URI
            dup
            ldc "file"
            aload 1 /* absolutePath */
            invokestatic org.jruby.runtime.load.LoadServiceResource.escapeReservedChars:(Ljava/lang/String;)Ljava/lang/String;
            aconst_null
            invokespecial java.net.URI.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
            invokevirtual java.net.URI.toURL:()Ljava/net/URL;
         7: areturn
         8: .line 124
      StackMap locals:
      StackMap stack: java.net.URISyntaxException
            astore 2 /* ee */
        start local 2 // java.net.URISyntaxException ee
         9: .line 125
            new java.io.IOException
            dup
            aload 2 /* ee */
            invokevirtual java.net.URISyntaxException.getMessage:()Ljava/lang/String;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        end local 2 // java.net.URISyntaxException ee
        end local 1 // java.lang.String absolutePath
        end local 0 // org.jruby.runtime.load.LoadServiceResource this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   10     0          this  Lorg/jruby/runtime/load/LoadServiceResource;
            3   10     1  absolutePath  Ljava/lang/String;
            9   10     2            ee  Ljava/net/URISyntaxException;
      Exception table:
        from    to  target  type
           3     4       5  Class java.net.URISyntaxException
           6     7       8  Class java.net.URISyntaxException
    Exceptions:
      throws java.io.IOException

  private static java.lang.String escapeReservedChars(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // java.lang.String path
         0: .line 136
            aload 0 /* path */
            astore 1 /* str */
        start local 1 // java.lang.String str
         1: .line 137
            aload 1 /* str */
            ldc "["
            ldc "%5b"
            invokestatic org.jruby.util.StringSupport.replaceAll:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/CharSequence;
            invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
            astore 1 /* str */
         2: .line 138
            aload 1 /* str */
            ldc "]"
            ldc "%5a"
            invokestatic org.jruby.util.StringSupport.replaceAll:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/CharSequence;
            invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
            astore 1 /* str */
         3: .line 139
            aload 1 /* str */
            areturn
        end local 1 // java.lang.String str
        end local 0 // java.lang.String path
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  path  Ljava/lang/String;
            1    4     1   str  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      path  

  public java.lang.String getAbsolutePath();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // org.jruby.runtime.load.LoadServiceResource this
         0: .line 143
            aload 0 /* this */
            getfield org.jruby.runtime.load.LoadServiceResource.absolutePath:Ljava/lang/String;
            ifnull 1
            aload 0 /* this */
            getfield org.jruby.runtime.load.LoadServiceResource.absolutePath:Ljava/lang/String;
            areturn
         1: .line 146
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            new java.io.File
            dup
            aload 0 /* this */
            invokevirtual org.jruby.runtime.load.LoadServiceResource.getURL:()Ljava/net/URL;
            invokestatic org.jruby.util.URLUtil.getPath:(Ljava/net/URL;)Ljava/lang/String;
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
            dup_x1
            putfield org.jruby.runtime.load.LoadServiceResource.absolutePath:Ljava/lang/String;
         2: areturn
         3: .line 147
      StackMap locals:
      StackMap stack: java.io.IOException
            pop
         4: .line 148
            aload 0 /* this */
            aload 0 /* this */
            getfield org.jruby.runtime.load.LoadServiceResource.resource:Ljava/net/URL;
            invokevirtual java.net.URL.toString:()Ljava/lang/String;
            dup_x1
            putfield org.jruby.runtime.load.LoadServiceResource.absolutePath:Ljava/lang/String;
            areturn
        end local 0 // org.jruby.runtime.load.LoadServiceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/jruby/runtime/load/LoadServiceResource;
      Exception table:
        from    to  target  type
           1     2       3  Class java.io.IOException

  public boolean isAbsolute();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.runtime.load.LoadServiceResource this
         0: .line 153
            aload 0 /* this */
            getfield org.jruby.runtime.load.LoadServiceResource.absolute:Z
            ireturn
        end local 0 // org.jruby.runtime.load.LoadServiceResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/runtime/load/LoadServiceResource;
}
SourceFile: "LoadServiceResource.java"