class org.xml.sax.helpers.NewInstance
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.xml.sax.helpers.NewInstance
  super_class: java.lang.Object
{
  private static final java.lang.String DEFAULT_PACKAGE;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "com.sun.org.apache.xerces.internal"

  private static final java.lang.String DEFAULT_CLASS;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "com.sun.org.apache.xerces.internal.parsers.SAXParser"

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

  static <T> T newInstance(java.lang.Class<T>, java.lang.ClassLoader, java.lang.String);
    descriptor: (Ljava/lang/Class;Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/lang/Object;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=8, args_size=3
        start local 0 // java.lang.Class type
        start local 1 // java.lang.ClassLoader loader
        start local 2 // java.lang.String clsName
         0: .line 71
            aload 1 /* loader */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.ClassLoader
            astore 3 /* classLoader */
        start local 3 // java.lang.ClassLoader classLoader
         1: .line 72
            aload 2 /* clsName */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.String
            astore 4 /* className */
        start local 4 // java.lang.String className
         2: .line 75
            aload 4 /* className */
            ldc "com.sun.org.apache.xerces.internal.parsers.SAXParser"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 4
         3: .line 76
            aload 0 /* type */
            new com.sun.org.apache.xerces.internal.parsers.SAXParser
            dup
            invokespecial com.sun.org.apache.xerces.internal.parsers.SAXParser.<init>:()V
            invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
            areturn
         4: .line 80
      StackMap locals: java.lang.ClassLoader java.lang.String
      StackMap stack:
            iconst_0
            istore 5 /* internal */
        start local 5 // boolean internal
         5: .line 81
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            ifnull 8
         6: .line 82
            aload 4 /* className */
            ifnull 8
            aload 4 /* className */
            ldc "com.sun.org.apache.xerces.internal"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 8
         7: .line 83
            iconst_1
            istore 5 /* internal */
         8: .line 88
      StackMap locals: int
      StackMap stack:
            aload 3 /* classLoader */
            ifnull 9
            iload 5 /* internal */
            ifeq 11
         9: .line 89
      StackMap locals:
      StackMap stack:
            aload 4 /* className */
            invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
            astore 6 /* driverClass */
        start local 6 // java.lang.Class driverClass
        10: .line 90
            goto 12
        end local 6 // java.lang.Class driverClass
        11: .line 91
      StackMap locals:
      StackMap stack:
            aload 3 /* classLoader */
            aload 4 /* className */
            invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
            astore 6 /* driverClass */
        start local 6 // java.lang.Class driverClass
        12: .line 95
      StackMap locals: java.lang.Class
      StackMap stack:
            aload 0 /* type */
            aload 6 /* driverClass */
            iconst_0
            anewarray java.lang.Class
            invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
            iconst_0
            anewarray java.lang.Object
            invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
            invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
        13: areturn
        14: .line 96
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 7 /* ex */
        start local 7 // java.lang.Exception ex
        15: .line 97
            new java.lang.InstantiationException
            dup
            aload 7 /* ex */
            invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
            invokespecial java.lang.InstantiationException.<init>:(Ljava/lang/String;)V
            athrow
        end local 7 // java.lang.Exception ex
        end local 6 // java.lang.Class driverClass
        end local 5 // boolean internal
        end local 4 // java.lang.String className
        end local 3 // java.lang.ClassLoader classLoader
        end local 2 // java.lang.String clsName
        end local 1 // java.lang.ClassLoader loader
        end local 0 // java.lang.Class type
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   16     0         type  Ljava/lang/Class<TT;>;
            0   16     1       loader  Ljava/lang/ClassLoader;
            0   16     2      clsName  Ljava/lang/String;
            1   16     3  classLoader  Ljava/lang/ClassLoader;
            2   16     4    className  Ljava/lang/String;
            5   16     5     internal  Z
           10   11     6  driverClass  Ljava/lang/Class<*>;
           12   16     6  driverClass  Ljava/lang/Class<*>;
           15   16     7           ex  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
          12    13      14  Class java.lang.NoSuchMethodException
          12    13      14  Class java.lang.SecurityException
          12    13      14  Class java.lang.reflect.InvocationTargetException
    Exceptions:
      throws java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.InstantiationException
    Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Ljava/lang/ClassLoader;Ljava/lang/String;)TT;
    MethodParameters:
         Name  Flags
      type     
      loader   
      clsName  
}
SourceFile: "NewInstance.java"