public final class org.hibernate.internal.util.ConfigHelper
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: org.hibernate.internal.util.ConfigHelper
  super_class: java.lang.Object
{
  private static final org.hibernate.internal.CoreMessageLogger LOG;
    descriptor: Lorg/hibernate/internal/CoreMessageLogger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 28
            ldc Lorg/hibernate/internal/util/ConfigHelper;
            invokestatic org.hibernate.internal.CoreLogging.messageLogger:(Ljava/lang/Class;)Lorg/hibernate/internal/CoreMessageLogger;
            putstatic org.hibernate.internal.util.ConfigHelper.LOG:Lorg/hibernate/internal/CoreMessageLogger;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static java.net.URL locateConfig(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/net/URL;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.lang.String path
         0: .line 42
            new java.net.URL
            dup
            aload 0 /* path */
            invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
         1: areturn
         2: .line 44
      StackMap locals:
      StackMap stack: java.net.MalformedURLException
            pop
         3: .line 45
            aload 0 /* path */
            invokestatic org.hibernate.internal.util.ConfigHelper.findAsResource:(Ljava/lang/String;)Ljava/net/URL;
            areturn
        end local 0 // java.lang.String path
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  path  Ljava/lang/String;
      Exception table:
        from    to  target  type
           0     1       2  Class java.net.MalformedURLException
    MethodParameters:
      Name  Flags
      path  final

  public static java.net.URL findAsResource(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/net/URL;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // java.lang.String path
         0: .line 59
            aconst_null
            astore 1 /* url */
        start local 1 // java.net.URL url
         1: .line 63
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
            astore 2 /* contextClassLoader */
        start local 2 // java.lang.ClassLoader contextClassLoader
         2: .line 64
            aload 2 /* contextClassLoader */
            ifnull 4
         3: .line 65
            aload 2 /* contextClassLoader */
            aload 0 /* path */
            invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
            astore 1 /* url */
         4: .line 67
      StackMap locals: java.net.URL java.lang.ClassLoader
      StackMap stack:
            aload 1 /* url */
            ifnull 6
         5: .line 68
            aload 1 /* url */
            areturn
         6: .line 72
      StackMap locals:
      StackMap stack:
            ldc Lorg/hibernate/internal/util/ConfigHelper;
            invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
            aload 0 /* path */
            invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
            astore 1 /* url */
         7: .line 73
            aload 1 /* url */
            ifnull 9
         8: .line 74
            aload 1 /* url */
            areturn
         9: .line 78
      StackMap locals:
      StackMap stack:
            invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
            aload 0 /* path */
            invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
            astore 1 /* url */
        10: .line 81
            aload 1 /* url */
            areturn
        end local 2 // java.lang.ClassLoader contextClassLoader
        end local 1 // java.net.URL url
        end local 0 // java.lang.String path
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0   11     0                path  Ljava/lang/String;
            1   11     1                 url  Ljava/net/URL;
            2   11     2  contextClassLoader  Ljava/lang/ClassLoader;
    MethodParameters:
      Name  Flags
      path  final

  public static java.io.InputStream getConfigStream(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/io/InputStream;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=3, args_size=1
        start local 0 // java.lang.String path
         0: .line 96
            aload 0 /* path */
            invokestatic org.hibernate.internal.util.ConfigHelper.locateConfig:(Ljava/lang/String;)Ljava/net/URL;
            astore 1 /* url */
        start local 1 // java.net.URL url
         1: .line 98
            aload 1 /* url */
            ifnonnull 5
         2: .line 99
            getstatic org.hibernate.internal.util.ConfigHelper.LOG:Lorg/hibernate/internal/CoreMessageLogger;
            aload 0 /* path */
            invokeinterface org.hibernate.internal.CoreMessageLogger.unableToLocateConfigFile:(Ljava/lang/String;)Ljava/lang/String;
            astore 2 /* msg */
        start local 2 // java.lang.String msg
         3: .line 100
            getstatic org.hibernate.internal.util.ConfigHelper.LOG:Lorg/hibernate/internal/CoreMessageLogger;
            aload 2 /* msg */
            invokeinterface org.hibernate.internal.CoreMessageLogger.error:(Ljava/lang/Object;)V
         4: .line 101
            new org.hibernate.HibernateException
            dup
            aload 2 /* msg */
            invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;)V
            athrow
        end local 2 // java.lang.String msg
         5: .line 105
      StackMap locals: java.net.URL
      StackMap stack:
            aload 1 /* url */
            invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
         6: areturn
         7: .line 107
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 2 /* e */
        start local 2 // java.io.IOException e
         8: .line 108
            new org.hibernate.HibernateException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Unable to open config file: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* path */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 2 /* e */
            invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.io.IOException e
        end local 1 // java.net.URL url
        end local 0 // java.lang.String path
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  path  Ljava/lang/String;
            1    9     1   url  Ljava/net/URL;
            3    5     2   msg  Ljava/lang/String;
            8    9     2     e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           5     6       7  Class java.io.IOException
    Exceptions:
      throws org.hibernate.HibernateException
    MethodParameters:
      Name  Flags
      path  final

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.hibernate.internal.util.ConfigHelper this
         0: .line 112
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 113
            return
        end local 0 // org.hibernate.internal.util.ConfigHelper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/hibernate/internal/util/ConfigHelper;

  public static java.io.InputStream getResourceAsStream(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/io/InputStream;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=4, args_size=1
        start local 0 // java.lang.String resource
         0: .line 116
            aload 0 /* resource */
            ldc "/"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 2
         1: .line 117
            aload 0 /* resource */
            iconst_1
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            goto 3
         2: .line 118
      StackMap locals:
      StackMap stack:
            aload 0 /* resource */
         3: .line 116
      StackMap locals:
      StackMap stack: java.lang.String
            astore 1 /* stripped */
        start local 1 // java.lang.String stripped
         4: .line 120
            aconst_null
            astore 2 /* stream */
        start local 2 // java.io.InputStream stream
         5: .line 121
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
            astore 3 /* classLoader */
        start local 3 // java.lang.ClassLoader classLoader
         6: .line 122
            aload 3 /* classLoader */
            ifnull 8
         7: .line 123
            aload 3 /* classLoader */
            aload 1 /* stripped */
            invokevirtual java.lang.ClassLoader.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
            astore 2 /* stream */
         8: .line 125
      StackMap locals: java.lang.String java.io.InputStream java.lang.ClassLoader
      StackMap stack:
            aload 2 /* stream */
            ifnonnull 10
         9: .line 126
            ldc Lorg/hibernate/cfg/Environment;
            aload 0 /* resource */
            invokevirtual java.lang.Class.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
            astore 2 /* stream */
        10: .line 128
      StackMap locals:
      StackMap stack:
            aload 2 /* stream */
            ifnonnull 12
        11: .line 129
            ldc Lorg/hibernate/cfg/Environment;
            invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
            aload 1 /* stripped */
            invokevirtual java.lang.ClassLoader.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
            astore 2 /* stream */
        12: .line 131
      StackMap locals:
      StackMap stack:
            aload 2 /* stream */
            ifnonnull 14
        13: .line 132
            new org.hibernate.HibernateException
            dup
            new java.lang.StringBuilder
            dup
            aload 0 /* resource */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " not found"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;)V
            athrow
        14: .line 134
      StackMap locals:
      StackMap stack:
            aload 2 /* stream */
            areturn
        end local 3 // java.lang.ClassLoader classLoader
        end local 2 // java.io.InputStream stream
        end local 1 // java.lang.String stripped
        end local 0 // java.lang.String resource
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   15     0     resource  Ljava/lang/String;
            4   15     1     stripped  Ljava/lang/String;
            5   15     2       stream  Ljava/io/InputStream;
            6   15     3  classLoader  Ljava/lang/ClassLoader;
    MethodParameters:
          Name  Flags
      resource  

  public static java.io.InputStream getUserResourceAsStream(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/io/InputStream;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=5, args_size=1
        start local 0 // java.lang.String resource
         0: .line 139
            aload 0 /* resource */
            ldc "/"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            istore 1 /* hasLeadingSlash */
        start local 1 // boolean hasLeadingSlash
         1: .line 140
            iload 1 /* hasLeadingSlash */
            ifeq 2
            aload 0 /* resource */
            iconst_1
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            goto 3
      StackMap locals: int
      StackMap stack:
         2: aload 0 /* resource */
      StackMap locals:
      StackMap stack: java.lang.String
         3: astore 2 /* stripped */
        start local 2 // java.lang.String stripped
         4: .line 142
            aconst_null
            astore 3 /* stream */
        start local 3 // java.io.InputStream stream
         5: .line 144
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
            astore 4 /* classLoader */
        start local 4 // java.lang.ClassLoader classLoader
         6: .line 145
            aload 4 /* classLoader */
            ifnull 10
         7: .line 146
            aload 4 /* classLoader */
            aload 0 /* resource */
            invokevirtual java.lang.ClassLoader.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
            astore 3 /* stream */
         8: .line 147
            aload 3 /* stream */
            ifnonnull 10
            iload 1 /* hasLeadingSlash */
            ifeq 10
         9: .line 148
            aload 4 /* classLoader */
            aload 2 /* stripped */
            invokevirtual java.lang.ClassLoader.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
            astore 3 /* stream */
        10: .line 152
      StackMap locals: java.lang.String java.io.InputStream java.lang.ClassLoader
      StackMap stack:
            aload 3 /* stream */
            ifnonnull 12
        11: .line 153
            ldc Lorg/hibernate/cfg/Environment;
            invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
            aload 0 /* resource */
            invokevirtual java.lang.ClassLoader.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
            astore 3 /* stream */
        12: .line 155
      StackMap locals:
      StackMap stack:
            aload 3 /* stream */
            ifnonnull 14
            iload 1 /* hasLeadingSlash */
            ifeq 14
        13: .line 156
            ldc Lorg/hibernate/cfg/Environment;
            invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
            aload 2 /* stripped */
            invokevirtual java.lang.ClassLoader.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
            astore 3 /* stream */
        14: .line 159
      StackMap locals:
      StackMap stack:
            aload 3 /* stream */
            ifnonnull 16
        15: .line 160
            new org.hibernate.HibernateException
            dup
            new java.lang.StringBuilder
            dup
            aload 0 /* resource */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " not found"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;)V
            athrow
        16: .line 163
      StackMap locals:
      StackMap stack:
            aload 3 /* stream */
            areturn
        end local 4 // java.lang.ClassLoader classLoader
        end local 3 // java.io.InputStream stream
        end local 2 // java.lang.String stripped
        end local 1 // boolean hasLeadingSlash
        end local 0 // java.lang.String resource
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   17     0         resource  Ljava/lang/String;
            1   17     1  hasLeadingSlash  Z
            4   17     2         stripped  Ljava/lang/String;
            5   17     3           stream  Ljava/io/InputStream;
            6   17     4      classLoader  Ljava/lang/ClassLoader;
    MethodParameters:
          Name  Flags
      resource  
}
SourceFile: "ConfigHelper.java"
    RuntimeVisibleAnnotations: 
      java.lang.Deprecated()