public class org.graalvm.compiler.replacements.test.StandardMethodSubstitutionsTest extends org.graalvm.compiler.replacements.test.MethodSubstitutionTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.replacements.test.StandardMethodSubstitutionsTest
super_class: org.graalvm.compiler.replacements.test.MethodSubstitutionTest
{
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/replacements/test/StandardMethodSubstitutionsTest;
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.StandardMethodSubstitutionsTest.$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 0: aload 0
invokespecial org.graalvm.compiler.replacements.test.MethodSubstitutionTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/StandardMethodSubstitutionsTest;
public void testMathSubstitutions();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/StandardMethodSubstitutionsTest;
RuntimeInvisibleAnnotations:
Test()
public void testMathPow();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/StandardMethodSubstitutionsTest;
RuntimeInvisibleAnnotations:
Test()
public static double mathPow(double, double);
descriptor: (DD)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 2 0: dload 0
dload 2
invokestatic org.graalvm.compiler.replacements.test.StandardMethodSubstitutionsTest.mathPow0:(DD)D
dreturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a D
0 1 2 b D
MethodParameters:
Name Flags
a
b
public static double mathPow0(double, double);
descriptor: (DD)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 2 0: dload 0
dload 2
invokestatic java.lang.Math.pow:(DD)D
dreturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a D
0 1 2 b D
MethodParameters:
Name Flags
a
b
public static double mathAbs(double);
descriptor: (D)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: dload 0
invokestatic java.lang.Math.abs:(D)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value D
MethodParameters:
Name Flags
value
public static double mathSqrt(double);
descriptor: (D)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: dload 0
invokestatic java.lang.Math.sqrt:(D)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value D
MethodParameters:
Name Flags
value
public static double mathLog(double);
descriptor: (D)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: dload 0
invokestatic java.lang.Math.log:(D)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value D
MethodParameters:
Name Flags
value
public static double mathLog10(double);
descriptor: (D)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: dload 0
invokestatic java.lang.Math.log10:(D)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value D
MethodParameters:
Name Flags
value
public static double mathSin(double);
descriptor: (D)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: dload 0
invokestatic java.lang.Math.sin:(D)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value D
MethodParameters:
Name Flags
value
public static double mathCos(double);
descriptor: (D)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: dload 0
invokestatic java.lang.Math.cos:(D)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value D
MethodParameters:
Name Flags
value
public static double mathTan(double);
descriptor: (D)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: dload 0
invokestatic java.lang.Math.tan:(D)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value D
MethodParameters:
Name Flags
value
public static double mathAll(double);
descriptor: (D)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: dload 0
invokestatic java.lang.Math.sqrt:(D)D
dload 0
invokestatic java.lang.Math.log:(D)D
dadd
dload 0
invokestatic java.lang.Math.log10:(D)D
dadd
dload 0
invokestatic java.lang.Math.sin:(D)D
dadd
dload 0
invokestatic java.lang.Math.cos:(D)D
dadd
dload 0
invokestatic java.lang.Math.tan:(D)D
dadd
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value D
MethodParameters:
Name Flags
value
public void testSubstitution(java.lang.String, java.lang.Class<?>, java.lang.Class<?>, java.lang.String, boolean, []);
descriptor: (Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;Z[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=9, locals=17, 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
aload 3
aload 4
invokevirtual org.graalvm.compiler.replacements.test.StandardMethodSubstitutionsTest.getResolvedJavaMethod:(Ljava/lang/Class;Ljava/lang/String;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 7
start local 7 1: aload 0
aload 1
invokevirtual org.graalvm.compiler.replacements.test.StandardMethodSubstitutionsTest.getResolvedJavaMethod:(Ljava/lang/String;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 8
start local 8 2: aload 0
aload 1
invokevirtual org.graalvm.compiler.replacements.test.StandardMethodSubstitutionsTest.testGraph:(Ljava/lang/String;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 9
start local 9 3: aload 0
invokevirtual org.graalvm.compiler.replacements.test.StandardMethodSubstitutionsTest.getReplacements:()Lorg/graalvm/compiler/nodes/spi/Replacements;
aload 7
iconst_m1
iconst_0
aconst_null
invokeinterface org.graalvm.compiler.nodes.spi.Replacements.getSubstitution:(Ljdk/vm/ci/meta/ResolvedJavaMethod;IZLorg/graalvm/compiler/graph/NodeSourcePosition;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 10
start local 10 4: aload 10
ifnonnull 6
iload 5
ifne 6
5: aload 9
aload 2
invokestatic org.graalvm.compiler.replacements.test.StandardMethodSubstitutionsTest.assertInGraph:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Class;)Lorg/graalvm/compiler/nodes/StructuredGraph;
pop
6: StackMap locals: org.graalvm.compiler.replacements.test.StandardMethodSubstitutionsTest java.lang.String java.lang.Class java.lang.Class java.lang.String int 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 6
dup
astore 14
arraylength
istore 13
iconst_0
istore 12
goto 14
StackMap locals: org.graalvm.compiler.replacements.test.StandardMethodSubstitutionsTest java.lang.String java.lang.Class java.lang.Class java.lang.String int java.lang.Object[] jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.StructuredGraph top int int java.lang.Object[]
StackMap stack:
7: aload 14
iload 12
aaload
astore 11
start local 11 8: aload 0
aload 8
invokevirtual org.graalvm.compiler.replacements.test.StandardMethodSubstitutionsTest.getCode:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Ljdk/vm/ci/code/InstalledCode;
astore 15
start local 15 9: getstatic org.graalvm.compiler.replacements.test.StandardMethodSubstitutionsTest.$assertionsDisabled:Z
ifne 10
iload 5
ifne 10
aload 15
ifnonnull 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals: org.graalvm.compiler.replacements.test.StandardMethodSubstitutionsTest java.lang.String java.lang.Class java.lang.Class java.lang.String int java.lang.Object[] jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.StructuredGraph java.lang.Object int int java.lang.Object[] jdk.vm.ci.code.InstalledCode
StackMap stack:
aload 0
aload 7
aconst_null
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 11
aastore
invokevirtual org.graalvm.compiler.replacements.test.StandardMethodSubstitutionsTest.invokeSafe:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 16
start local 16 11: aload 0
aload 16
aload 0
aload 8
aconst_null
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 11
aastore
invokevirtual org.graalvm.compiler.replacements.test.StandardMethodSubstitutionsTest.invokeSafe:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual org.graalvm.compiler.replacements.test.StandardMethodSubstitutionsTest.assertDeepEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
12: aload 0
aload 16
aload 15
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 11
aastore
invokestatic org.graalvm.compiler.replacements.test.StandardMethodSubstitutionsTest.executeVarargsSafe:(Ljdk/vm/ci/code/InstalledCode;[Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual org.graalvm.compiler.replacements.test.StandardMethodSubstitutionsTest.assertDeepEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 16 end local 15 end local 11 13: iinc 12 1
StackMap locals: org.graalvm.compiler.replacements.test.StandardMethodSubstitutionsTest java.lang.String java.lang.Class java.lang.Class java.lang.String int java.lang.Object[] jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.StructuredGraph top int int java.lang.Object[]
StackMap stack:
14: iload 12
iload 13
if_icmplt 7
15: return
end local 10 end local 9 end local 8 end local 7 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 16 0 this Lorg/graalvm/compiler/replacements/test/StandardMethodSubstitutionsTest;
0 16 1 testMethodName Ljava/lang/String;
0 16 2 intrinsicClass Ljava/lang/Class<*>;
0 16 3 holder Ljava/lang/Class<*>;
0 16 4 methodName Ljava/lang/String;
0 16 5 optional Z
0 16 6 args [Ljava/lang/Object;
1 16 7 realJavaMethod Ljdk/vm/ci/meta/ResolvedJavaMethod;
2 16 8 testJavaMethod Ljdk/vm/ci/meta/ResolvedJavaMethod;
3 16 9 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
4 16 10 replacement Lorg/graalvm/compiler/nodes/StructuredGraph;
8 13 11 l Ljava/lang/Object;
9 13 15 code Ljdk/vm/ci/code/InstalledCode;
11 13 16 expected Ljava/lang/Object;
Signature: (Ljava/lang/String;Ljava/lang/Class<*>;Ljava/lang/Class<*>;Ljava/lang/String;Z[Ljava/lang/Object;)V
MethodParameters:
Name Flags
testMethodName
intrinsicClass
holder
methodName
optional
args
public void testCharSubstitutions();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/StandardMethodSubstitutionsTest;
RuntimeInvisibleAnnotations:
Test()
public static char charReverseBytes(char);
descriptor: (C)C
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
invokestatic java.lang.Character.reverseBytes:(C)C
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value C
MethodParameters:
Name Flags
value
public void testCharSubstitutionsNarrowing();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/StandardMethodSubstitutionsTest;
RuntimeInvisibleAnnotations:
Test()
public static char charReverseBytesNarrowing(int);
descriptor: (I)C
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
i2c
invokestatic java.lang.Character.reverseBytes:(C)C
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value I
MethodParameters:
Name Flags
value
public void testShortSubstitutions();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/StandardMethodSubstitutionsTest;
RuntimeInvisibleAnnotations:
Test()
public static short shortReverseBytes(short);
descriptor: (S)S
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
invokestatic java.lang.Short.reverseBytes:(S)S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value S
MethodParameters:
Name Flags
value
public void testShortSubstitutionsNarrowing();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/StandardMethodSubstitutionsTest;
RuntimeInvisibleAnnotations:
Test()
public static short shortReverseBytesNarrowing(int);
descriptor: (I)S
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
i2s
invokestatic java.lang.Short.reverseBytes:(S)S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value I
MethodParameters:
Name Flags
value
public void testIntegerSubstitutions();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/StandardMethodSubstitutionsTest;
RuntimeInvisibleAnnotations:
Test()
public static int integerReverseBytes(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
invokestatic java.lang.Integer.reverseBytes:(I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value I
MethodParameters:
Name Flags
value
public static int integerNumberOfLeadingZeros(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
invokestatic java.lang.Integer.numberOfLeadingZeros:(I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value I
MethodParameters:
Name Flags
value
public static int integerNumberOfTrailingZeros(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
invokestatic java.lang.Integer.numberOfTrailingZeros:(I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value I
MethodParameters:
Name Flags
value
public static int integerBitCount(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
invokestatic java.lang.Integer.bitCount:(I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value I
MethodParameters:
Name Flags
value
public void testLongSubstitutions();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/StandardMethodSubstitutionsTest;
RuntimeInvisibleAnnotations:
Test()
public static long longReverseBytes(long);
descriptor: (J)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: lload 0
invokestatic java.lang.Long.reverseBytes:(J)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value J
MethodParameters:
Name Flags
value
public static int longNumberOfLeadingZeros(long);
descriptor: (J)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: lload 0
invokestatic java.lang.Long.numberOfLeadingZeros:(J)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value J
MethodParameters:
Name Flags
value
public static int longNumberOfTrailingZeros(long);
descriptor: (J)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: lload 0
invokestatic java.lang.Long.numberOfTrailingZeros:(J)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value J
MethodParameters:
Name Flags
value
public static int longBitCount(long);
descriptor: (J)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: lload 0
invokestatic java.lang.Long.bitCount:(J)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value J
MethodParameters:
Name Flags
value
public void testFloatSubstitutions();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/StandardMethodSubstitutionsTest;
RuntimeInvisibleAnnotations:
Test()
public static int floatToIntBits(float);
descriptor: (F)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: fload 0
invokestatic java.lang.Float.floatToIntBits:(F)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value F
MethodParameters:
Name Flags
value
public static float intBitsToFloat(int);
descriptor: (I)F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
invokestatic java.lang.Float.intBitsToFloat:(I)F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value I
MethodParameters:
Name Flags
value
public void testDoubleSubstitutions();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/StandardMethodSubstitutionsTest;
RuntimeInvisibleAnnotations:
Test()
public static long doubleToLongBits(double);
descriptor: (D)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: dload 0
invokestatic java.lang.Double.doubleToLongBits:(D)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value D
MethodParameters:
Name Flags
value
public static double longBitsToDouble(long);
descriptor: (J)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: lload 0
invokestatic java.lang.Double.longBitsToDouble:(J)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value J
MethodParameters:
Name Flags
value
public static boolean isInstance(java.lang.Class<?>, );
descriptor: (Ljava/lang/Class;Ljava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 clazz Ljava/lang/Class<*>;
0 1 1 object Ljava/lang/Object;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Object;)Z
MethodParameters:
Name Flags
clazz
object
public static boolean isInstance2(boolean, java.lang.Object);
descriptor: (ZLjava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 0
ifeq 3
1: ldc Ljava/lang/String;
astore 2
start local 2 2: goto 4
end local 2 3: StackMap locals:
StackMap stack:
ldc Ljava/util/HashMap;
astore 2
start local 2 4: StackMap locals: java.lang.Class
StackMap stack:
aload 2
aload 1
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 cond Z
0 5 1 object Ljava/lang/Object;
2 3 2 clazz Ljava/lang/Class<*>;
4 5 2 clazz Ljava/lang/Class<*>;
MethodParameters:
Name Flags
cond
object
public static boolean isAssignableFrom(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 clazz Ljava/lang/Class<*>;
0 1 1 other Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
clazz
other
public void testClassSubstitutions();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/StandardMethodSubstitutionsTest;
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "StandardMethodSubstitutionsTest.java"