public abstract class org.graalvm.compiler.replacements.test.MethodSubstitutionTest extends org.graalvm.compiler.core.test.GraalCompilerTest
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: org.graalvm.compiler.replacements.test.MethodSubstitutionTest
  super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
  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 52
            ldc Lorg/graalvm/compiler/replacements/test/MethodSubstitutionTest;
            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.replacements.test.MethodSubstitutionTest.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

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

  protected org.graalvm.compiler.nodes.StructuredGraph testGraph(java.lang.String);
    descriptor: (Ljava/lang/String;)Lorg/graalvm/compiler/nodes/StructuredGraph;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=7, args_size=2
        start local 0 // org.graalvm.compiler.replacements.test.MethodSubstitutionTest this
        start local 1 // java.lang.String snippet
         0: .line 56
            aconst_null
            astore 2
            aconst_null
            astore 3
         1: ldc "MethodSubstitutionTest"
            aload 0 /* this */
            aload 1 /* snippet */
            invokevirtual org.graalvm.compiler.replacements.test.MethodSubstitutionTest.getResolvedJavaMethod:(Ljava/lang/String;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
            invokestatic org.graalvm.compiler.debug.Debug.scope:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/Debug$Scope;
            astore 4 /* s */
        start local 4 // org.graalvm.compiler.debug.Debug$Scope s
         2: .line 57
            aload 0 /* this */
            aload 1 /* snippet */
            getstatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.YES:Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
            invokevirtual org.graalvm.compiler.replacements.test.MethodSubstitutionTest.parseEager:(Ljava/lang/String;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;)Lorg/graalvm/compiler/nodes/StructuredGraph;
            astore 5 /* graph */
        start local 5 // org.graalvm.compiler.nodes.StructuredGraph graph
         3: .line 58
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.replacements.test.MethodSubstitutionTest.getDefaultHighTierContext:()Lorg/graalvm/compiler/phases/tiers/HighTierContext;
            astore 6 /* context */
        start local 6 // org.graalvm.compiler.phases.tiers.HighTierContext context
         4: .line 59
            iconst_1
            aload 5 /* graph */
            ldc "Graph"
            invokestatic org.graalvm.compiler.debug.Debug.dump:(ILjava/lang/Object;Ljava/lang/String;)V
         5: .line 60
            new org.graalvm.compiler.phases.common.inlining.InliningPhase
            dup
            new org.graalvm.compiler.phases.common.CanonicalizerPhase
            dup
            invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase.<init>:()V
            invokespecial org.graalvm.compiler.phases.common.inlining.InliningPhase.<init>:(Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;)V
            aload 5 /* graph */
            aload 6 /* context */
            invokevirtual org.graalvm.compiler.phases.common.inlining.InliningPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
         6: .line 61
            iconst_1
            aload 5 /* graph */
            ldc "Graph"
            invokestatic org.graalvm.compiler.debug.Debug.dump:(ILjava/lang/Object;Ljava/lang/String;)V
         7: .line 62
            new org.graalvm.compiler.phases.common.CanonicalizerPhase
            dup
            invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase.<init>:()V
            aload 5 /* graph */
            aload 6 /* context */
            invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
         8: .line 63
            new org.graalvm.compiler.phases.common.DeadCodeEliminationPhase
            dup
            invokespecial org.graalvm.compiler.phases.common.DeadCodeEliminationPhase.<init>:()V
            aload 5 /* graph */
            invokevirtual org.graalvm.compiler.phases.common.DeadCodeEliminationPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
         9: .line 65
            aload 5 /* graph */
            invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
            ldc Lorg/graalvm/compiler/replacements/nodes/MacroNode;
            invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.filter:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
            invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.isNotEmpty:()Z
            ifeq 11
        10: .line 66
            new org.graalvm.compiler.phases.common.LoweringPhase
            dup
            new org.graalvm.compiler.phases.common.CanonicalizerPhase
            dup
            invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase.<init>:()V
            getstatic org.graalvm.compiler.nodes.spi.LoweringTool$StandardLoweringStage.HIGH_TIER:Lorg/graalvm/compiler/nodes/spi/LoweringTool$StandardLoweringStage;
            invokespecial org.graalvm.compiler.phases.common.LoweringPhase.<init>:(Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;)V
            aload 5 /* graph */
            aload 6 /* context */
            invokevirtual org.graalvm.compiler.phases.common.LoweringPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
        11: .line 68
      StackMap locals: org.graalvm.compiler.replacements.test.MethodSubstitutionTest java.lang.String java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Debug$Scope org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.HighTierContext
      StackMap stack:
            aload 5 /* graph */
            invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
            ldc Lorg/graalvm/compiler/replacements/nodes/MacroNode;
            invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.filter:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
            invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.isNotEmpty:()Z
            ifeq 13
        12: .line 69
            new org.graalvm.compiler.phases.common.LoweringPhase
            dup
            new org.graalvm.compiler.phases.common.CanonicalizerPhase
            dup
            invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase.<init>:()V
            getstatic org.graalvm.compiler.nodes.spi.LoweringTool$StandardLoweringStage.MID_TIER:Lorg/graalvm/compiler/nodes/spi/LoweringTool$StandardLoweringStage;
            invokespecial org.graalvm.compiler.phases.common.LoweringPhase.<init>:(Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;)V
            aload 5 /* graph */
            aload 6 /* context */
            invokevirtual org.graalvm.compiler.phases.common.LoweringPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
        13: .line 71
      StackMap locals:
      StackMap stack:
            aload 5 /* graph */
            ldc Lorg/graalvm/compiler/replacements/nodes/MacroNode;
            invokestatic org.graalvm.compiler.replacements.test.MethodSubstitutionTest.assertNotInGraph:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Class;)Lorg/graalvm/compiler/nodes/StructuredGraph;
            pop
        14: .line 72
            aload 5 /* graph */
            ldc Lorg/graalvm/compiler/nodes/Invoke;
            invokestatic org.graalvm.compiler.replacements.test.MethodSubstitutionTest.assertNotInGraph:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Class;)Lorg/graalvm/compiler/nodes/StructuredGraph;
            pop
        15: .line 73
            aload 5 /* graph */
        16: .line 74
            aload 4 /* s */
            ifnull 17
            aload 4 /* s */
            invokeinterface org.graalvm.compiler.debug.Debug$Scope.close:()V
        17: .line 73
      StackMap locals:
      StackMap stack: org.graalvm.compiler.nodes.StructuredGraph
            areturn
        end local 6 // org.graalvm.compiler.phases.tiers.HighTierContext context
        end local 5 // org.graalvm.compiler.nodes.StructuredGraph graph
      StackMap locals: org.graalvm.compiler.replacements.test.MethodSubstitutionTest java.lang.String java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Debug$Scope
      StackMap stack: java.lang.Throwable
        18: astore 2
        19: .line 74
            aload 4 /* s */
            ifnull 20
            aload 4 /* s */
            invokeinterface org.graalvm.compiler.debug.Debug$Scope.close:()V
        end local 4 // org.graalvm.compiler.debug.Debug$Scope s
      StackMap locals:
      StackMap stack:
        20: aload 2
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        21: astore 3
            aload 2
            ifnonnull 22
            aload 3
            astore 2
            goto 23
      StackMap locals:
      StackMap stack:
        22: aload 2
            aload 3
            if_acmpeq 23
            aload 2
            aload 3
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        23: aload 2
            athrow
      StackMap locals: org.graalvm.compiler.replacements.test.MethodSubstitutionTest java.lang.String
      StackMap stack: java.lang.Throwable
        24: astore 2 /* e */
        start local 2 // java.lang.Throwable e
        25: .line 75
            aload 2 /* e */
            invokestatic org.graalvm.compiler.debug.Debug.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
            athrow
        end local 2 // java.lang.Throwable e
        end local 1 // java.lang.String snippet
        end local 0 // org.graalvm.compiler.replacements.test.MethodSubstitutionTest this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   26     0     this  Lorg/graalvm/compiler/replacements/test/MethodSubstitutionTest;
            0   26     1  snippet  Ljava/lang/String;
            2   20     4        s  Lorg/graalvm/compiler/debug/Debug$Scope;
            3   18     5    graph  Lorg/graalvm/compiler/nodes/StructuredGraph;
            4   18     6  context  Lorg/graalvm/compiler/phases/tiers/HighTierContext;
           25   26     2        e  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           2    16      18  any
           1    17      21  any
          18    21      21  any
           0    17      24  Class java.lang.Throwable
          18    24      24  Class java.lang.Throwable
    MethodParameters:
         Name  Flags
      snippet  final

  protected static org.graalvm.compiler.nodes.StructuredGraph assertNotInGraph(org.graalvm.compiler.nodes.StructuredGraph, java.lang.Class<?>);
    descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Class;)Lorg/graalvm/compiler/nodes/StructuredGraph;
    flags: (0x000c) ACC_PROTECTED, ACC_STATIC
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // org.graalvm.compiler.nodes.StructuredGraph graph
        start local 1 // java.lang.Class clazz
         0: .line 80
            aload 0 /* graph */
            invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
            invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
            astore 3
            goto 4
      StackMap locals: org.graalvm.compiler.nodes.StructuredGraph java.lang.Class top java.util.Iterator
      StackMap stack:
         1: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.graalvm.compiler.graph.Node
            astore 2 /* node */
        start local 2 // org.graalvm.compiler.graph.Node node
         2: .line 81
            aload 1 /* clazz */
            aload 2 /* node */
            invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
            ifeq 4
         3: .line 82
            aload 2 /* node */
            invokevirtual org.graalvm.compiler.graph.Node.toString:()Ljava/lang/String;
            iconst_0
            anewarray java.lang.Object
            invokestatic org.graalvm.compiler.replacements.test.MethodSubstitutionTest.fail:(Ljava/lang/String;[Ljava/lang/Object;)V
        end local 2 // org.graalvm.compiler.graph.Node node
         4: .line 80
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         5: .line 85
            aload 0 /* graph */
            areturn
        end local 1 // java.lang.Class clazz
        end local 0 // org.graalvm.compiler.nodes.StructuredGraph graph
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    6     0  graph  Lorg/graalvm/compiler/nodes/StructuredGraph;
            0    6     1  clazz  Ljava/lang/Class<*>;
            2    4     2   node  Lorg/graalvm/compiler/graph/Node;
    Signature: (Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Class<*>;)Lorg/graalvm/compiler/nodes/StructuredGraph;
    MethodParameters:
       Name  Flags
      graph  
      clazz  

  protected void testSubstitution(java.lang.String, java.lang.Class<?>, java.lang.Class<?>, java.lang.String, java.lang.Class<?>[], boolean, [], []);
    descriptor: (Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;Z[Ljava/lang/Object;[Ljava/lang/Object;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=9, locals=18, args_size=9
        start local 0 // org.graalvm.compiler.replacements.test.MethodSubstitutionTest this
        start local 1 // java.lang.String testMethodName
        start local 2 // java.lang.Class intrinsicClass
        start local 3 // java.lang.Class holder
        start local 4 // java.lang.String methodName
        start local 5 // java.lang.Class[] parameterTypes
        start local 6 // boolean optional
        start local 7 // java.lang.Object[] args1
        start local 8 // java.lang.Object[] args2
         0: .line 89
            aload 0 /* this */
            aload 3 /* holder */
            aload 4 /* methodName */
            aload 5 /* parameterTypes */
            invokevirtual org.graalvm.compiler.replacements.test.MethodSubstitutionTest.getResolvedJavaMethod:(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
            astore 9 /* realMethod */
        start local 9 // jdk.vm.ci.meta.ResolvedJavaMethod realMethod
         1: .line 90
            aload 0 /* this */
            aload 1 /* testMethodName */
            invokevirtual org.graalvm.compiler.replacements.test.MethodSubstitutionTest.getResolvedJavaMethod:(Ljava/lang/String;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
            astore 10 /* testMethod */
        start local 10 // jdk.vm.ci.meta.ResolvedJavaMethod testMethod
         2: .line 91
            aload 0 /* this */
            aload 1 /* testMethodName */
            invokevirtual org.graalvm.compiler.replacements.test.MethodSubstitutionTest.testGraph:(Ljava/lang/String;)Lorg/graalvm/compiler/nodes/StructuredGraph;
            astore 11 /* graph */
        start local 11 // org.graalvm.compiler.nodes.StructuredGraph graph
         3: .line 94
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.replacements.test.MethodSubstitutionTest.getReplacements:()Lorg/graalvm/compiler/nodes/spi/Replacements;
            aload 9 /* realMethod */
            iconst_m1
            invokeinterface org.graalvm.compiler.nodes.spi.Replacements.getSubstitution:(Ljdk/vm/ci/meta/ResolvedJavaMethod;I)Lorg/graalvm/compiler/nodes/StructuredGraph;
            astore 12 /* replacement */
        start local 12 // org.graalvm.compiler.nodes.StructuredGraph replacement
         4: .line 95
            aload 12 /* replacement */
            ifnonnull 6
            iload 6 /* optional */
            ifne 6
         5: .line 96
            aload 11 /* graph */
            aload 2 /* intrinsicClass */
            invokestatic org.graalvm.compiler.replacements.test.MethodSubstitutionTest.assertInGraph:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Class;)Lorg/graalvm/compiler/nodes/StructuredGraph;
            pop
         6: .line 100
      StackMap locals: org.graalvm.compiler.replacements.test.MethodSubstitutionTest java.lang.String java.lang.Class java.lang.Class java.lang.String java.lang.Class[] int java.lang.Object[] java.lang.Object[] jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.StructuredGraph
      StackMap stack:
            aload 0 /* this */
            aload 10 /* testMethod */
            invokevirtual org.graalvm.compiler.replacements.test.MethodSubstitutionTest.getCode:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Ljdk/vm/ci/code/InstalledCode;
            astore 13 /* code */
        start local 13 // jdk.vm.ci.code.InstalledCode code
         7: .line 101
            getstatic org.graalvm.compiler.replacements.test.MethodSubstitutionTest.$assertionsDisabled:Z
            ifne 8
            iload 6 /* optional */
            ifne 8
            aload 13 /* code */
            ifnonnull 8
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         8: .line 103
      StackMap locals: jdk.vm.ci.code.InstalledCode
      StackMap stack:
            iconst_0
            istore 14 /* i */
        start local 14 // int i
         9: goto 16
        10: .line 104
      StackMap locals: int
      StackMap stack:
            aload 7 /* args1 */
            iload 14 /* i */
            aaload
            astore 15 /* arg1 */
        start local 15 // java.lang.Object arg1
        11: .line 105
            aload 8 /* args2 */
            iload 14 /* i */
            aaload
            astore 16 /* arg2 */
        start local 16 // java.lang.Object arg2
        12: .line 106
            aload 0 /* this */
            aload 9 /* realMethod */
            aconst_null
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 15 /* arg1 */
            aastore
            dup
            iconst_1
            aload 16 /* arg2 */
            aastore
            invokevirtual org.graalvm.compiler.replacements.test.MethodSubstitutionTest.invokeSafe:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
            astore 17 /* expected */
        start local 17 // java.lang.Object expected
        13: .line 108
            aload 0 /* this */
            aload 17 /* expected */
            aload 0 /* this */
            aload 10 /* testMethod */
            aconst_null
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 15 /* arg1 */
            aastore
            dup
            iconst_1
            aload 16 /* arg2 */
            aastore
            invokevirtual org.graalvm.compiler.replacements.test.MethodSubstitutionTest.invokeSafe:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
            invokevirtual org.graalvm.compiler.replacements.test.MethodSubstitutionTest.assertDeepEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        14: .line 110
            aload 0 /* this */
            aload 17 /* expected */
            aload 13 /* code */
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 15 /* arg1 */
            aastore
            dup
            iconst_1
            aload 16 /* arg2 */
            aastore
            invokestatic org.graalvm.compiler.replacements.test.MethodSubstitutionTest.executeVarargsSafe:(Ljdk/vm/ci/code/InstalledCode;[Ljava/lang/Object;)Ljava/lang/Object;
            invokevirtual org.graalvm.compiler.replacements.test.MethodSubstitutionTest.assertDeepEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        end local 17 // java.lang.Object expected
        end local 16 // java.lang.Object arg2
        end local 15 // java.lang.Object arg1
        15: .line 103
            iinc 14 /* i */ 1
      StackMap locals:
      StackMap stack:
        16: iload 14 /* i */
            aload 7 /* args1 */
            arraylength
            if_icmplt 10
        end local 14 // int i
        17: .line 112
            return
        end local 13 // jdk.vm.ci.code.InstalledCode code
        end local 12 // org.graalvm.compiler.nodes.StructuredGraph replacement
        end local 11 // org.graalvm.compiler.nodes.StructuredGraph graph
        end local 10 // jdk.vm.ci.meta.ResolvedJavaMethod testMethod
        end local 9 // jdk.vm.ci.meta.ResolvedJavaMethod realMethod
        end local 8 // java.lang.Object[] args2
        end local 7 // java.lang.Object[] args1
        end local 6 // boolean optional
        end local 5 // java.lang.Class[] parameterTypes
        end local 4 // java.lang.String methodName
        end local 3 // java.lang.Class holder
        end local 2 // java.lang.Class intrinsicClass
        end local 1 // java.lang.String testMethodName
        end local 0 // org.graalvm.compiler.replacements.test.MethodSubstitutionTest this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   18     0            this  Lorg/graalvm/compiler/replacements/test/MethodSubstitutionTest;
            0   18     1  testMethodName  Ljava/lang/String;
            0   18     2  intrinsicClass  Ljava/lang/Class<*>;
            0   18     3          holder  Ljava/lang/Class<*>;
            0   18     4      methodName  Ljava/lang/String;
            0   18     5  parameterTypes  [Ljava/lang/Class;
            0   18     6        optional  Z
            0   18     7           args1  [Ljava/lang/Object;
            0   18     8           args2  [Ljava/lang/Object;
            1   18     9      realMethod  Ljdk/vm/ci/meta/ResolvedJavaMethod;
            2   18    10      testMethod  Ljdk/vm/ci/meta/ResolvedJavaMethod;
            3   18    11           graph  Lorg/graalvm/compiler/nodes/StructuredGraph;
            4   18    12     replacement  Lorg/graalvm/compiler/nodes/StructuredGraph;
            7   18    13            code  Ljdk/vm/ci/code/InstalledCode;
            9   17    14               i  I
           11   15    15            arg1  Ljava/lang/Object;
           12   15    16            arg2  Ljava/lang/Object;
           13   15    17        expected  Ljava/lang/Object;
    Signature: (Ljava/lang/String;Ljava/lang/Class<*>;Ljava/lang/Class<*>;Ljava/lang/String;[Ljava/lang/Class<*>;Z[Ljava/lang/Object;[Ljava/lang/Object;)V
    MethodParameters:
                Name  Flags
      testMethodName  
      intrinsicClass  
      holder          
      methodName      
      parameterTypes  
      optional        
      args1           
      args2           

  protected static org.graalvm.compiler.nodes.StructuredGraph assertInGraph(org.graalvm.compiler.nodes.StructuredGraph, java.lang.Class<?>);
    descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Class;)Lorg/graalvm/compiler/nodes/StructuredGraph;
    flags: (0x000c) ACC_PROTECTED, ACC_STATIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // org.graalvm.compiler.nodes.StructuredGraph graph
        start local 1 // java.lang.Class clazz
         0: .line 115
            aload 0 /* graph */
            invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
            invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
            astore 3
            goto 4
      StackMap locals: org.graalvm.compiler.nodes.StructuredGraph java.lang.Class top java.util.Iterator
      StackMap stack:
         1: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.graalvm.compiler.graph.Node
            astore 2 /* node */
        start local 2 // org.graalvm.compiler.graph.Node node
         2: .line 116
            aload 1 /* clazz */
            aload 2 /* node */
            invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
            ifeq 4
         3: .line 117
            aload 0 /* graph */
            areturn
        end local 2 // org.graalvm.compiler.graph.Node node
         4: .line 115
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         5: .line 120
            new java.lang.StringBuilder
            dup
            ldc "Graph does not contain a node of class "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* clazz */
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            iconst_0
            anewarray java.lang.Object
            invokestatic org.graalvm.compiler.replacements.test.MethodSubstitutionTest.fail:(Ljava/lang/String;[Ljava/lang/Object;)V
         6: .line 121
            aload 0 /* graph */
            areturn
        end local 1 // java.lang.Class clazz
        end local 0 // org.graalvm.compiler.nodes.StructuredGraph graph
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    7     0  graph  Lorg/graalvm/compiler/nodes/StructuredGraph;
            0    7     1  clazz  Ljava/lang/Class<*>;
            2    4     2   node  Lorg/graalvm/compiler/graph/Node;
    Signature: (Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Class<*>;)Lorg/graalvm/compiler/nodes/StructuredGraph;
    MethodParameters:
       Name  Flags
      graph  
      clazz  

  protected static java.lang.Object executeVarargsSafe(jdk.vm.ci.code.InstalledCode, java.lang.Object[]);
    descriptor: (Ljdk/vm/ci/code/InstalledCode;[Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x008c) ACC_PROTECTED, ACC_STATIC, ACC_VARARGS
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // jdk.vm.ci.code.InstalledCode code
        start local 1 // java.lang.Object[] args
         0: .line 126
            aload 0 /* code */
            aload 1 /* args */
            invokevirtual jdk.vm.ci.code.InstalledCode.executeVarargs:([Ljava/lang/Object;)Ljava/lang/Object;
         1: areturn
         2: .line 127
      StackMap locals:
      StackMap stack: jdk.vm.ci.code.InvalidInstalledCodeException
            astore 2 /* e */
        start local 2 // jdk.vm.ci.code.InvalidInstalledCodeException e
         3: .line 128
            new java.lang.RuntimeException
            dup
            aload 2 /* e */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 2 // jdk.vm.ci.code.InvalidInstalledCodeException e
        end local 1 // java.lang.Object[] args
        end local 0 // jdk.vm.ci.code.InstalledCode code
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  code  Ljdk/vm/ci/code/InstalledCode;
            0    4     1  args  [Ljava/lang/Object;
            3    4     2     e  Ljdk/vm/ci/code/InvalidInstalledCodeException;
      Exception table:
        from    to  target  type
           0     1       2  Class jdk.vm.ci.code.InvalidInstalledCodeException
    MethodParameters:
      Name  Flags
      code  
      args  

  protected java.lang.Object invokeSafe(jdk.vm.ci.meta.ResolvedJavaMethod, java.lang.Object, java.lang.Object[]);
    descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x0084) ACC_PROTECTED, ACC_VARARGS
    Code:
      stack=4, locals=5, args_size=4
        start local 0 // org.graalvm.compiler.replacements.test.MethodSubstitutionTest this
        start local 1 // jdk.vm.ci.meta.ResolvedJavaMethod method
        start local 2 // java.lang.Object receiver
        start local 3 // java.lang.Object[] args
         0: .line 134
            aload 0 /* this */
            aload 1 /* method */
            aload 2 /* receiver */
            aload 3 /* args */
            invokevirtual org.graalvm.compiler.replacements.test.MethodSubstitutionTest.invoke:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
         1: areturn
         2: .line 135
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 4 /* e */
        start local 4 // java.lang.Exception e
         3: .line 136
            new java.lang.RuntimeException
            dup
            aload 4 /* e */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 4 // java.lang.Exception e
        end local 3 // java.lang.Object[] args
        end local 2 // java.lang.Object receiver
        end local 1 // jdk.vm.ci.meta.ResolvedJavaMethod method
        end local 0 // org.graalvm.compiler.replacements.test.MethodSubstitutionTest this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    4     0      this  Lorg/graalvm/compiler/replacements/test/MethodSubstitutionTest;
            0    4     1    method  Ljdk/vm/ci/meta/ResolvedJavaMethod;
            0    4     2  receiver  Ljava/lang/Object;
            0    4     3      args  [Ljava/lang/Object;
            3    4     4         e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.IllegalAccessException
           0     1       2  Class java.lang.IllegalArgumentException
           0     1       2  Class java.lang.reflect.InvocationTargetException
    MethodParameters:
          Name  Flags
      method    
      receiver  
      args      
}
SourceFile: "MethodSubstitutionTest.java"
InnerClasses:
  public abstract Scope = org.graalvm.compiler.debug.Debug$Scope of org.graalvm.compiler.debug.Debug
  public final AllowAssumptions = org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions of org.graalvm.compiler.nodes.StructuredGraph
  public abstract LoweringStage = org.graalvm.compiler.nodes.spi.LoweringTool$LoweringStage of org.graalvm.compiler.nodes.spi.LoweringTool
  public final StandardLoweringStage = org.graalvm.compiler.nodes.spi.LoweringTool$StandardLoweringStage of org.graalvm.compiler.nodes.spi.LoweringTool