class org.graalvm.compiler.core.test.NewInstanceTest$ClassTemplateLoader extends java.lang.ClassLoader
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.graalvm.compiler.core.test.NewInstanceTest$ClassTemplateLoader
  super_class: java.lang.ClassLoader
{
  private final java.lang.String find;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 101
            ldc Lorg/graalvm/compiler/core/test/NewInstanceTest;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic org.graalvm.compiler.core.test.NewInstanceTest$ClassTemplateLoader.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // org.graalvm.compiler.core.test.NewInstanceTest$ClassTemplateLoader this
        start local 1 // java.lang.String find
        start local 2 // java.lang.String replace
         0: .line 105
            aload 0 /* this */
            invokespecial java.lang.ClassLoader.<init>:()V
         1: .line 106
            getstatic org.graalvm.compiler.core.test.NewInstanceTest$ClassTemplateLoader.$assertionsDisabled:Z
            ifne 2
            aload 1 /* find */
            invokevirtual java.lang.String.length:()I
            aload 2 /* replace */
            invokevirtual java.lang.String.length:()I
            if_icmpeq 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 107
      StackMap locals: org.graalvm.compiler.core.test.NewInstanceTest$ClassTemplateLoader java.lang.String java.lang.String
      StackMap stack:
            aload 0 /* this */
            aload 1 /* find */
            putfield org.graalvm.compiler.core.test.NewInstanceTest$ClassTemplateLoader.find:Ljava/lang/String;
         3: .line 108
            aload 0 /* this */
            aload 2 /* replace */
            putfield org.graalvm.compiler.core.test.NewInstanceTest$ClassTemplateLoader.replace:Ljava/lang/String;
         4: .line 109
            return
        end local 2 // java.lang.String replace
        end local 1 // java.lang.String find
        end local 0 // org.graalvm.compiler.core.test.NewInstanceTest$ClassTemplateLoader this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0     this  Lorg/graalvm/compiler/core/test/NewInstanceTest$ClassTemplateLoader;
            0    5     1     find  Ljava/lang/String;
            0    5     2  replace  Ljava/lang/String;
    MethodParameters:
         Name  Flags
      find     
      replace  

  protected java.lang.Class<?> findClass(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/Class;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.core.test.NewInstanceTest$ClassTemplateLoader this
         0: .line 128
            new java.lang.Error
            dup
            ldc "Unresolved compilation problem: \n\tAssert cannot be resolved\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // org.graalvm.compiler.core.test.NewInstanceTest$ClassTemplateLoader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/core/test/NewInstanceTest$ClassTemplateLoader;
    Exceptions:
      throws java.lang.ClassNotFoundException
    Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
    MethodParameters:
      Name  Flags
      name  final

  private static int indexOfTemplate(byte[], int, java.lang.String);
    descriptor: ([BILjava/lang/String;)I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=6, args_size=3
        start local 0 // byte[] b
        start local 1 // int index
        start local 2 // java.lang.String find
         0: .line 142
            iload 1 /* index */
            istore 3 /* i */
        start local 3 // int i
         1: goto 13
         2: .line 143
      StackMap locals: int
      StackMap stack:
            iconst_1
            istore 4 /* match */
        start local 4 // boolean match
         3: .line 144
            iload 3 /* i */
            istore 5 /* j */
        start local 5 // int j
         4: goto 9
         5: .line 145
      StackMap locals: int int
      StackMap stack:
            aload 0 /* b */
            iload 5 /* j */
            baload
            aload 2 /* find */
            iload 5 /* j */
            iload 3 /* i */
            isub
            invokevirtual java.lang.String.charAt:(I)C
            i2b
            if_icmpeq 8
         6: .line 146
            iconst_0
            istore 4 /* match */
         7: .line 147
            goto 10
         8: .line 144
      StackMap locals:
      StackMap stack:
            iinc 5 /* j */ 1
      StackMap locals:
      StackMap stack:
         9: iload 5 /* j */
            iload 3 /* i */
            aload 2 /* find */
            invokevirtual java.lang.String.length:()I
            iadd
            if_icmplt 5
        end local 5 // int j
        10: .line 150
      StackMap locals:
      StackMap stack:
            iload 4 /* match */
            ifeq 12
        11: .line 151
            iload 3 /* i */
            ireturn
        end local 4 // boolean match
        12: .line 142
      StackMap locals:
      StackMap stack:
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
        13: iload 3 /* i */
            aload 0 /* b */
            arraylength
            if_icmplt 2
        end local 3 // int i
        14: .line 154
            iconst_m1
            ireturn
        end local 2 // java.lang.String find
        end local 1 // int index
        end local 0 // byte[] b
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   15     0      b  [B
            0   15     1  index  I
            0   15     2   find  Ljava/lang/String;
            1   14     3      i  I
            3   12     4  match  Z
            4   10     5      j  I
    MethodParameters:
       Name  Flags
      b      
      index  
      find   

  private static void replaceTemplate(byte[], int, java.lang.String);
    descriptor: ([BILjava/lang/String;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=4, args_size=3
        start local 0 // byte[] b
        start local 1 // int index
        start local 2 // java.lang.String replace
         0: .line 158
            iload 1 /* index */
            istore 3 /* i */
        start local 3 // int i
         1: goto 4
         2: .line 159
      StackMap locals: int
      StackMap stack:
            aload 0 /* b */
            iload 3 /* i */
            aload 2 /* replace */
            iload 3 /* i */
            iload 1 /* index */
            isub
            invokevirtual java.lang.String.charAt:(I)C
            i2b
            bastore
         3: .line 158
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
         4: iload 3 /* i */
            iload 1 /* index */
            aload 2 /* replace */
            invokevirtual java.lang.String.length:()I
            iadd
            if_icmplt 2
        end local 3 // int i
         5: .line 161
            return
        end local 2 // java.lang.String replace
        end local 1 // int index
        end local 0 // byte[] b
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    6     0        b  [B
            0    6     1    index  I
            0    6     2  replace  Ljava/lang/String;
            1    5     3        i  I
    MethodParameters:
         Name  Flags
      b        
      index    
      replace  
}
SourceFile: "NewInstanceTest.java"
NestHost: org.graalvm.compiler.core.test.NewInstanceTest
InnerClasses:
  private ClassTemplateLoader = org.graalvm.compiler.core.test.NewInstanceTest$ClassTemplateLoader of org.graalvm.compiler.core.test.NewInstanceTest