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=3, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.replacements.test.MethodSubstitutionTest this
        start local 1 // java.lang.String snippet
         0: .line 55
            aload 0 /* this */
            aload 1 /* snippet */
            aconst_null
            invokevirtual org.graalvm.compiler.replacements.test.MethodSubstitutionTest.testGraph:(Ljava/lang/String;Ljava/lang/String;)Lorg/graalvm/compiler/nodes/StructuredGraph;
            areturn
        end local 1 // java.lang.String snippet
        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;
            0    1     1  snippet  Ljava/lang/String;
    MethodParameters:
         Name  Flags
      snippet  final

  protected org.graalvm.compiler.nodes.StructuredGraph testGraph(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)Lorg/graalvm/compiler/nodes/StructuredGraph;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=6, locals=13, args_size=3
        start local 0 // org.graalvm.compiler.replacements.test.MethodSubstitutionTest this
        start local 1 // java.lang.String snippet
        start local 2 // java.lang.String name
         0: .line 60
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.replacements.test.MethodSubstitutionTest.getDebugContext:()Lorg/graalvm/compiler/debug/DebugContext;
            astore 3 /* debug */
        start local 3 // org.graalvm.compiler.debug.DebugContext debug
         1: .line 61
            aconst_null
            astore 4
            aconst_null
            astore 5
         2: aload 3 /* debug */
            ldc "MethodSubstitutionTest"
            aload 0 /* this */
            aload 1 /* snippet */
            invokevirtual org.graalvm.compiler.replacements.test.MethodSubstitutionTest.getResolvedJavaMethod:(Ljava/lang/String;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
            invokevirtual org.graalvm.compiler.debug.DebugContext.scope:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/DebugContext$Scope;
            astore 6 /* s */
        start local 6 // org.graalvm.compiler.debug.DebugContext$Scope s
         3: .line 62
            aload 0 /* this */
            aload 1 /* snippet */
            getstatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.YES:Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
            aload 3 /* debug */
            invokevirtual org.graalvm.compiler.replacements.test.MethodSubstitutionTest.parseEager:(Ljava/lang/String;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;Lorg/graalvm/compiler/debug/DebugContext;)Lorg/graalvm/compiler/nodes/StructuredGraph;
            astore 7 /* graph */
        start local 7 // org.graalvm.compiler.nodes.StructuredGraph graph
         4: .line 63
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.replacements.test.MethodSubstitutionTest.getDefaultHighTierContext:()Lorg/graalvm/compiler/phases/tiers/HighTierContext;
            astore 8 /* context */
        start local 8 // org.graalvm.compiler.phases.tiers.HighTierContext context
         5: .line 64
            aload 3 /* debug */
            iconst_1
            aload 7 /* graph */
            ldc "Graph"
            invokevirtual org.graalvm.compiler.debug.DebugContext.dump:(ILjava/lang/Object;Ljava/lang/String;)V
         6: .line 65
            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 7 /* graph */
            aload 8 /* context */
            invokevirtual org.graalvm.compiler.phases.common.inlining.InliningPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
         7: .line 66
            aload 3 /* debug */
            iconst_1
            aload 7 /* graph */
            ldc "Graph"
            invokevirtual org.graalvm.compiler.debug.DebugContext.dump:(ILjava/lang/Object;Ljava/lang/String;)V
         8: .line 67
            new org.graalvm.compiler.phases.common.CanonicalizerPhase
            dup
            invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase.<init>:()V
            aload 7 /* graph */
            aload 8 /* context */
            invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
         9: .line 68
            new org.graalvm.compiler.phases.common.DeadCodeEliminationPhase
            dup
            invokespecial org.graalvm.compiler.phases.common.DeadCodeEliminationPhase.<init>:()V
            aload 7 /* graph */
            invokevirtual org.graalvm.compiler.phases.common.DeadCodeEliminationPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
        10: .line 70
            aload 7 /* 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 12
        11: .line 71
            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 7 /* graph */
            aload 8 /* context */
            invokevirtual org.graalvm.compiler.phases.common.LoweringPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
        12: .line 73
      StackMap locals: org.graalvm.compiler.replacements.test.MethodSubstitutionTest java.lang.String java.lang.String org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.HighTierContext
      StackMap stack:
            aload 7 /* 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 14
        13: .line 74
            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 7 /* graph */
            aload 8 /* context */
            invokevirtual org.graalvm.compiler.phases.common.LoweringPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
        14: .line 76
      StackMap locals:
      StackMap stack:
            aload 7 /* 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
        15: .line 77
            aload 2 /* name */
            ifnull 27
        16: .line 78
            aload 7 /* 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 10
            goto 25
      StackMap locals: org.graalvm.compiler.replacements.test.MethodSubstitutionTest java.lang.String java.lang.String org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.HighTierContext top java.util.Iterator
      StackMap stack:
        17: aload 10
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.graalvm.compiler.graph.Node
            astore 9 /* node */
        start local 9 // org.graalvm.compiler.graph.Node node
        18: .line 79
            aload 9 /* node */
            instanceof org.graalvm.compiler.nodes.Invoke
            ifeq 25
        19: .line 80
            aload 9 /* node */
            checkcast org.graalvm.compiler.nodes.Invoke
            astore 11 /* invoke */
        start local 11 // org.graalvm.compiler.nodes.Invoke invoke
        20: .line 81
            aload 11 /* invoke */
            invokeinterface org.graalvm.compiler.nodes.Invoke.callTarget:()Lorg/graalvm/compiler/nodes/CallTargetNode;
            instanceof org.graalvm.compiler.nodes.java.MethodCallTargetNode
            ifeq 25
        21: .line 82
            aload 11 /* invoke */
            invokeinterface org.graalvm.compiler.nodes.Invoke.callTarget:()Lorg/graalvm/compiler/nodes/CallTargetNode;
            checkcast org.graalvm.compiler.nodes.java.MethodCallTargetNode
            astore 12 /* call */
        start local 12 // org.graalvm.compiler.nodes.java.MethodCallTargetNode call
        22: .line 83
            aload 12 /* call */
            invokevirtual org.graalvm.compiler.nodes.java.MethodCallTargetNode.targetMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
            invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getName:()Ljava/lang/String;
            aload 2 /* name */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 23
            iconst_0
            goto 24
      StackMap locals: org.graalvm.compiler.replacements.test.MethodSubstitutionTest java.lang.String java.lang.String org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.HighTierContext org.graalvm.compiler.graph.Node java.util.Iterator org.graalvm.compiler.nodes.Invoke org.graalvm.compiler.nodes.java.MethodCallTargetNode
      StackMap stack:
        23: iconst_1
      StackMap locals:
      StackMap stack: int
        24: ldc "Unexpected invoke of intrinsic %s"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 12 /* call */
            invokevirtual org.graalvm.compiler.nodes.java.MethodCallTargetNode.targetMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
            aastore
            invokestatic org.graalvm.compiler.replacements.test.MethodSubstitutionTest.assertTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
        end local 12 // org.graalvm.compiler.nodes.java.MethodCallTargetNode call
        end local 11 // org.graalvm.compiler.nodes.Invoke invoke
        end local 9 // org.graalvm.compiler.graph.Node node
        25: .line 78
      StackMap locals: org.graalvm.compiler.replacements.test.MethodSubstitutionTest java.lang.String java.lang.String org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.HighTierContext top java.util.Iterator
      StackMap stack:
            aload 10
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 17
        26: .line 88
            goto 28
        27: .line 89
      StackMap locals: org.graalvm.compiler.replacements.test.MethodSubstitutionTest java.lang.String java.lang.String org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.HighTierContext
      StackMap stack:
            aload 7 /* 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
        28: .line 91
      StackMap locals:
      StackMap stack:
            aload 7 /* graph */
        29: .line 92
            aload 6 /* s */
            ifnull 30
            aload 6 /* s */
            invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
        30: .line 91
      StackMap locals:
      StackMap stack: org.graalvm.compiler.nodes.StructuredGraph
            areturn
        end local 8 // org.graalvm.compiler.phases.tiers.HighTierContext context
        end local 7 // org.graalvm.compiler.nodes.StructuredGraph graph
      StackMap locals: org.graalvm.compiler.replacements.test.MethodSubstitutionTest java.lang.String java.lang.String org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope
      StackMap stack: java.lang.Throwable
        31: astore 4
        32: .line 92
            aload 6 /* s */
            ifnull 33
            aload 6 /* s */
            invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
        end local 6 // org.graalvm.compiler.debug.DebugContext$Scope s
      StackMap locals:
      StackMap stack:
        33: aload 4
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        34: astore 5
            aload 4
            ifnonnull 35
            aload 5
            astore 4
            goto 36
      StackMap locals:
      StackMap stack:
        35: aload 4
            aload 5
            if_acmpeq 36
            aload 4
            aload 5
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        36: aload 4
            athrow
      StackMap locals: org.graalvm.compiler.replacements.test.MethodSubstitutionTest java.lang.String java.lang.String org.graalvm.compiler.debug.DebugContext
      StackMap stack: java.lang.Throwable
        37: astore 4 /* e */
        start local 4 // java.lang.Throwable e
        38: .line 93
            aload 3 /* debug */
            aload 4 /* e */
            invokevirtual org.graalvm.compiler.debug.DebugContext.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
            athrow
        end local 4 // java.lang.Throwable e
        end local 3 // org.graalvm.compiler.debug.DebugContext debug
        end local 2 // java.lang.String name
        end local 1 // java.lang.String snippet
        end local 0 // org.graalvm.compiler.replacements.test.MethodSubstitutionTest this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   39     0     this  Lorg/graalvm/compiler/replacements/test/MethodSubstitutionTest;
            0   39     1  snippet  Ljava/lang/String;
            0   39     2     name  Ljava/lang/String;
            1   39     3    debug  Lorg/graalvm/compiler/debug/DebugContext;
            3   33     6        s  Lorg/graalvm/compiler/debug/DebugContext$Scope;
            4   31     7    graph  Lorg/graalvm/compiler/nodes/StructuredGraph;
            5   31     8  context  Lorg/graalvm/compiler/phases/tiers/HighTierContext;
           18   25     9     node  Lorg/graalvm/compiler/graph/Node;
           20   25    11   invoke  Lorg/graalvm/compiler/nodes/Invoke;
           22   25    12     call  Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;
           38   39     4        e  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           3    29      31  any
           2    30      34  any
          31    34      34  any
           1    30      37  Class java.lang.Throwable
          31    37      37  Class java.lang.Throwable
    MethodParameters:
         Name  Flags
      snippet  final
      name     

  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 98
            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 99
            aload 1 /* clazz */
            aload 2 /* node */
            invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
            ifeq 4
         3: .line 100
            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 98
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         5: .line 103
            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 107
            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 108
            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 109
            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 112
            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 113
            aload 12 /* replacement */
            ifnonnull 6
            iload 6 /* optional */
            ifne 6
         5: .line 114
            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 118
      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 119
            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 121
      StackMap locals: jdk.vm.ci.code.InstalledCode
      StackMap stack:
            iconst_0
            istore 14 /* i */
        start local 14 // int i
         9: goto 16
        10: .line 122
      StackMap locals: int
      StackMap stack:
            aload 7 /* args1 */
            iload 14 /* i */
            aaload
            astore 15 /* arg1 */
        start local 15 // java.lang.Object arg1
        11: .line 123
            aload 8 /* args2 */
            iload 14 /* i */
            aaload
            astore 16 /* arg2 */
        start local 16 // java.lang.Object arg2
        12: .line 124
            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 126
            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 128
            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 121
            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 130
            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 133
            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 134
            aload 1 /* clazz */
            aload 2 /* node */
            invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
            ifeq 4
         3: .line 135
            aload 0 /* graph */
            areturn
        end local 2 // org.graalvm.compiler.graph.Node node
         4: .line 133
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         5: .line 138
            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 139
            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 144
            aload 0 /* code */
            aload 1 /* args */
            invokevirtual jdk.vm.ci.code.InstalledCode.executeVarargs:([Ljava/lang/Object;)Ljava/lang/Object;
         1: areturn
         2: .line 145
      StackMap locals:
      StackMap stack: jdk.vm.ci.code.InvalidInstalledCodeException
            astore 2 /* e */
        start local 2 // jdk.vm.ci.code.InvalidInstalledCodeException e
         3: .line 146
            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 152
            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 153
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 4 /* e */
        start local 4 // java.lang.Exception e
         3: .line 154
            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
           0     1       2  Class java.lang.InstantiationException
    MethodParameters:
          Name  Flags
      method    
      receiver  
      args      
}
SourceFile: "MethodSubstitutionTest.java"
InnerClasses:
  public abstract Scope = org.graalvm.compiler.debug.DebugContext$Scope of org.graalvm.compiler.debug.DebugContext
  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