public final class org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin implements org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugin
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin
super_class: java.lang.Object
{
private org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration registration;
descriptor: Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins$Registration;
flags: (0x0002) ACC_PRIVATE
private jdk.vm.ci.meta.ResolvedJavaMethod cachedSubstitute;
descriptor: Ljdk/vm/ci/meta/ResolvedJavaMethod;
flags: (0x0002) ACC_PRIVATE
private final java.lang.Class<?> declaringClass;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<*>;
private final java.lang.String substituteName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String originalName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.reflect.Type[] parameters;
descriptor: [Ljava/lang/reflect/Type;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean originalIsStatic;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.bytecode.BytecodeProvider bytecodeProvider;
descriptor: Lorg/graalvm/compiler/bytecode/BytecodeProvider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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: ldc Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;
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.nodes.graphbuilderconf.MethodSubstitutionPlugin.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration, org.graalvm.compiler.bytecode.BytecodeProvider, java.lang.String, java.lang.Class<?>, java.lang.String, java.lang.reflect.Type[]);
descriptor: (Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins$Registration;Lorg/graalvm/compiler/bytecode/BytecodeProvider;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/reflect/Type;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: getstatic org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.$assertionsDisabled:Z
ifne 2
aload 2
ifnonnull 2
new java.lang.AssertionError
dup
ldc "Requires a non-null methodSubstitutionBytecodeProvider"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals: org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration org.graalvm.compiler.bytecode.BytecodeProvider java.lang.String java.lang.Class java.lang.String java.lang.reflect.Type[]
StackMap stack:
aload 0
aload 1
putfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.registration:Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins$Registration;
3: aload 0
aload 2
putfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.bytecodeProvider:Lorg/graalvm/compiler/bytecode/BytecodeProvider;
4: aload 0
aload 3
putfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.originalName:Ljava/lang/String;
5: aload 0
aload 4
putfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.declaringClass:Ljava/lang/Class;
6: aload 0
aload 5
putfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.substituteName:Ljava/lang/String;
7: aload 0
aload 6
putfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.parameters:[Ljava/lang/reflect/Type;
8: aload 0
aload 6
arraylength
ifeq 9
aload 6
iconst_0
aaload
ldc Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugin$Receiver;
if_acmpne 9
iconst_0
goto 10
StackMap locals:
StackMap stack: org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin
9: iconst_1
StackMap locals: org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration org.graalvm.compiler.bytecode.BytecodeProvider java.lang.String java.lang.Class java.lang.String java.lang.reflect.Type[]
StackMap stack: org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin int
10: putfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.originalIsStatic:Z
11: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;
0 12 1 registration Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins$Registration;
0 12 2 bytecodeProvider Lorg/graalvm/compiler/bytecode/BytecodeProvider;
0 12 3 originalName Ljava/lang/String;
0 12 4 declaringClass Ljava/lang/Class<*>;
0 12 5 substituteName Ljava/lang/String;
0 12 6 parameters [Ljava/lang/reflect/Type;
Signature: (Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins$Registration;Lorg/graalvm/compiler/bytecode/BytecodeProvider;Ljava/lang/String;Ljava/lang/Class<*>;Ljava/lang/String;[Ljava/lang/reflect/Type;)V
MethodParameters:
Name Flags
registration
bytecodeProvider
originalName
declaringClass
substituteName
parameters
public boolean inlineOnly();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;
public jdk.vm.ci.meta.ResolvedJavaMethod getSubstitute(jdk.vm.ci.meta.MetaAccessProvider);
descriptor: (Ljdk/vm/ci/meta/MetaAccessProvider;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.cachedSubstitute:Ljdk/vm/ci/meta/ResolvedJavaMethod;
ifnonnull 2
1: aload 0
aload 1
aload 0
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.getJavaSubstitute:()Ljava/lang/reflect/Method;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaMethod:(Ljava/lang/reflect/Executable;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
putfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.cachedSubstitute:Ljdk/vm/ci/meta/ResolvedJavaMethod;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.cachedSubstitute:Ljdk/vm/ci/meta/ResolvedJavaMethod;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;
0 3 1 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
MethodParameters:
Name Flags
metaAccess
public org.graalvm.compiler.bytecode.BytecodeProvider getBytecodeProvider();
descriptor: ()Lorg/graalvm/compiler/bytecode/BytecodeProvider;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.bytecodeProvider:Lorg/graalvm/compiler/bytecode/BytecodeProvider;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;
public java.lang.Class<?> getDeclaringClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.declaringClass:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;
Signature: ()Ljava/lang/Class<*>;
public java.lang.reflect.Method getJavaSubstitute();
descriptor: ()Ljava/lang/reflect/Method;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.lookupSubstitute:()Ljava/lang/reflect/Method;
astore 1
start local 1 1: aload 1
invokevirtual java.lang.reflect.Method.getModifiers:()I
istore 2
start local 2 2: iload 2
invokestatic java.lang.reflect.Modifier.isAbstract:(I)Z
ifne 3
iload 2
invokestatic java.lang.reflect.Modifier.isNative:(I)Z
ifeq 4
3: StackMap locals: java.lang.reflect.Method int
StackMap stack:
new org.graalvm.compiler.debug.GraalError
dup
new java.lang.StringBuilder
dup
ldc "Substitution method must not be abstract or native: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iload 2
invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
ifne 6
5: new org.graalvm.compiler.debug.GraalError
dup
new java.lang.StringBuilder
dup
ldc "Substitution method must be static: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;
1 7 1 substituteMethod Ljava/lang/reflect/Method;
2 7 2 modifiers I
Exceptions:
throws org.graalvm.compiler.debug.GraalError
private boolean isSubstitute(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.reflect.Method.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
ifeq 15
aload 1
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
aload 0
getfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.substituteName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
1: aload 0
getfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.parameters:[Ljava/lang/reflect/Type;
arraylength
aload 1
invokevirtual java.lang.reflect.Method.getParameterCount:()I
if_icmpne 15
2: aload 1
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
astore 2
start local 2 3: iconst_0
istore 3
start local 3 4: aload 0
getfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.originalIsStatic:Z
ifne 8
5: iconst_1
istore 3
6: aload 2
iconst_0
aaload
aload 0
getfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.parameters:[Ljava/lang/reflect/Type;
iconst_0
aaload
iconst_0
invokestatic org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins.resolveType:(Ljava/lang/reflect/Type;Z)Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 8
7: iconst_0
ireturn
8: StackMap locals: java.lang.Class[] int
StackMap stack:
iload 3
istore 4
start local 4 9: goto 13
10: StackMap locals: int
StackMap stack:
aload 2
iload 4
aaload
aload 0
getfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.parameters:[Ljava/lang/reflect/Type;
iload 4
aaload
iconst_0
invokestatic org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins.resolveType:(Ljava/lang/reflect/Type;Z)Ljava/lang/Class;
if_acmpeq 12
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
aload 2
arraylength
if_icmplt 10
end local 4 14: iconst_1
ireturn
end local 3 end local 2 15: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;
0 16 1 m Ljava/lang/reflect/Method;
3 15 2 mparams [Ljava/lang/Class;
4 15 3 start I
9 14 4 i I
MethodParameters:
Name Flags
m
private java.lang.reflect.Method lookupSubstitute(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Ljava/lang/reflect/Method;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.declaringClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getDeclaredMethods:()[Ljava/lang/reflect/Method;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin java.lang.reflect.Method top int int java.lang.reflect.Method[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 2
aload 1
invokevirtual java.lang.reflect.Method.equals:(Ljava/lang/Object;)Z
ifne 4
aload 0
aload 2
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.isSubstitute:(Ljava/lang/reflect/Method;)Z
ifeq 4
3: aload 2
areturn
end local 2 4: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 1
6: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;
0 7 1 excluding Ljava/lang/reflect/Method;
2 4 2 m Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
excluding
private java.lang.reflect.Method lookupSubstitute();
descriptor: ()Ljava/lang/reflect/Method;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=2, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.lookupSubstitute:(Ljava/lang/reflect/Method;)Ljava/lang/reflect/Method;
astore 1
start local 1 1: aload 1
ifnull 4
2: getstatic org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.$assertionsDisabled:Z
ifne 3
aload 0
aload 1
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.lookupSubstitute:(Ljava/lang/reflect/Method;)Ljava/lang/reflect/Method;
ifnull 3
new java.lang.AssertionError
dup
ldc "multiple matches found for %s:%n%s%n%s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 1
aastore
dup
iconst_2
aload 0
aload 1
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.lookupSubstitute:(Ljava/lang/reflect/Method;)Ljava/lang/reflect/Method;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals: java.lang.reflect.Method
StackMap stack:
aload 1
areturn
4: StackMap locals:
StackMap stack:
new org.graalvm.compiler.debug.GraalError
dup
ldc "No method found specified by %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;
1 5 1 m Ljava/lang/reflect/Method;
public boolean execute(org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext, jdk.vm.ci.meta.ResolvedJavaMethod, org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugin$Receiver, org.graalvm.compiler.nodes.ValueNode[]);
descriptor: (Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugin$Receiver;[Lorg/graalvm/compiler/nodes/ValueNode;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: getstatic jdk.vm.ci.services.Services.IS_IN_NATIVE_IMAGE:Z
ifne 1
getstatic org.graalvm.compiler.core.common.GraalOptions.UseEncodedGraphs:Lorg/graalvm/compiler/options/OptionKey;
aload 1
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 11
aload 1
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.parsingIntrinsic:()Z
ifne 11
1: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.getReplacements:()Lorg/graalvm/compiler/nodes/spi/Replacements;
aload 0
2: aload 2
3: getstatic org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext$CompilationContext.INLINE_AFTER_PARSING:Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext$CompilationContext;
4: aload 1
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.getAssumptions:()Ljdk/vm/ci/meta/Assumptions;
invokestatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.ifNonNull:(Ljdk/vm/ci/meta/Assumptions;)Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
5: aconst_null
6: aload 1
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
7: invokeinterface org.graalvm.compiler.nodes.spi.Replacements.getMethodSubstitution:(Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext$CompilationContext;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;Lorg/graalvm/compiler/nodes/Cancellable;Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 5
start local 5 8: aload 5
ifnonnull 10
9: new org.graalvm.compiler.debug.GraalError
dup
ldc "No graphs found for substitution %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
10: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph
StackMap stack:
aload 1
aload 2
aload 5
aload 3
aload 4
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.intrinsify:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugin$Receiver;[Lorg/graalvm/compiler/nodes/ValueNode;)Z
ireturn
end local 5 11: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.getSubstitute:(Ljdk/vm/ci/meta/MetaAccessProvider;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 5
start local 5 12: aload 1
aload 0
getfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.bytecodeProvider:Lorg/graalvm/compiler/bytecode/BytecodeProvider;
aload 2
aload 5
aload 3
aload 4
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.intrinsify:(Lorg/graalvm/compiler/bytecode/BytecodeProvider;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugin$Receiver;[Lorg/graalvm/compiler/nodes/ValueNode;)Z
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;
0 13 1 b Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;
0 13 2 targetMethod Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 13 3 receiver Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugin$Receiver;
0 13 4 argsIncludingReceiver [Lorg/graalvm/compiler/nodes/ValueNode;
8 11 5 subst Lorg/graalvm/compiler/nodes/StructuredGraph;
12 13 5 substitute Ljdk/vm/ci/meta/ResolvedJavaMethod;
MethodParameters:
Name Flags
b
targetMethod
receiver
argsIncludingReceiver
public java.lang.StackTraceElement getApplySourceLocation(jdk.vm.ci.meta.MetaAccessProvider);
descriptor: (Ljdk/vm/ci/meta/MetaAccessProvider;)Ljava/lang/StackTraceElement;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 2
start local 2 1: aload 2
invokevirtual java.lang.Class.getDeclaredMethods:()[Ljava/lang/reflect/Method;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 6
StackMap locals: org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin jdk.vm.ci.meta.MetaAccessProvider java.lang.Class top int int java.lang.reflect.Method[]
StackMap stack:
2: aload 6
iload 4
aaload
astore 3
start local 3 3: aload 3
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
ldc "execute"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: aload 1
aload 3
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaMethod:(Ljava/lang/reflect/Executable;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
iconst_0
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.asStackTraceElement:(I)Ljava/lang/StackTraceElement;
areturn
end local 3 5: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
iload 5
if_icmplt 2
7: new org.graalvm.compiler.debug.GraalError
dup
new java.lang.StringBuilder
dup
ldc "could not find method named \"execute\" in "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
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;
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;
0 8 1 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
1 8 2 c Ljava/lang/Class<*>;
3 5 3 m Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
metaAccess
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: ldc "%s[%s.%s(%s)]"
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.declaringClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_2
aload 0
getfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.substituteName:Ljava/lang/String;
aastore
dup
iconst_3
1: aload 0
getfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.parameters:[Ljava/lang/reflect/Type;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin.lambda$0(Ljava/lang/reflect/Type;)Ljava/lang/String; (6)
(Ljava/lang/reflect/Type;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
ldc ", "
invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
aastore
2: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;
public java.lang.String originalMethodAsString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: ldc "%s.%s(%s)"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.declaringClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.substituteName:Ljava/lang/String;
aastore
dup
iconst_2
aload 0
getfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.parameters:[Ljava/lang/reflect/Type;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin.lambda$1(Ljava/lang/reflect/Type;)Ljava/lang/String; (6)
(Ljava/lang/reflect/Type;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
ldc ", "
invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;
public jdk.vm.ci.meta.ResolvedJavaMethod getOriginalMethod(jdk.vm.ci.meta.MetaAccessProvider);
descriptor: (Ljdk/vm/ci/meta/MetaAccessProvider;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.registration:Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins$Registration;
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration.getDeclaringType:()Ljava/lang/reflect/Type;
iconst_0
invokestatic org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins.resolveType:(Ljava/lang/reflect/Type;Z)Ljava/lang/Class;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new org.graalvm.compiler.debug.GraalError
dup
new java.lang.StringBuilder
dup
ldc "Can't find original class for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " with class "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.registration:Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins$Registration;
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration.getDeclaringType:()Ljava/lang/reflect/Type;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.Class
StackMap stack:
aload 1
aload 2
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
astore 3
start local 3 4: aload 0
getfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.originalIsStatic:Z
aload 0
getfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.parameters:[Ljava/lang/reflect/Type;
invokestatic org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins.toArgumentDescriptor:(Z[Ljava/lang/reflect/Type;)Ljava/lang/String;
astore 4
start local 4 5: aload 3
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getDeclaredMethods:()[Ljdk/vm/ci/meta/ResolvedJavaMethod;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 11
StackMap locals: org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin jdk.vm.ci.meta.MetaAccessProvider java.lang.Class jdk.vm.ci.meta.ResolvedJavaType java.lang.String top int int jdk.vm.ci.meta.ResolvedJavaMethod[]
StackMap stack:
6: aload 8
iload 6
aaload
astore 5
start local 5 7: aload 5
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getName:()Ljava/lang/String;
aload 0
getfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.originalName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
aload 5
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.isStatic:()Z
aload 0
getfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.originalIsStatic:Z
if_icmpne 10
8: aload 5
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getSignature:()Ljdk/vm/ci/meta/Signature;
invokeinterface jdk.vm.ci.meta.Signature.toMethodDescriptor:()Ljava/lang/String;
aload 4
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 10
9: aload 5
areturn
end local 5 10: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
11: iload 6
iload 7
if_icmplt 6
12: new org.graalvm.compiler.debug.GraalError
dup
new java.lang.StringBuilder
dup
ldc "Can't find original method for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " with class "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin.registration:Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins$Registration;
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration.getDeclaringType:()Ljava/lang/reflect/Type;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;
0 13 1 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
1 13 2 clazz Ljava/lang/Class<*>;
4 13 3 type Ljdk/vm/ci/meta/ResolvedJavaType;
5 13 4 argumentsDescriptor Ljava/lang/String;
7 10 5 declared Ljdk/vm/ci/meta/ResolvedJavaMethod;
MethodParameters:
Name Flags
metaAccess
private static java.lang.String lambda$0(java.lang.reflect.Type);
descriptor: (Ljava/lang/reflect/Type;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.lang.reflect.Type.getTypeName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljava/lang/reflect/Type;
private static java.lang.String lambda$1(java.lang.reflect.Type);
descriptor: (Ljava/lang/reflect/Type;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.lang.reflect.Type.getTypeName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljava/lang/reflect/Type;
}
SourceFile: "MethodSubstitutionPlugin.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final AllowAssumptions = org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions of org.graalvm.compiler.nodes.StructuredGraph
public final CompilationContext = org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext$CompilationContext of org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext
public abstract Receiver = org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugin$Receiver of org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugin
public Registration = org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins$Registration of org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins