public class jdk.internal.foreign.abi.CallingSequence
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.foreign.abi.CallingSequence
super_class: java.lang.Object
{
private final java.lang.invoke.MethodType mt;
descriptor: Ljava/lang/invoke/MethodType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.incubator.foreign.FunctionDescriptor desc;
descriptor: Ljdk/incubator/foreign/FunctionDescriptor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean isTrivial;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<jdk.internal.foreign.abi.Binding> returnBindings;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljdk/internal/foreign/abi/Binding;>;
private final java.util.List<java.util.List<jdk.internal.foreign.abi.Binding>> argumentBindings;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/util/List<Ljdk/internal/foreign/abi/Binding;>;>;
public void <init>(java.lang.invoke.MethodType, jdk.incubator.foreign.FunctionDescriptor, boolean, java.util.List<java.util.List<jdk.internal.foreign.abi.Binding>>, java.util.List<jdk.internal.foreign.abi.Binding>);
descriptor: (Ljava/lang/invoke/MethodType;Ljdk/incubator/foreign/FunctionDescriptor;ZLjava/util/List;Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.internal.foreign.abi.CallingSequence.mt:Ljava/lang/invoke/MethodType;
2: aload 0
aload 2
putfield jdk.internal.foreign.abi.CallingSequence.desc:Ljdk/incubator/foreign/FunctionDescriptor;
3: aload 0
iload 3
putfield jdk.internal.foreign.abi.CallingSequence.isTrivial:Z
4: aload 0
aload 5
putfield jdk.internal.foreign.abi.CallingSequence.returnBindings:Ljava/util/List;
5: aload 0
aload 4
putfield jdk.internal.foreign.abi.CallingSequence.argumentBindings:Ljava/util/List;
6: return
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 7 0 this Ljdk/internal/foreign/abi/CallingSequence;
0 7 1 mt Ljava/lang/invoke/MethodType;
0 7 2 desc Ljdk/incubator/foreign/FunctionDescriptor;
0 7 3 isTrivial Z
0 7 4 argumentBindings Ljava/util/List<Ljava/util/List<Ljdk/internal/foreign/abi/Binding;>;>;
0 7 5 returnBindings Ljava/util/List<Ljdk/internal/foreign/abi/Binding;>;
Signature: (Ljava/lang/invoke/MethodType;Ljdk/incubator/foreign/FunctionDescriptor;ZLjava/util/List<Ljava/util/List<Ljdk/internal/foreign/abi/Binding;>;>;Ljava/util/List<Ljdk/internal/foreign/abi/Binding;>;)V
MethodParameters:
Name Flags
mt
desc
isTrivial
argumentBindings
returnBindings
public int argumentCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.foreign.abi.CallingSequence.argumentBindings:Ljava/util/List;
invokeinterface java.util.List.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/foreign/abi/CallingSequence;
public java.util.List<jdk.internal.foreign.abi.Binding> argumentBindings(int);
descriptor: (I)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.foreign.abi.CallingSequence.argumentBindings:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.util.List
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/foreign/abi/CallingSequence;
0 1 1 i I
Signature: (I)Ljava/util/List<Ljdk/internal/foreign/abi/Binding;>;
MethodParameters:
Name Flags
i
public java.util.stream.Stream<jdk.internal.foreign.abi.Binding> argumentBindings();
descriptor: ()Ljava/util/stream/Stream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.foreign.abi.CallingSequence.argumentBindings:Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
java/util/Collection.stream()Ljava/util/stream/Stream; (9 itf)
(Ljava/util/List;)Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.flatMap:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/foreign/abi/CallingSequence;
Signature: ()Ljava/util/stream/Stream<Ljdk/internal/foreign/abi/Binding;>;
public java.util.List<jdk.internal.foreign.abi.Binding> returnBindings();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.foreign.abi.CallingSequence.returnBindings:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/foreign/abi/CallingSequence;
Signature: ()Ljava/util/List<Ljdk/internal/foreign/abi/Binding;>;
public java.lang.String asString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, 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 "CallingSequence: {\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
ldc " MethodType: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.internal.foreign.abi.CallingSequence.mt:Ljava/lang/invoke/MethodType;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
3: aload 1
ldc " FunctionDescriptor: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.internal.foreign.abi.CallingSequence.desc:Ljdk/incubator/foreign/FunctionDescriptor;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
4: aload 1
ldc " Argument Bindings:\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: iconst_0
istore 2
start local 2 6: goto 9
7: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 1
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.internal.foreign.abi.CallingSequence.argumentBindings:Ljava/util/List;
iload 2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
aload 0
getfield jdk.internal.foreign.abi.CallingSequence.mt:Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
if_icmplt 7
end local 2 10: aload 0
getfield jdk.internal.foreign.abi.CallingSequence.mt:Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
if_acmpeq 12
11: aload 1
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "Return: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.internal.foreign.abi.CallingSequence.returnBindings:Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: StackMap locals:
StackMap stack:
aload 1
ldc "}\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/internal/foreign/abi/CallingSequence;
1 14 1 sb Ljava/lang/StringBuilder;
6 10 2 i I
public java.lang.invoke.MethodType methodType();
descriptor: ()Ljava/lang/invoke/MethodType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.foreign.abi.CallingSequence.mt:Ljava/lang/invoke/MethodType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/foreign/abi/CallingSequence;
public jdk.incubator.foreign.FunctionDescriptor functionDesc();
descriptor: ()Ljdk/incubator/foreign/FunctionDescriptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.foreign.abi.CallingSequence.desc:Ljdk/incubator/foreign/FunctionDescriptor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/foreign/abi/CallingSequence;
public boolean isTrivial();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.foreign.abi.CallingSequence.isTrivial:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/foreign/abi/CallingSequence;
}
SourceFile: "CallingSequence.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles