public class org.graalvm.compiler.replacements.SnippetTemplate$Arguments implements java.util.Formattable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.replacements.SnippetTemplate$Arguments
super_class: java.lang.Object
{
protected final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo info;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.graalvm.compiler.replacements.SnippetTemplate$CacheKey cacheKey;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$CacheKey;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.lang.Object[] values;
descriptor: [Ljava/lang/Object;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.graalvm.compiler.core.common.type.Stamp[] constStamps;
descriptor: [Lorg/graalvm/compiler/core/common/type/Stamp;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected boolean cacheable;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected int nextParamIdx;
descriptor: I
flags: (0x0004) ACC_PROTECTED
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/SnippetTemplate;
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.SnippetTemplate$Arguments.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo, org.graalvm.compiler.nodes.StructuredGraph$GuardsStage, org.graalvm.compiler.nodes.spi.LoweringTool$LoweringStage);
descriptor: (Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.info:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
2: aload 0
new org.graalvm.compiler.replacements.SnippetTemplate$CacheKey
dup
aload 1
aload 2
aload 3
invokespecial org.graalvm.compiler.replacements.SnippetTemplate$CacheKey.<init>:(Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;)V
putfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.cacheKey:Lorg/graalvm/compiler/replacements/SnippetTemplate$CacheKey;
3: aload 0
aload 1
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.getParameterCount:()I
anewarray java.lang.Object
putfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.values:[Ljava/lang/Object;
4: aload 0
aload 1
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.getParameterCount:()I
anewarray org.graalvm.compiler.core.common.type.Stamp
putfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.constStamps:[Lorg/graalvm/compiler/core/common/type/Stamp;
5: aload 0
iconst_1
putfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.cacheable:Z
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
0 7 1 info Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
0 7 2 guardsStage Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
0 7 3 loweringStage Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;
MethodParameters:
Name Flags
info
guardsStage
loweringStage
public org.graalvm.compiler.replacements.SnippetTemplate$Arguments add(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.replacements.SnippetTemplate$Arguments.$assertionsDisabled:Z
ifne 1
aload 0
aload 1
iconst_0
iconst_0
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.check:(Ljava/lang/String;ZZ)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.values:[Ljava/lang/Object;
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.nextParamIdx:I
aload 2
aastore
2: aload 0
dup
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.nextParamIdx:I
iconst_1
iadd
putfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.nextParamIdx:I
3: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
0 4 1 name Ljava/lang/String;
0 4 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
name
value
public org.graalvm.compiler.replacements.SnippetTemplate$Arguments addConst(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.replacements.SnippetTemplate$Arguments.$assertionsDisabled:Z
ifne 1
aload 2
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aconst_null
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;Lorg/graalvm/compiler/core/common/type/Stamp;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
0 2 1 name Ljava/lang/String;
0 2 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
name
value
public org.graalvm.compiler.replacements.SnippetTemplate$Arguments addConst(java.lang.String, java.lang.Object, org.graalvm.compiler.core.common.type.Stamp);
descriptor: (Ljava/lang/String;Ljava/lang/Object;Lorg/graalvm/compiler/core/common/type/Stamp;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.graalvm.compiler.replacements.SnippetTemplate$Arguments.$assertionsDisabled:Z
ifne 1
aload 0
aload 1
iconst_1
iconst_0
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.check:(Ljava/lang/String;ZZ)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.values:[Ljava/lang/Object;
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.nextParamIdx:I
aload 2
aastore
2: aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.constStamps:[Lorg/graalvm/compiler/core/common/type/Stamp;
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.nextParamIdx:I
aload 3
aastore
3: aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.cacheKey:Lorg/graalvm/compiler/replacements/SnippetTemplate$CacheKey;
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.nextParamIdx:I
aload 2
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$CacheKey.setParam:(ILjava/lang/Object;)V
4: aload 0
dup
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.nextParamIdx:I
iconst_1
iadd
putfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.nextParamIdx:I
5: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
0 6 1 name Ljava/lang/String;
0 6 2 value Ljava/lang/Object;
0 6 3 stamp Lorg/graalvm/compiler/core/common/type/Stamp;
MethodParameters:
Name Flags
name
value
stamp
public org.graalvm.compiler.replacements.SnippetTemplate$Arguments addVarargs(java.lang.String, java.lang.Class<?>, org.graalvm.compiler.core.common.type.Stamp, );
descriptor: (Ljava/lang/String;Ljava/lang/Class;Lorg/graalvm/compiler/core/common/type/Stamp;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: getstatic org.graalvm.compiler.replacements.SnippetTemplate$Arguments.$assertionsDisabled:Z
ifne 1
aload 0
aload 1
iconst_0
iconst_1
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.check:(Ljava/lang/String;ZZ)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
new org.graalvm.compiler.replacements.SnippetTemplate$Varargs
dup
aload 2
aload 3
aload 4
invokespecial org.graalvm.compiler.replacements.SnippetTemplate$Varargs.<init>:(Ljava/lang/Class;Lorg/graalvm/compiler/core/common/type/Stamp;Ljava/lang/Object;)V
astore 5
start local 5 2: aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.values:[Ljava/lang/Object;
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.nextParamIdx:I
aload 5
aastore
3: aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.cacheKey:Lorg/graalvm/compiler/replacements/SnippetTemplate$CacheKey;
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.nextParamIdx:I
aload 5
getfield org.graalvm.compiler.replacements.SnippetTemplate$Varargs.length:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$CacheKey.setParam:(ILjava/lang/Object;)V
4: aload 0
dup
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.nextParamIdx:I
iconst_1
iadd
putfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.nextParamIdx:I
5: aload 0
areturn
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 6 0 this Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
0 6 1 name Ljava/lang/String;
0 6 2 componentType Ljava/lang/Class<*>;
0 6 3 argStamp Lorg/graalvm/compiler/core/common/type/Stamp;
0 6 4 value Ljava/lang/Object;
2 6 5 varargs Lorg/graalvm/compiler/replacements/SnippetTemplate$Varargs;
Signature: (Ljava/lang/String;Ljava/lang/Class<*>;Lorg/graalvm/compiler/core/common/type/Stamp;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
MethodParameters:
Name Flags
name
componentType
argStamp
value
public void setCacheable(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.cacheable:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
0 2 1 cacheable Z
MethodParameters:
Name Flags
cacheable
private boolean check(java.lang.String, boolean, boolean);
descriptor: (Ljava/lang/String;ZZ)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.graalvm.compiler.replacements.SnippetTemplate$Arguments.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.nextParamIdx:I
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.info:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.getParameterCount:()I
if_icmplt 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "too many parameters: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.replacements.SnippetTemplate$Arguments.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.info:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.nextParamIdx:I
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.getParameterName:(I)Ljava/lang/String;
ifnull 2
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.info:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.nextParamIdx:I
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.getParameterName:(I)Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "wrong parameter name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.replacements.SnippetTemplate$Arguments.$assertionsDisabled:Z
ifne 7
iload 2
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.info:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.nextParamIdx:I
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.isConstantParameter:(I)Z
if_icmpeq 7
3: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Parameter "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
ifeq 4
ldc "not "
goto 5
StackMap locals: org.graalvm.compiler.replacements.SnippetTemplate$Arguments java.lang.String int int
StackMap stack: new 3 new 3 java.lang.StringBuilder
4: ldc ""
StackMap locals: org.graalvm.compiler.replacements.SnippetTemplate$Arguments java.lang.String int int
StackMap stack: new 3 new 3 java.lang.StringBuilder java.lang.String
5: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "annotated with @"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc Lorg/graalvm/compiler/api/replacements/Snippet$ConstantParameter;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
7: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.replacements.SnippetTemplate$Arguments.$assertionsDisabled:Z
ifne 12
iload 3
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.info:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.nextParamIdx:I
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.isVarargsParameter:(I)Z
if_icmpeq 12
8: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Parameter "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
ifeq 9
ldc "not "
goto 10
StackMap locals: org.graalvm.compiler.replacements.SnippetTemplate$Arguments java.lang.String int int
StackMap stack: new 8 new 8 java.lang.StringBuilder
9: ldc ""
StackMap locals: org.graalvm.compiler.replacements.SnippetTemplate$Arguments java.lang.String int int
StackMap stack: new 8 new 8 java.lang.StringBuilder java.lang.String
10: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "annotated with @"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc Lorg/graalvm/compiler/api/replacements/Snippet$VarargsParameter;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
12: StackMap locals:
StackMap stack:
iconst_1
ireturn
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/replacements/SnippetTemplate$Arguments;
0 13 1 name Ljava/lang/String;
0 13 2 constParam Z
0 13 3 varargsParam Z
MethodParameters:
Name Flags
name
constParam
varargsParam
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "Parameters<"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.info:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
getfield org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
ldc "%h.%n"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: ldc ""
astore 2
start local 2 3: iconst_0
istore 3
start local 3 4: goto 14
5: StackMap locals: java.lang.StringBuilder java.lang.String int
StackMap stack:
aload 1
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.info:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
iload 3
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.isConstantParameter:(I)Z
ifeq 9
7: aload 1
ldc "const "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: goto 11
StackMap locals:
StackMap stack:
9: aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.info:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
iload 3
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.isVarargsParameter:(I)Z
ifeq 11
10: aload 1
ldc "varargs "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.info:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
iload 3
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.getParameterName:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.values:[Ljava/lang/Object;
iload 3
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
12: ldc ", "
astore 2
13: iinc 3 1
StackMap locals:
StackMap stack:
14: iload 3
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.info:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.getParameterCount:()I
if_icmplt 5
end local 3 15: aload 1
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
1 17 1 result Ljava/lang/StringBuilder;
3 17 2 sep Ljava/lang/String;
4 15 3 i I
public void formatTo(java.util.Formatter, int, int, int);
descriptor: (Ljava/util/Formatter;III)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 2
iconst_4
iand
ifne 3
1: aload 1
aload 0
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.toString:()Ljava/lang/String;
iload 2
iload 3
invokestatic org.graalvm.compiler.debug.DebugContext.applyFormattingFlagsAndWidth:(Ljava/lang/String;II)Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
pop
2: goto 23
3: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 5
start local 5 4: aload 5
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.info:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
getfield org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
5: ldc ""
astore 6
start local 6 6: iconst_0
istore 7
start local 7 7: goto 17
8: StackMap locals: java.lang.StringBuilder java.lang.String int
StackMap stack:
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.info:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
iload 7
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.isConstantParameter:(I)Z
ifeq 16
9: aload 5
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.info:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
iload 7
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.getParameterName:(I)Ljava/lang/String;
ifnull 13
11: aload 5
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.info:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
iload 7
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.getParameterName:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: goto 14
13: StackMap locals:
StackMap stack:
aload 5
iload 7
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
14: StackMap locals:
StackMap stack:
aload 5
bipush 61
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.values:[Ljava/lang/Object;
iload 7
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
15: ldc ", "
astore 6
16: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
17: iload 7
aload 0
getfield org.graalvm.compiler.replacements.SnippetTemplate$Arguments.info:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo.getParameterCount:()I
if_icmplt 8
end local 7 18: aload 5
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
19: aload 5
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 7
start local 7 20: aload 7
bipush 37
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpeq 22
21: aload 7
ldc "%"
ldc "%%"
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
astore 7
22: StackMap locals: org.graalvm.compiler.replacements.SnippetTemplate$Arguments java.util.Formatter int int int java.lang.StringBuilder java.lang.String java.lang.String
StackMap stack:
aload 1
aload 7
iload 2
bipush -5
iand
iload 3
invokestatic org.graalvm.compiler.debug.DebugContext.applyFormattingFlagsAndWidth:(Ljava/lang/String;II)Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
pop
end local 7 end local 6 end local 5 23: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
0 24 1 formatter Ljava/util/Formatter;
0 24 2 flags I
0 24 3 width I
0 24 4 precision I
4 23 5 sb Ljava/lang/StringBuilder;
6 23 6 sep Ljava/lang/String;
7 18 7 i I
20 23 7 string Ljava/lang/String;
MethodParameters:
Name Flags
formatter
flags
width
precision
}
SourceFile: "SnippetTemplate.java"
NestHost: org.graalvm.compiler.replacements.SnippetTemplate
InnerClasses:
public abstract ConstantParameter = org.graalvm.compiler.api.replacements.Snippet$ConstantParameter of org.graalvm.compiler.api.replacements.Snippet
public abstract VarargsParameter = org.graalvm.compiler.api.replacements.Snippet$VarargsParameter of org.graalvm.compiler.api.replacements.Snippet
public final GuardsStage = org.graalvm.compiler.nodes.StructuredGraph$GuardsStage of org.graalvm.compiler.nodes.StructuredGraph
public abstract LoweringStage = org.graalvm.compiler.nodes.spi.LoweringTool$LoweringStage of org.graalvm.compiler.nodes.spi.LoweringTool
public Arguments = org.graalvm.compiler.replacements.SnippetTemplate$Arguments of org.graalvm.compiler.replacements.SnippetTemplate
CacheKey = org.graalvm.compiler.replacements.SnippetTemplate$CacheKey of org.graalvm.compiler.replacements.SnippetTemplate
public abstract SnippetInfo = org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo of org.graalvm.compiler.replacements.SnippetTemplate
Varargs = org.graalvm.compiler.replacements.SnippetTemplate$Varargs of org.graalvm.compiler.replacements.SnippetTemplate