public class org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest 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.RedefineIntrinsicTest
  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.RedefineIntrinsicTest this
         0: .line 61
            aload 0 /* this */
            invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.<init>:()V
            return
        end local 0 // org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/replacements/test/classfile/RedefineIntrinsicTest;

  protected org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration editGraphBuilderConfiguration(org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration);
    descriptor: (Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;)Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=5, locals=5, args_size=2
        start local 0 // org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest this
        start local 1 // org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration conf
         0: .line 82
            aload 1 /* conf */
            invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration.getPlugins:()Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;
            invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins.getInvocationPlugins:()Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins;
            astore 2 /* invocationPlugins */
        start local 2 // org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins invocationPlugins
         1: .line 83
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest.getReplacements:()Lorg/graalvm/compiler/nodes/spi/Replacements;
            invokeinterface org.graalvm.compiler.nodes.spi.Replacements.getReplacementBytecodeProvider:()Lorg/graalvm/compiler/bytecode/BytecodeProvider;
            astore 3 /* replacementBytecodeProvider */
        start local 3 // org.graalvm.compiler.bytecode.BytecodeProvider replacementBytecodeProvider
         2: .line 84
            new org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration
            dup
            aload 2 /* invocationPlugins */
            ldc Lorg/graalvm/compiler/replacements/test/classfile/RedefineIntrinsicTest$Original;
            aload 3 /* replacementBytecodeProvider */
            invokespecial org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration.<init>:(Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins;Ljava/lang/reflect/Type;Lorg/graalvm/compiler/bytecode/BytecodeProvider;)V
            astore 4 /* r */
        start local 4 // org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration r
         3: .line 85
            aload 4 /* r */
            ldc Lorg/graalvm/compiler/replacements/test/classfile/RedefineIntrinsicTest$Intrinsic;
            ldc "getValue"
            iconst_0
            anewarray java.lang.reflect.Type
            invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration.registerMethodSubstitution:(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/reflect/Type;)V
         4: .line 86
            aload 0 /* this */
            aload 1 /* conf */
            invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.editGraphBuilderConfiguration:(Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;)Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
            areturn
        end local 4 // org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration r
        end local 3 // org.graalvm.compiler.bytecode.BytecodeProvider replacementBytecodeProvider
        end local 2 // org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins invocationPlugins
        end local 1 // org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration conf
        end local 0 // org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest this
      LocalVariableTable:
        Start  End  Slot                         Name  Signature
            0    5     0                         this  Lorg/graalvm/compiler/replacements/test/classfile/RedefineIntrinsicTest;
            0    5     1                         conf  Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
            1    5     2            invocationPlugins  Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins;
            2    5     3  replacementBytecodeProvider  Lorg/graalvm/compiler/bytecode/BytecodeProvider;
            3    5     4                            r  Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins$Registration;
    MethodParameters:
      Name  Flags
      conf  

  public static java.lang.String callOriginalGetValue();
    descriptor: ()Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 91
            invokestatic org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest$Original.getValue:()Ljava/lang/String;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static java.lang.String callIntrinsicGetValue();
    descriptor: ()Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 96
            invokestatic org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest$Intrinsic.getValue:()Ljava/lang/String;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  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.RedefineIntrinsicTest this
         0: .line 99
            new java.lang.Error
            dup
            ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n\tAssert 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.RedefineIntrinsicTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/replacements/test/classfile/RedefineIntrinsicTest;
    Exceptions:
      throws java.lang.Throwable
    RuntimeInvisibleAnnotations: 
      Test()

  static void add(java.util.jar.JarOutputStream, java.lang.Class<?>);
    descriptor: (Ljava/util/jar/JarOutputStream;Ljava/lang/Class;)V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=5, locals=7, args_size=2
        start local 0 // java.util.jar.JarOutputStream jar
        start local 1 // java.lang.Class c
         0: .line 136
            aload 1 /* c */
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            astore 2 /* name */
        start local 2 // java.lang.String name
         1: .line 137
            new java.lang.StringBuilder
            dup
            aload 2 /* name */
            bipush 46
            bipush 47
            invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc ".class"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 3 /* classAsPath */
        start local 3 // java.lang.String classAsPath
         2: .line 138
            aload 0 /* jar */
            new java.util.jar.JarEntry
            dup
            aload 3 /* classAsPath */
            invokespecial java.util.jar.JarEntry.<init>:(Ljava/lang/String;)V
            invokevirtual java.util.jar.JarOutputStream.putNextEntry:(Ljava/util/zip/ZipEntry;)V
         3: .line 140
            aload 1 /* c */
            invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
            aload 3 /* classAsPath */
            invokevirtual java.lang.ClassLoader.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
            astore 4 /* stream */
        start local 4 // java.io.InputStream stream
         4: .line 143
            sipush 1024
            newarray 8
            astore 6 /* buf */
        start local 6 // byte[] buf
         5: .line 144
            goto 7
        start local 5 // int nRead
         6: .line 145
      StackMap locals: java.util.jar.JarOutputStream java.lang.Class java.lang.String java.lang.String java.io.InputStream int byte[]
      StackMap stack:
            aload 0 /* jar */
            aload 6 /* buf */
            iconst_0
            iload 5 /* nRead */
            invokevirtual java.util.jar.JarOutputStream.write:([BII)V
        end local 5 // int nRead
         7: .line 144
      StackMap locals: java.util.jar.JarOutputStream java.lang.Class java.lang.String java.lang.String java.io.InputStream top byte[]
      StackMap stack:
            aload 4 /* stream */
            aload 6 /* buf */
            iconst_0
            aload 6 /* buf */
            arraylength
            invokevirtual java.io.InputStream.read:([BII)I
            dup
            istore 5 /* nRead */
        start local 5 // int nRead
         8: iconst_m1
            if_icmpne 6
         9: .line 148
            aload 0 /* jar */
            invokevirtual java.util.jar.JarOutputStream.closeEntry:()V
        10: .line 149
            return
        end local 6 // byte[] buf
        end local 5 // int nRead
        end local 4 // java.io.InputStream stream
        end local 3 // java.lang.String classAsPath
        end local 2 // java.lang.String name
        end local 1 // java.lang.Class c
        end local 0 // java.util.jar.JarOutputStream jar
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   11     0          jar  Ljava/util/jar/JarOutputStream;
            0   11     1            c  Ljava/lang/Class<*>;
            1   11     2         name  Ljava/lang/String;
            2   11     3  classAsPath  Ljava/lang/String;
            4   11     4       stream  Ljava/io/InputStream;
            6    7     5        nRead  I
            8   11     5        nRead  I
            5   11     6          buf  [B
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/util/jar/JarOutputStream;Ljava/lang/Class<*>;)V
    MethodParameters:
      Name  Flags
      jar   
      c     

  static void redefineIntrinsic();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=5, locals=5, args_size=0
         0: .line 152
            new java.util.jar.Manifest
            dup
            invokespecial java.util.jar.Manifest.<init>:()V
            astore 0 /* manifest */
        start local 0 // java.util.jar.Manifest manifest
         1: .line 153
            aload 0 /* manifest */
            invokevirtual java.util.jar.Manifest.getMainAttributes:()Ljava/util/jar/Attributes;
            getstatic java.util.jar.Attributes$Name.MANIFEST_VERSION:Ljava/util/jar/Attributes$Name;
            ldc "1.0"
            invokevirtual java.util.jar.Attributes.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 154
            aload 0 /* manifest */
            invokevirtual java.util.jar.Manifest.getMainAttributes:()Ljava/util/jar/Attributes;
            astore 1 /* mainAttrs */
        start local 1 // java.util.jar.Attributes mainAttrs
         3: .line 155
            aload 1 /* mainAttrs */
            ldc "Agent-Class"
            ldc Lorg/graalvm/compiler/replacements/test/classfile/RedefineIntrinsicTest$RedefinerAgent;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokevirtual java.util.jar.Attributes.putValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            pop
         4: .line 156
            aload 1 /* mainAttrs */
            ldc "Can-Redefine-Classes"
            ldc "true"
            invokevirtual java.util.jar.Attributes.putValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            pop
         5: .line 157
            aload 1 /* mainAttrs */
            ldc "Can-Retransform-Classes"
            ldc "true"
            invokevirtual java.util.jar.Attributes.putValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            pop
         6: .line 159
            ldc "myagent"
            ldc ".jar"
            iconst_0
            anewarray java.nio.file.attribute.FileAttribute
            invokestatic java.nio.file.Files.createTempFile:(Ljava/lang/String;Ljava/lang/String;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
            astore 2 /* jar */
        start local 2 // java.nio.file.Path jar
         7: .line 161
            new java.util.jar.JarOutputStream
            dup
            new java.io.FileOutputStream
            dup
            aload 2 /* jar */
            invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
            invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
            aload 0 /* manifest */
            invokespecial java.util.jar.JarOutputStream.<init>:(Ljava/io/OutputStream;Ljava/util/jar/Manifest;)V
            astore 3 /* jarStream */
        start local 3 // java.util.jar.JarOutputStream jarStream
         8: .line 162
            aload 3 /* jarStream */
            ldc Lorg/graalvm/compiler/replacements/test/classfile/RedefineIntrinsicTest$RedefinerAgent;
            invokestatic org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest.add:(Ljava/util/jar/JarOutputStream;Ljava/lang/Class;)V
         9: .line 163
            aload 3 /* jarStream */
            ldc Lorg/graalvm/compiler/replacements/test/classfile/RedefineIntrinsicTest$Redefiner;
            invokestatic org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest.add:(Ljava/util/jar/JarOutputStream;Ljava/lang/Class;)V
        10: .line 164
            aload 3 /* jarStream */
            invokevirtual java.util.jar.JarOutputStream.close:()V
        11: .line 166
            aload 2 /* jar */
            invokestatic org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest.loadAgent:(Ljava/nio/file/Path;)V
        end local 3 // java.util.jar.JarOutputStream jarStream
        12: .line 167
            goto 16
      StackMap locals: java.util.jar.Manifest java.util.jar.Attributes java.nio.file.Path
      StackMap stack: java.lang.Throwable
        13: astore 4
        14: .line 168
            aload 2 /* jar */
            invokestatic java.nio.file.Files.deleteIfExists:(Ljava/nio/file/Path;)Z
            pop
        15: .line 169
            aload 4
            athrow
        16: .line 168
      StackMap locals:
      StackMap stack:
            aload 2 /* jar */
            invokestatic java.nio.file.Files.deleteIfExists:(Ljava/nio/file/Path;)Z
            pop
        17: .line 170
            return
        end local 2 // java.nio.file.Path jar
        end local 1 // java.util.jar.Attributes mainAttrs
        end local 0 // java.util.jar.Manifest manifest
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            1   18     0   manifest  Ljava/util/jar/Manifest;
            3   18     1  mainAttrs  Ljava/util/jar/Attributes;
            7   18     2        jar  Ljava/nio/file/Path;
            8   12     3  jarStream  Ljava/util/jar/JarOutputStream;
      Exception table:
        from    to  target  type
           7    13      13  any
    Exceptions:
      throws java.lang.Exception

  public static void loadAgent(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
         0: .line 175
            new java.lang.Error
            dup
            ldc "Unresolved compilation problems: \n\tThe method assumeTrue(String, boolean) is undefined for the type RedefineIntrinsicTest\n\tToolProvider cannot be resolved\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Exceptions:
      throws java.lang.Exception
    MethodParameters:
       Name  Flags
      agent  
}
SourceFile: "RedefineIntrinsicTest.java"
NestMembers:
  org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest$Intrinsic  org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest$Original  org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest$Redefiner  org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest$RedefinerAgent
InnerClasses:
  public Name = java.util.jar.Attributes$Name of java.util.jar.Attributes
  public Plugins = org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins of org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration
  public Registration = org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration of org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins
  private Intrinsic = org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest$Intrinsic of org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest
  public Original = org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest$Original of org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest
  Redefiner = org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest$Redefiner of org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest
  public RedefinerAgent = org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest$RedefinerAgent of org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest