public class org.graalvm.compiler.replacements.StringSubstitutions
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.replacements.StringSubstitutions
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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/StringSubstitutions;
public static boolean equals(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof java.lang.String
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast java.lang.String
astore 2
start local 2 5: aload 0
invokevirtual java.lang.String.length:()I
aload 2
invokevirtual java.lang.String.length:()I
if_icmpeq 7
6: iconst_0
ireturn
7: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokevirtual java.lang.String.length:()I
ifne 9
8: iconst_1
ireturn
9: StackMap locals:
StackMap stack:
aload 0
invokestatic org.graalvm.compiler.replacements.StringSubstitutions.getValue:(Ljava/lang/String;)[C
astore 3
start local 3 10: aload 2
invokestatic org.graalvm.compiler.replacements.StringSubstitutions.getValue:(Ljava/lang/String;)[C
astore 4
start local 4 11: aload 3
aload 4
aload 3
arraylength
invokestatic org.graalvm.compiler.replacements.nodes.ArrayEqualsNode.equals:([C[CI)Z
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 thisString Ljava/lang/String;
0 12 1 obj Ljava/lang/Object;
5 12 2 thatString Ljava/lang/String;
10 12 3 array1 [C
11 12 4 array2 [C
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution(isStatic = false)
RuntimeInvisibleAnnotations:
org.graalvm.compiler.core.common.SuppressFBWarnings(value = {"ES_COMPARING_PARAMETER_STRING_WITH_EQ"}, justification = "reference equality on the receiver is what we want")
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
org.graalvm.compiler.core.common.SuppressFBWarnings(value = {"ES_COMPARING_PARAMETER_STRING_WITH_EQ"}, justification = "reference equality on the receiver is what we want")
MethodParameters:
Name Flags
thisString final
obj
public static native char[] getValue(java.lang.String);
descriptor: (Ljava/lang/String;)[C
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
s
}
SourceFile: "StringSubstitutions.java"
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.ClassSubstitution(value = Ljava/lang/String;)