public class org.graalvm.compiler.replacements.test.classfile.ClassfileBytecodeProviderTest extends org.graalvm.compiler.core.test.GraalCompilerTest
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.graalvm.compiler.replacements.test.classfile.ClassfileBytecodeProviderTest
  super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
  private static final int CLASSES_PER_JAR;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 250

  public static final java.lang.String JRT_CLASS_PATH_ENTRY;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: "<jrt>"

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.replacements.test.classfile.ClassfileBytecodeProviderTest this
         0: .line 128
            aload 0 /* this */
            invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.<init>:()V
            return
        end local 0 // org.graalvm.compiler.replacements.test.classfile.ClassfileBytecodeProviderTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/replacements/test/classfile/ClassfileBytecodeProviderTest;

  public void checkJavaAgent();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.replacements.test.classfile.ClassfileBytecodeProviderTest this
         0: .line 130
            new java.lang.Error
            dup
            ldc "Unresolved compilation problems: \n\tBefore cannot be resolved to a type\n\tAssume cannot be resolved\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // org.graalvm.compiler.replacements.test.classfile.ClassfileBytecodeProviderTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/replacements/test/classfile/ClassfileBytecodeProviderTest;
    RuntimeInvisibleAnnotations: 
      Before()

  private static boolean shouldProcess(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // java.lang.String classpathEntry
         0: .line 137
            aload 0 /* classpathEntry */
            ldc ".jar"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifeq 4
         1: .line 138
            new java.io.File
            dup
            aload 0 /* classpathEntry */
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            invokevirtual java.io.File.getName:()Ljava/lang/String;
            astore 1 /* name */
        start local 1 // java.lang.String name
         2: .line 139
            aload 1 /* name */
            ldc "jvmci"
            invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
            ifne 3
            aload 1 /* name */
            ldc "graal"
            invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
            ifne 3
            iconst_0
            ireturn
      StackMap locals: java.lang.String
      StackMap stack:
         3: iconst_1
            ireturn
        end local 1 // java.lang.String name
         4: .line 141
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 0 // java.lang.String classpathEntry
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    5     0  classpathEntry  Ljava/lang/String;
            2    4     1            name  Ljava/lang/String;
    MethodParameters:
                Name  Flags
      classpathEntry  

  public void test();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.replacements.test.classfile.ClassfileBytecodeProviderTest this
         0: .line 155
            new java.lang.Error
            dup
            ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssume cannot be resolved\n\tAssert cannot be resolved\n\tAssert cannot be resolved\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // org.graalvm.compiler.replacements.test.classfile.ClassfileBytecodeProviderTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/replacements/test/classfile/ClassfileBytecodeProviderTest;
    RuntimeInvisibleAnnotations: 
      Test()

  private static boolean isInNativeImage(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.String className
         0: .line 238
            aload 0 /* className */
            ldc "org.graalvm.nativeimage"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ireturn
        end local 0 // java.lang.String className
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0  className  Ljava/lang/String;
    MethodParameters:
           Name  Flags
      className  

  private static boolean isGSON(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.String className
         0: .line 242
            aload 0 /* className */
            ldc "com.google.gson"
            invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
            ireturn
        end local 0 // java.lang.String className
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0  className  Ljava/lang/String;
    MethodParameters:
           Name  Flags
      className  

  protected void checkClass(jdk.vm.ci.meta.MetaAccessProvider, org.graalvm.compiler.api.replacements.SnippetReflectionProvider, java.lang.String);
    descriptor: (Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;Ljava/lang/String;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=10, args_size=4
        start local 0 // org.graalvm.compiler.replacements.test.classfile.ClassfileBytecodeProviderTest this
        start local 1 // jdk.vm.ci.meta.MetaAccessProvider metaAccess
        start local 2 // org.graalvm.compiler.api.replacements.SnippetReflectionProvider snippetReflection
        start local 3 // java.lang.String className
         0: .line 246
            aload 3 /* className */
            ldc "jdk.vm.ci.services.JVMCIClassLoaderFactory"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 2
         1: .line 248
            return
         2: .line 250
      StackMap locals:
      StackMap stack:
            aload 3 /* className */
            iconst_1
            aload 0 /* this */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
            invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
            astore 4 /* c */
        start local 4 // java.lang.Class c
         3: .line 251
            new org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider
            dup
            aload 1 /* metaAccess */
            aload 2 /* snippetReflection */
            invokespecial org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.<init>:(Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;)V
            astore 5 /* cbp */
        start local 5 // org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider cbp
         4: .line 252
            aload 4 /* c */
            invokevirtual java.lang.Class.getDeclaredMethods:()[Ljava/lang/reflect/Method;
            dup
            astore 9
            arraylength
            istore 8
            iconst_0
            istore 7
            goto 8
      StackMap locals: org.graalvm.compiler.replacements.test.classfile.ClassfileBytecodeProviderTest jdk.vm.ci.meta.MetaAccessProvider org.graalvm.compiler.api.replacements.SnippetReflectionProvider java.lang.String java.lang.Class org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider top int int java.lang.reflect.Method[]
      StackMap stack:
         5: aload 9
            iload 7
            aaload
            astore 6 /* method */
        start local 6 // java.lang.reflect.Method method
         6: .line 253
            aload 5 /* cbp */
            aload 1 /* metaAccess */
            aload 6 /* method */
            invokestatic org.graalvm.compiler.replacements.test.classfile.ClassfileBytecodeProviderTest.checkMethod:(Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider;Ljdk/vm/ci/meta/MetaAccessProvider;Ljava/lang/reflect/Executable;)V
        end local 6 // java.lang.reflect.Method method
         7: .line 252
            iinc 7 1
      StackMap locals:
      StackMap stack:
         8: iload 7
            iload 8
            if_icmplt 5
         9: .line 255
            return
        end local 5 // org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider cbp
        end local 4 // java.lang.Class c
        end local 3 // java.lang.String className
        end local 2 // org.graalvm.compiler.api.replacements.SnippetReflectionProvider snippetReflection
        end local 1 // jdk.vm.ci.meta.MetaAccessProvider metaAccess
        end local 0 // org.graalvm.compiler.replacements.test.classfile.ClassfileBytecodeProviderTest this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   10     0               this  Lorg/graalvm/compiler/replacements/test/classfile/ClassfileBytecodeProviderTest;
            0   10     1         metaAccess  Ljdk/vm/ci/meta/MetaAccessProvider;
            0   10     2  snippetReflection  Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
            0   10     3          className  Ljava/lang/String;
            3   10     4                  c  Ljava/lang/Class<*>;
            4   10     5                cbp  Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider;
            6    7     6             method  Ljava/lang/reflect/Method;
    Exceptions:
      throws java.lang.ClassNotFoundException
    MethodParameters:
                   Name  Flags
      metaAccess         
      snippetReflection  
      className          

  private static void checkMethod(org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider, jdk.vm.ci.meta.MetaAccessProvider, java.lang.reflect.Executable);
    descriptor: (Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider;Ljdk/vm/ci/meta/MetaAccessProvider;Ljava/lang/reflect/Executable;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=6, args_size=3
        start local 0 // org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider cbp
        start local 1 // jdk.vm.ci.meta.MetaAccessProvider metaAccess
        start local 2 // java.lang.reflect.Executable executable
         0: .line 258
            aload 1 /* metaAccess */
            aload 2 /* executable */
            invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaMethod:(Ljava/lang/reflect/Executable;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
            astore 3 /* method */
        start local 3 // jdk.vm.ci.meta.ResolvedJavaMethod method
         1: .line 259
            aload 3 /* method */
            invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.hasBytecodes:()Z
            ifeq 6
         2: .line 260
            aload 0 /* cbp */
            aload 3 /* method */
            invokestatic org.graalvm.compiler.replacements.test.classfile.ClassfileBytecodeProviderTest.getBytecode:(Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider;Ljdk/vm/ci/meta/ResolvedJavaMethod;)Lorg/graalvm/compiler/bytecode/Bytecode;
            astore 4 /* actual */
        start local 4 // org.graalvm.compiler.bytecode.Bytecode actual
         3: .line 261
            aload 4 /* actual */
            ifnull 6
         4: .line 262
            new org.graalvm.compiler.bytecode.ResolvedJavaMethodBytecode
            dup
            aload 3 /* method */
            invokespecial org.graalvm.compiler.bytecode.ResolvedJavaMethodBytecode.<init>:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)V
            astore 5 /* expected */
        start local 5 // org.graalvm.compiler.bytecode.ResolvedJavaMethodBytecode expected
         5: .line 263
            new org.graalvm.compiler.replacements.test.classfile.ClassfileBytecodeProviderTest$BytecodeComparer
            dup
            aload 5 /* expected */
            aload 4 /* actual */
            invokespecial org.graalvm.compiler.replacements.test.classfile.ClassfileBytecodeProviderTest$BytecodeComparer.<init>:(Lorg/graalvm/compiler/bytecode/Bytecode;Lorg/graalvm/compiler/bytecode/Bytecode;)V
            invokevirtual org.graalvm.compiler.replacements.test.classfile.ClassfileBytecodeProviderTest$BytecodeComparer.compare:()V
        end local 5 // org.graalvm.compiler.bytecode.ResolvedJavaMethodBytecode expected
        end local 4 // org.graalvm.compiler.bytecode.Bytecode actual
         6: .line 266
      StackMap locals: jdk.vm.ci.meta.ResolvedJavaMethod
      StackMap stack:
            return
        end local 3 // jdk.vm.ci.meta.ResolvedJavaMethod method
        end local 2 // java.lang.reflect.Executable executable
        end local 1 // jdk.vm.ci.meta.MetaAccessProvider metaAccess
        end local 0 // org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider cbp
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    7     0         cbp  Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider;
            0    7     1  metaAccess  Ljdk/vm/ci/meta/MetaAccessProvider;
            0    7     2  executable  Ljava/lang/reflect/Executable;
            1    7     3      method  Ljdk/vm/ci/meta/ResolvedJavaMethod;
            3    6     4      actual  Lorg/graalvm/compiler/bytecode/Bytecode;
            5    6     5    expected  Lorg/graalvm/compiler/bytecode/ResolvedJavaMethodBytecode;
    MethodParameters:
            Name  Flags
      cbp         
      metaAccess  
      executable  

  protected static org.graalvm.compiler.bytecode.Bytecode getBytecode(org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider, jdk.vm.ci.meta.ResolvedJavaMethod);
    descriptor: (Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider;Ljdk/vm/ci/meta/ResolvedJavaMethod;)Lorg/graalvm/compiler/bytecode/Bytecode;
    flags: (0x000c) ACC_PROTECTED, ACC_STATIC
    Code:
      stack=8, locals=3, args_size=2
        start local 0 // org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider cbp
        start local 1 // jdk.vm.ci.meta.ResolvedJavaMethod method
         0: .line 270
            aload 0 /* cbp */
            aload 1 /* method */
            invokevirtual org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.getBytecode:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Lorg/graalvm/compiler/bytecode/Bytecode;
         1: areturn
         2: .line 271
      StackMap locals:
      StackMap stack: java.lang.UnsupportedClassVersionError
            pop
         3: .line 274
            aconst_null
            areturn
         4: .line 275
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 2 /* e */
        start local 2 // java.lang.Throwable e
         5: .line 276
            new java.lang.AssertionError
            dup
            ldc "Error getting bytecode for %s"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* method */
            ldc "%H.%n(%p)"
            invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            aload 2 /* e */
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.lang.Throwable e
        end local 1 // jdk.vm.ci.meta.ResolvedJavaMethod method
        end local 0 // org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider cbp
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    6     0     cbp  Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider;
            0    6     1  method  Ljdk/vm/ci/meta/ResolvedJavaMethod;
            5    6     2       e  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.UnsupportedClassVersionError
           0     1       4  Class java.lang.Throwable
    MethodParameters:
        Name  Flags
      cbp     
      method  
}
SourceFile: "ClassfileBytecodeProviderTest.java"
NestMembers:
  org.graalvm.compiler.replacements.test.classfile.ClassfileBytecodeProviderTest$BytecodeComparer
InnerClasses:
  BytecodeComparer = org.graalvm.compiler.replacements.test.classfile.ClassfileBytecodeProviderTest$BytecodeComparer of org.graalvm.compiler.replacements.test.classfile.ClassfileBytecodeProviderTest