public class org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest extends org.graalvm.compiler.replacements.test.ReplacementsTest
  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.replacements.test.ReplacementsTest
{
  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 68
            aload 0 /* this */
            invokespecial org.graalvm.compiler.replacements.test.ReplacementsTest.<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 void registerInvocationPlugins(org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins);
    descriptor: (Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=6, locals=4, args_size=2
        start local 0 // org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest this
        start local 1 // org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins invocationPlugins
         0: .line 89
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest.getSystemClassLoaderBytecodeProvider:()Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider;
            astore 2 /* replacementBytecodeProvider */
        start local 2 // org.graalvm.compiler.bytecode.BytecodeProvider replacementBytecodeProvider
         1: .line 90
            new org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration
            dup
            aload 1 /* invocationPlugins */
            ldc Lorg/graalvm/compiler/replacements/test/classfile/RedefineIntrinsicTest$Original;
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest.getReplacements:()Lorg/graalvm/compiler/nodes/spi/Replacements;
            aload 2 /* replacementBytecodeProvider */
            invokespecial org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration.<init>:(Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins;Ljava/lang/reflect/Type;Lorg/graalvm/compiler/nodes/spi/Replacements;Lorg/graalvm/compiler/bytecode/BytecodeProvider;)V
            astore 3 /* r */
        start local 3 // org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration r
         2: .line 91
            aload 3 /* 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
         3: .line 92
            aload 0 /* this */
            aload 1 /* invocationPlugins */
            invokespecial org.graalvm.compiler.replacements.test.ReplacementsTest.registerInvocationPlugins:(Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins;)V
         4: .line 93
            return
        end local 3 // org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration r
        end local 2 // org.graalvm.compiler.bytecode.BytecodeProvider replacementBytecodeProvider
        end local 1 // org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins invocationPlugins
        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            invocationPlugins  Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins;
            1    5     2  replacementBytecodeProvider  Lorg/graalvm/compiler/bytecode/BytecodeProvider;
            2    5     3                            r  Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins$Registration;
    MethodParameters:
                   Name  Flags
      invocationPlugins  

  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 97
            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 102
            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 105
            new java.lang.Error
            dup
            ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\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()

  public void testHelper();
    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 136
            new java.lang.Error
            dup
            ldc "Unresolved compilation problems: \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

  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 169
            aload 1 /* c */
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            astore 2 /* name */
        start local 2 // java.lang.String name
         1: .line 170
            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 171
            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 173
            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 176
            sipush 1024
            newarray 8
            astore 6 /* buf */
        start local 6 // byte[] buf
         5: .line 177
            goto 7
        start local 5 // int nRead
         6: .line 178
      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 177
      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 181
            aload 0 /* jar */
            invokevirtual java.util.jar.JarOutputStream.closeEntry:()V
        10: .line 182
            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 boolean redefineIntrinsic();
    descriptor: ()Z
    flags: (0x0008) ACC_STATIC
    Code:
      stack=5, locals=6, args_size=0
         0: .line 185
            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 186
            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 187
            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 188
            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 189
            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 190
            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 192
            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 194
            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 195
            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 196
            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 197
            aload 3 /* jarStream */
            invokevirtual java.util.jar.JarOutputStream.close:()V
        11: .line 199
            aload 2 /* jar */
            invokestatic org.graalvm.compiler.replacements.test.classfile.RedefineIntrinsicTest.loadAgent:(Ljava/nio/file/Path;)Z
            istore 5
        12: .line 201
            aload 2 /* jar */
            invokestatic java.nio.file.Files.deleteIfExists:(Ljava/nio/file/Path;)Z
            pop
        13: .line 199
            iload 5
            ireturn
        end local 3 // java.util.jar.JarOutputStream jarStream
        14: .line 200
      StackMap locals: java.util.jar.Manifest java.util.jar.Attributes java.nio.file.Path
      StackMap stack: java.lang.Throwable
            astore 4
        15: .line 201
            aload 2 /* jar */
            invokestatic java.nio.file.Files.deleteIfExists:(Ljava/nio/file/Path;)Z
            pop
        16: .line 202
            aload 4
            athrow
        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   17     0   manifest  Ljava/util/jar/Manifest;
            3   17     1  mainAttrs  Ljava/util/jar/Attributes;
            7   17     2        jar  Ljava/nio/file/Path;
            8   14     3  jarStream  Ljava/util/jar/JarOutputStream;
      Exception table:
        from    to  target  type
           7    12      14  any
    Exceptions:
      throws java.lang.Exception

  public static boolean loadAgent(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
         0: .line 209
            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 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