public class org.graalvm.compiler.replacements.StringUTF16Substitutions
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.replacements.StringUTF16Substitutions
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/StringUTF16Substitutions;
public static char getChar(byte[], int);
descriptor: ([BI)C
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_1
ishl
iconst_1
iadd
aload 0
arraylength
if_icmpge 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "Trusted caller missed bounds check"
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.runtimeAssert:(ZLjava/lang/String;)V
3: aload 0
iload 1
iconst_1
ishl
invokestatic org.graalvm.compiler.replacements.StringUTF16Substitutions.getCharDirect:([BI)C
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 value [B
0 4 1 i I
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution()
MethodParameters:
Name Flags
value
i
public static native char getCharDirect(byte[], int);
descriptor: ([BI)C
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
value
i
public static void putChar(byte[], int, int);
descriptor: ([BII)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iconst_1
ishl
iconst_1
iadd
aload 0
arraylength
if_icmpge 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "Trusted caller missed bounds check"
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.runtimeAssert:(ZLjava/lang/String;)V
3: aload 0
iload 1
iconst_1
ishl
iload 2
invokestatic org.graalvm.compiler.replacements.StringUTF16Substitutions.putCharDirect:([BII)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 value [B
0 5 1 i I
0 5 2 c I
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution()
MethodParameters:
Name Flags
value
i
c
public static native void putCharDirect(byte[], int, int);
descriptor: ([BII)V
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
value
i
c
}
SourceFile: "StringUTF16Substitutions.java"
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.ClassSubstitution(className = {"java.lang.StringUTF16"}, optional = true)