public final class io.dropwizard.util.Resources
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: io.dropwizard.util.Resources
  super_class: java.lang.Object
{
  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // io.dropwizard.util.Resources this
         0: .line 14
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 15
            return
        end local 0 // io.dropwizard.util.Resources this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lio/dropwizard/util/Resources;

  public static java.net.URL getResource(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/net/URL;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=4, args_size=1
        start local 0 // java.lang.String resourceName
         0: .line 30
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
            astore 1 /* contextClassLoader */
        start local 1 // java.lang.ClassLoader contextClassLoader
         1: .line 31
            aload 1 /* contextClassLoader */
            ifnonnull 2
            ldc Lio/dropwizard/util/Resources;
            invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
            goto 3
      StackMap locals: java.lang.ClassLoader
      StackMap stack:
         2: aload 1 /* contextClassLoader */
      StackMap locals:
      StackMap stack: java.lang.ClassLoader
         3: astore 2 /* loader */
        start local 2 // java.lang.ClassLoader loader
         4: .line 32
            aload 2 /* loader */
            aload 0 /* resourceName */
            invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
            astore 3 /* url */
        start local 3 // java.net.URL url
         5: .line 33
            aload 3 /* url */
            ifnonnull 7
         6: .line 34
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "resource "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* resourceName */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " not found."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 36
      StackMap locals: java.lang.ClassLoader java.net.URL
      StackMap stack:
            aload 3 /* url */
            areturn
        end local 3 // java.net.URL url
        end local 2 // java.lang.ClassLoader loader
        end local 1 // java.lang.ClassLoader contextClassLoader
        end local 0 // java.lang.String resourceName
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0    8     0        resourceName  Ljava/lang/String;
            1    8     1  contextClassLoader  Ljava/lang/ClassLoader;
            4    8     2              loader  Ljava/lang/ClassLoader;
            5    8     3                 url  Ljava/net/URL;
    MethodParameters:
              Name  Flags
      resourceName  

  public static byte[] toByteArray(java.net.URL);
    descriptor: (Ljava/net/URL;)[B
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=4, args_size=1
        start local 0 // java.net.URL url
         0: .line 47
            aconst_null
            astore 1
            aconst_null
            astore 2
         1: aload 0 /* url */
            invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
            astore 3 /* inputStream */
        start local 3 // java.io.InputStream inputStream
         2: .line 48
            aload 3 /* inputStream */
            invokestatic io.dropwizard.util.ByteStreams.toByteArray:(Ljava/io/InputStream;)[B
         3: .line 49
            aload 3 /* inputStream */
            ifnull 4
            aload 3 /* inputStream */
            invokevirtual java.io.InputStream.close:()V
         4: .line 48
      StackMap locals: java.net.URL java.lang.Throwable java.lang.Throwable java.io.InputStream
      StackMap stack: byte[]
            areturn
      StackMap locals:
      StackMap stack: java.lang.Throwable
         5: astore 1
         6: .line 49
            aload 3 /* inputStream */
            ifnull 7
            aload 3 /* inputStream */
            invokevirtual java.io.InputStream.close:()V
        end local 3 // java.io.InputStream inputStream
      StackMap locals:
      StackMap stack:
         7: aload 1
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
         8: astore 2
            aload 1
            ifnonnull 9
            aload 2
            astore 1
            goto 10
      StackMap locals:
      StackMap stack:
         9: aload 1
            aload 2
            if_acmpeq 10
            aload 1
            aload 2
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        10: aload 1
            athrow
        end local 0 // java.net.URL url
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   11     0          url  Ljava/net/URL;
            2    7     3  inputStream  Ljava/io/InputStream;
      Exception table:
        from    to  target  type
           2     3       5  any
           1     4       8  any
           5     8       8  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      url   

  public static java.lang.String toString(java.net.URL, java.nio.charset.Charset);
    descriptor: (Ljava/net/URL;Ljava/nio/charset/Charset;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=5, args_size=2
        start local 0 // java.net.URL url
        start local 1 // java.nio.charset.Charset charset
         0: .line 62
            aconst_null
            astore 2
            aconst_null
            astore 3
         1: aload 0 /* url */
            invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
            astore 4 /* inputStream */
        start local 4 // java.io.InputStream inputStream
         2: .line 63
            new java.io.InputStreamReader
            dup
            aload 4 /* inputStream */
            aload 1 /* charset */
            invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V
            invokestatic io.dropwizard.util.CharStreams.toString:(Ljava/io/Reader;)Ljava/lang/String;
         3: .line 64
            aload 4 /* inputStream */
            ifnull 4
            aload 4 /* inputStream */
            invokevirtual java.io.InputStream.close:()V
         4: .line 63
      StackMap locals: java.net.URL java.nio.charset.Charset java.lang.Throwable java.lang.Throwable java.io.InputStream
      StackMap stack: java.lang.String
            areturn
      StackMap locals:
      StackMap stack: java.lang.Throwable
         5: astore 2
         6: .line 64
            aload 4 /* inputStream */
            ifnull 7
            aload 4 /* inputStream */
            invokevirtual java.io.InputStream.close:()V
        end local 4 // java.io.InputStream inputStream
      StackMap locals:
      StackMap stack:
         7: aload 2
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
         8: astore 3
            aload 2
            ifnonnull 9
            aload 3
            astore 2
            goto 10
      StackMap locals:
      StackMap stack:
         9: aload 2
            aload 3
            if_acmpeq 10
            aload 2
            aload 3
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        10: aload 2
            athrow
        end local 1 // java.nio.charset.Charset charset
        end local 0 // java.net.URL url
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   11     0          url  Ljava/net/URL;
            0   11     1      charset  Ljava/nio/charset/Charset;
            2    7     4  inputStream  Ljava/io/InputStream;
      Exception table:
        from    to  target  type
           2     3       5  any
           1     4       8  any
           5     8       8  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      url      
      charset  

  public static void copy(java.net.URL, java.io.OutputStream);
    descriptor: (Ljava/net/URL;Ljava/io/OutputStream;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=5, args_size=2
        start local 0 // java.net.URL from
        start local 1 // java.io.OutputStream to
         0: .line 75
            aconst_null
            astore 2
            aconst_null
            astore 3
         1: aload 0 /* from */
            invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
            astore 4 /* inputStream */
        start local 4 // java.io.InputStream inputStream
         2: .line 76
            aload 4 /* inputStream */
            aload 1 /* to */
            invokestatic io.dropwizard.util.ByteStreams.copy:(Ljava/io/InputStream;Ljava/io/OutputStream;)V
         3: .line 77
            aload 4 /* inputStream */
            ifnull 9
            aload 4 /* inputStream */
            invokevirtual java.io.InputStream.close:()V
            goto 9
      StackMap locals: java.net.URL java.io.OutputStream java.lang.Throwable java.lang.Throwable java.io.InputStream
      StackMap stack: java.lang.Throwable
         4: astore 2
            aload 4 /* inputStream */
            ifnull 5
            aload 4 /* inputStream */
            invokevirtual java.io.InputStream.close:()V
        end local 4 // java.io.InputStream inputStream
      StackMap locals:
      StackMap stack:
         5: aload 2
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
         6: astore 3
            aload 2
            ifnonnull 7
            aload 3
            astore 2
            goto 8
      StackMap locals:
      StackMap stack:
         7: aload 2
            aload 3
            if_acmpeq 8
            aload 2
            aload 3
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
         8: aload 2
            athrow
         9: .line 78
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.io.OutputStream to
        end local 0 // java.net.URL from
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   10     0         from  Ljava/net/URL;
            0   10     1           to  Ljava/io/OutputStream;
            2    5     4  inputStream  Ljava/io/InputStream;
      Exception table:
        from    to  target  type
           2     3       4  any
           1     6       6  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      from  
      to    
}
SourceFile: "Resources.java"