public class org.graalvm.compiler.nodes.spi.SnippetParameterInfo
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.nodes.spi.SnippetParameterInfo
super_class: java.lang.Object
{
private final int count;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int constantParametersBits;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int varargsParametersBits;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int nonNullParametersBits;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
java.lang.String[] names;
descriptor: [Ljava/lang/String;
flags: (0x0000)
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/nodes/spi/SnippetParameterInfo;
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.nodes.spi.SnippetParameterInfo.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(jdk.vm.ci.meta.ResolvedJavaMethod);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: getstatic org.graalvm.compiler.nodes.spi.SnippetParameterInfo.$assertionsDisabled:Z
ifne 2
aload 1
ldc Lorg/graalvm/compiler/api/replacements/Snippet;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
ifnonnull 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " must be annotated with @"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc Lorg/graalvm/compiler/api/replacements/Snippet;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals: org.graalvm.compiler.nodes.spi.SnippetParameterInfo jdk.vm.ci.meta.ResolvedJavaMethod
StackMap stack:
aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getSignature:()Ljdk/vm/ci/meta/Signature;
aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.hasReceiver:()Z
invokeinterface jdk.vm.ci.meta.Signature.getParameterCount:(Z)I
istore 2
start local 2 3: iload 2
bipush 32
if_icmple 5
4: new java.lang.UnsupportedOperationException
dup
ldc "too many arguments"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: int
StackMap stack:
aload 0
iload 2
putfield org.graalvm.compiler.nodes.spi.SnippetParameterInfo.count:I
6: iconst_0
istore 3
start local 3 7: iconst_0
istore 4
start local 4 8: iconst_0
istore 5
start local 5 9: aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.hasReceiver:()Z
ifeq 10
iconst_1
goto 11
StackMap locals: int int int
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: istore 6
start local 6 12: iload 6
istore 7
start local 7 13: goto 24
14: StackMap locals: int int
StackMap stack:
iconst_1
iload 7
ishl
istore 8
start local 8 15: aload 1
ldc Lorg/graalvm/compiler/api/replacements/Snippet$ConstantParameter;
iload 7
iload 6
isub
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getParameterAnnotation:(Ljava/lang/Class;I)Ljava/lang/annotation/Annotation;
ifnull 17
16: iload 3
iload 8
ior
istore 3
17: StackMap locals: int
StackMap stack:
aload 1
ldc Lorg/graalvm/compiler/api/replacements/Snippet$VarargsParameter;
iload 7
iload 6
isub
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getParameterAnnotation:(Ljava/lang/Class;I)Ljava/lang/annotation/Annotation;
ifnull 19
18: iload 4
iload 8
ior
istore 4
19: StackMap locals:
StackMap stack:
aload 1
ldc Lorg/graalvm/compiler/api/replacements/Snippet$NonNullParameter;
iload 7
iload 6
isub
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getParameterAnnotation:(Ljava/lang/Class;I)Ljava/lang/annotation/Annotation;
ifnull 21
20: iload 5
iload 8
ior
istore 5
21: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.nodes.spi.SnippetParameterInfo.$assertionsDisabled:Z
ifne 23
iload 3
iload 8
iand
ifeq 23
iload 4
iload 8
iand
ifeq 23
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Parameter cannot be annotated with both @"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
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 " and @"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
22: 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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 8 23: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
24: iload 7
aload 0
getfield org.graalvm.compiler.nodes.spi.SnippetParameterInfo.count:I
if_icmplt 14
end local 7 25: aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.hasReceiver:()Z
ifeq 28
26: getstatic org.graalvm.compiler.nodes.spi.SnippetParameterInfo.$assertionsDisabled:Z
ifne 27
iload 3
iconst_1
iand
ifeq 27
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
27: StackMap locals:
StackMap stack:
iload 3
iconst_1
ior
istore 3
28: StackMap locals:
StackMap stack:
aload 0
iload 3
putfield org.graalvm.compiler.nodes.spi.SnippetParameterInfo.constantParametersBits:I
29: aload 0
iload 4
putfield org.graalvm.compiler.nodes.spi.SnippetParameterInfo.varargsParametersBits:I
30: aload 0
iload 5
putfield org.graalvm.compiler.nodes.spi.SnippetParameterInfo.nonNullParametersBits:I
31: getstatic jdk.vm.ci.services.Services.IS_BUILDING_NATIVE_IMAGE:Z
ifeq 34
32: aload 0
aload 1
aload 0
getfield org.graalvm.compiler.nodes.spi.SnippetParameterInfo.count:I
invokevirtual org.graalvm.compiler.nodes.spi.SnippetParameterInfo.initNames:(Ljdk/vm/ci/meta/ResolvedJavaMethod;I)Z
pop
33: goto 35
34: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.nodes.spi.SnippetParameterInfo.$assertionsDisabled:Z
ifne 35
aload 0
aload 1
aload 0
getfield org.graalvm.compiler.nodes.spi.SnippetParameterInfo.count:I
invokevirtual org.graalvm.compiler.nodes.spi.SnippetParameterInfo.initNames:(Ljdk/vm/ci/meta/ResolvedJavaMethod;I)Z
ifne 35
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
35: StackMap locals:
StackMap stack:
return
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 36 0 this Lorg/graalvm/compiler/nodes/spi/SnippetParameterInfo;
0 36 1 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
3 36 2 parameterCount I
7 36 3 constant I
8 36 4 varargs I
9 36 5 nonNull I
12 36 6 offset I
13 25 7 i I
15 23 8 bit I
MethodParameters:
Name Flags
method
public int getParameterCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.nodes.spi.SnippetParameterInfo.count:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/nodes/spi/SnippetParameterInfo;
public boolean isConstantParameter(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.nodes.spi.SnippetParameterInfo.constantParametersBits:I
iload 1
iushr
iconst_1
iand
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/nodes/spi/SnippetParameterInfo;
0 2 1 paramIdx I
MethodParameters:
Name Flags
paramIdx
public boolean isVarargsParameter(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.nodes.spi.SnippetParameterInfo.varargsParametersBits:I
iload 1
iushr
iconst_1
iand
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/nodes/spi/SnippetParameterInfo;
0 2 1 paramIdx I
MethodParameters:
Name Flags
paramIdx
public boolean isNonNullParameter(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.nodes.spi.SnippetParameterInfo.nonNullParametersBits:I
iload 1
iushr
iconst_1
iand
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/nodes/spi/SnippetParameterInfo;
0 2 1 paramIdx I
MethodParameters:
Name Flags
paramIdx
public java.lang.String getParameterName(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.nodes.spi.SnippetParameterInfo.names:[Ljava/lang/String;
ifnull 2
1: aload 0
getfield org.graalvm.compiler.nodes.spi.SnippetParameterInfo.names:[Ljava/lang/String;
iload 1
aaload
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/nodes/spi/SnippetParameterInfo;
0 3 1 paramIdx I
MethodParameters:
Name Flags
paramIdx
private boolean initNames(jdk.vm.ci.meta.ResolvedJavaMethod, int);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 2
anewarray java.lang.String
putfield org.graalvm.compiler.nodes.spi.SnippetParameterInfo.names:[Ljava/lang/String;
1: iconst_0
istore 3
start local 3 2: aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.hasReceiver:()Z
ifeq 5
3: aload 0
getfield org.graalvm.compiler.nodes.spi.SnippetParameterInfo.names:[Ljava/lang/String;
iconst_0
ldc "this"
aastore
4: iconst_1
istore 3
5: StackMap locals: int
StackMap stack:
aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getParameters:()[Ljdk/vm/ci/meta/ResolvedJavaMethod$Parameter;
astore 4
start local 4 6: aload 4
ifnull 14
7: iload 3
istore 5
start local 5 8: goto 12
9: StackMap locals: jdk.vm.ci.meta.ResolvedJavaMethod$Parameter[] int
StackMap stack:
aload 4
iload 5
iload 3
isub
aaload
invokevirtual jdk.vm.ci.meta.ResolvedJavaMethod$Parameter.isNamePresent:()Z
ifeq 11
10: aload 0
getfield org.graalvm.compiler.nodes.spi.SnippetParameterInfo.names:[Ljava/lang/String;
iload 5
aload 4
iload 5
iload 3
isub
aaload
invokevirtual jdk.vm.ci.meta.ResolvedJavaMethod$Parameter.getName:()Ljava/lang/String;
aastore
11: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
12: iload 5
aload 0
getfield org.graalvm.compiler.nodes.spi.SnippetParameterInfo.names:[Ljava/lang/String;
arraylength
if_icmplt 9
end local 5 13: goto 26
14: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 15: aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getLocalVariableTable:()Ljdk/vm/ci/meta/LocalVariableTable;
astore 6
start local 6 16: aload 6
ifnull 26
17: iconst_0
istore 7
start local 7 18: goto 25
19: StackMap locals: int jdk.vm.ci.meta.LocalVariableTable int
StackMap stack:
aload 6
iload 5
iconst_0
invokevirtual jdk.vm.ci.meta.LocalVariableTable.getLocal:(II)Ljdk/vm/ci/meta/Local;
astore 8
start local 8 20: aload 8
ifnull 22
21: aload 0
getfield org.graalvm.compiler.nodes.spi.SnippetParameterInfo.names:[Ljava/lang/String;
iload 7
aload 8
invokevirtual jdk.vm.ci.meta.Local.getName:()Ljava/lang/String;
aastore
22: StackMap locals: jdk.vm.ci.meta.Local
StackMap stack:
aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getSignature:()Ljdk/vm/ci/meta/Signature;
iload 7
invokeinterface jdk.vm.ci.meta.Signature.getParameterKind:(I)Ljdk/vm/ci/meta/JavaKind;
astore 9
start local 9 23: iload 5
aload 9
invokevirtual jdk.vm.ci.meta.JavaKind.getSlotCount:()I
iadd
istore 5
end local 9 end local 8 24: iinc 7 1
StackMap locals:
StackMap stack:
25: iload 7
aload 0
getfield org.graalvm.compiler.nodes.spi.SnippetParameterInfo.names:[Ljava/lang/String;
arraylength
if_icmplt 19
end local 7 end local 6 end local 5 26: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/graalvm/compiler/nodes/spi/SnippetParameterInfo;
0 27 1 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 27 2 parameterCount I
2 27 3 offset I
6 27 4 params [Ljdk/vm/ci/meta/ResolvedJavaMethod$Parameter;
8 13 5 i I
15 26 5 slotIdx I
16 26 6 localVariableTable Ljdk/vm/ci/meta/LocalVariableTable;
18 26 7 i I
20 24 8 local Ljdk/vm/ci/meta/Local;
23 24 9 kind Ljdk/vm/ci/meta/JavaKind;
MethodParameters:
Name Flags
method
parameterCount
public void clearNames();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield org.graalvm.compiler.nodes.spi.SnippetParameterInfo.names:[Ljava/lang/String;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/nodes/spi/SnippetParameterInfo;
}
SourceFile: "SnippetParameterInfo.java"
InnerClasses:
public Parameter = jdk.vm.ci.meta.ResolvedJavaMethod$Parameter of jdk.vm.ci.meta.ResolvedJavaMethod
public abstract ConstantParameter = org.graalvm.compiler.api.replacements.Snippet$ConstantParameter of org.graalvm.compiler.api.replacements.Snippet
public abstract NonNullParameter = org.graalvm.compiler.api.replacements.Snippet$NonNullParameter of org.graalvm.compiler.api.replacements.Snippet
public abstract VarargsParameter = org.graalvm.compiler.api.replacements.Snippet$VarargsParameter of org.graalvm.compiler.api.replacements.Snippet