class org.graalvm.compiler.replacements.test.ReplacementsParseTest$TestMethodsSubstitutions
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.compiler.replacements.test.ReplacementsParseTest$TestMethodsSubstitutions
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/ReplacementsParseTest$TestMethodsSubstitutions;
static double nextAfter(double, double);
descriptor: (DD)D
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 2 0: dload 0
ldc -0.0
dcmpl
ifne 1
dconst_0
goto 2
StackMap locals:
StackMap stack:
1: dload 0
StackMap locals:
StackMap stack: double
2: dstore 4
start local 4 3: dload 4
dload 2
invokestatic java.lang.Math.nextAfter:(DD)D
dreturn
end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 x D
0 4 2 d D
3 4 4 xx D
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution(isStatic = true)
MethodParameters:
Name Flags
x
d
static java.lang.String stringize(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnull 2
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc Ljava/lang/String;
if_acmpne 2
1: aload 0
invokestatic org.graalvm.compiler.replacements.test.ReplacementsParseTest$TestMethodsSubstitutions.asNonNullString:(Ljava/lang/Object;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic org.graalvm.compiler.replacements.test.ReplacementsParseTest$TestMethodsSubstitutions.stringize:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 obj Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution()
MethodParameters:
Name Flags
obj
public static java.lang.String asNonNullString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
ldc Ljava/lang/String;
iconst_1
iconst_1
invokestatic org.graalvm.compiler.replacements.test.ReplacementsParseTest$TestMethodsSubstitutions.asNonNullStringIntrinsic:(Ljava/lang/Object;Ljava/lang/Class;ZZ)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 object Ljava/lang/Object;
MethodParameters:
Name Flags
object
private static native java.lang.String asNonNullStringIntrinsic(, java.lang.Class<?>, boolean, boolean);
descriptor: (Ljava/lang/Object;Ljava/lang/Class;ZZ)Ljava/lang/String;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Signature: (Ljava/lang/Object;Ljava/lang/Class<*>;ZZ)Ljava/lang/String;
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic(value = Lorg/graalvm/compiler/nodes/PiNode;)
RuntimeVisibleParameterAnnotations:
0:
1:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
2:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
3:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
MethodParameters:
Name Flags
object
toType
exactType
nonNull
static java.lang.String identity(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: 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/replacements/test/ReplacementsParseTest$TestMethodsSubstitutions.lambda$0(Ljava/lang/String;)Ljava/lang/String; (6)
(Ljava/lang/String;)Ljava/lang/String;
aload 0
invokestatic org.graalvm.compiler.replacements.test.ReplacementsParseTest$TestMethodsSubstitutions.apply:(Ljava/util/function/Function;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value Ljava/lang/String;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution()
MethodParameters:
Name Flags
value
private static java.lang.String apply(java.util.function.Function<java.lang.String, java.lang.String>, java.lang.String);
descriptor: (Ljava/util/function/Function;Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 f Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/String;>;
0 1 1 value Ljava/lang/String;
Signature: (Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/String;>;Ljava/lang/String;)Ljava/lang/String;
MethodParameters:
Name Flags
f
value
private static java.lang.String lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)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
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
}
SourceFile: "ReplacementsParseTest.java"
NestHost: org.graalvm.compiler.replacements.test.ReplacementsParseTest
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract ConstantNodeParameter = org.graalvm.compiler.graph.Node$ConstantNodeParameter of org.graalvm.compiler.graph.Node
public abstract NodeIntrinsic = org.graalvm.compiler.graph.Node$NodeIntrinsic of org.graalvm.compiler.graph.Node
TestMethodsSubstitutions = org.graalvm.compiler.replacements.test.ReplacementsParseTest$TestMethodsSubstitutions of org.graalvm.compiler.replacements.test.ReplacementsParseTest
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.ClassSubstitution(value = Lorg/graalvm/compiler/replacements/test/ReplacementsParseTest$TestMethods;)