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
{
  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 125
            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;

  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 128
            aload 0 /* classpathEntry */
            ldc ".jar"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifeq 4
         1: .line 129
            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 130
            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 132
      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 135
            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 178
            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  

  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 182
            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
         1: .line 183
            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
         2: .line 184
            aload 4 /* c */
            invokevirtual java.lang.Class.getDeclaredMethods:()[Ljava/lang/reflect/Method;
            dup
            astore 9
            arraylength
            istore 8
            iconst_0
            istore 7
            goto 6
      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:
         3: aload 9
            iload 7
            aaload
            astore 6 /* method */
        start local 6 // java.lang.reflect.Method method
         4: .line 185
            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
         5: .line 184
            iinc 7 1
      StackMap locals:
      StackMap stack:
         6: iload 7
            iload 8
            if_icmplt 3
         7: .line 187
            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    8     0               this  Lorg/graalvm/compiler/replacements/test/classfile/ClassfileBytecodeProviderTest;
            0    8     1         metaAccess  Ljdk/vm/ci/meta/MetaAccessProvider;
            0    8     2  snippetReflection  Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
            0    8     3          className  Ljava/lang/String;
            1    8     4                  c  Ljava/lang/Class<*>;
            2    8     5                cbp  Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider;
            4    5     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 190
            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 191
            aload 3 /* method */
            invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.hasBytecodes:()Z
            ifeq 5
         2: .line 192
            new org.graalvm.compiler.bytecode.ResolvedJavaMethodBytecode
            dup
            aload 3 /* method */
            invokespecial org.graalvm.compiler.bytecode.ResolvedJavaMethodBytecode.<init>:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)V
            astore 4 /* expected */
        start local 4 // org.graalvm.compiler.bytecode.ResolvedJavaMethodBytecode expected
         3: .line 193
            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 5 /* actual */
        start local 5 // org.graalvm.compiler.bytecode.Bytecode actual
         4: .line 194
            new org.graalvm.compiler.replacements.test.classfile.ClassfileBytecodeProviderTest$BytecodeComparer
            dup
            aload 4 /* expected */
            aload 5 /* 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.Bytecode actual
        end local 4 // org.graalvm.compiler.bytecode.ResolvedJavaMethodBytecode expected
         5: .line 196
      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    6     0         cbp  Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider;
            0    6     1  metaAccess  Ljdk/vm/ci/meta/MetaAccessProvider;
            0    6     2  executable  Ljava/lang/reflect/Executable;
            1    6     3      method  Ljdk/vm/ci/meta/ResolvedJavaMethod;
            3    5     4    expected  Lorg/graalvm/compiler/bytecode/ResolvedJavaMethodBytecode;
            4    5     5      actual  Lorg/graalvm/compiler/bytecode/Bytecode;
    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 200
            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 201
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 2 /* e */
        start local 2 // java.lang.Throwable e
         3: .line 202
            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    4     0     cbp  Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider;
            0    4     1  method  Ljdk/vm/ci/meta/ResolvedJavaMethod;
            3    4     2       e  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           0     1       2  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