public final class jdk.incubator.foreign.FunctionDescriptor implements java.lang.constant.Constable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.incubator.foreign.FunctionDescriptor
super_class: java.lang.Object
{
public static final java.lang.String TRIVIAL_ATTRIBUTE_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "abi/trivial"
private final jdk.incubator.foreign.MemoryLayout resLayout;
descriptor: Ljdk/incubator/foreign/MemoryLayout;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.incubator.foreign.MemoryLayout[] argLayouts;
descriptor: [Ljdk/incubator/foreign/MemoryLayout;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.String, java.lang.constant.Constable> attributes;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/constant/Constable;>;
private void <init>(jdk.incubator.foreign.MemoryLayout, java.util.Map<java.lang.String, java.lang.constant.Constable>, jdk.incubator.foreign.MemoryLayout[]);
descriptor: (Ljdk/incubator/foreign/MemoryLayout;Ljava/util/Map;[Ljdk/incubator/foreign/MemoryLayout;)V
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=2, 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 jdk.incubator.foreign.FunctionDescriptor.resLayout:Ljdk/incubator/foreign/MemoryLayout;
2: aload 0
aload 2
putfield jdk.incubator.foreign.FunctionDescriptor.attributes:Ljava/util/Map;
3: aload 0
aload 3
putfield jdk.incubator.foreign.FunctionDescriptor.argLayouts:[Ljdk/incubator/foreign/MemoryLayout;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/incubator/foreign/FunctionDescriptor;
0 5 1 resLayout Ljdk/incubator/foreign/MemoryLayout;
0 5 2 attributes Ljava/util/Map<Ljava/lang/String;Ljava/lang/constant/Constable;>;
0 5 3 argLayouts [Ljdk/incubator/foreign/MemoryLayout;
Signature: (Ljdk/incubator/foreign/MemoryLayout;Ljava/util/Map<Ljava/lang/String;Ljava/lang/constant/Constable;>;[Ljdk/incubator/foreign/MemoryLayout;)V
MethodParameters:
Name Flags
resLayout
attributes
argLayouts
public java.util.Optional<java.lang.constant.Constable> attribute(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield jdk.incubator.foreign.FunctionDescriptor.attributes:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.constant.Constable
invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/foreign/FunctionDescriptor;
0 2 1 name Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/Optional<Ljava/lang/constant/Constable;>;
MethodParameters:
Name Flags
name
public java.util.stream.Stream<java.lang.String> attributes();
descriptor: ()Ljava/util/stream/Stream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.foreign.FunctionDescriptor.attributes:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/foreign/FunctionDescriptor;
Signature: ()Ljava/util/stream/Stream<Ljava/lang/String;>;
public jdk.incubator.foreign.FunctionDescriptor withAttribute(java.lang.String, java.lang.constant.Constable);
descriptor: (Ljava/lang/String;Ljava/lang/constant/Constable;)Ljdk/incubator/foreign/FunctionDescriptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: new java.util.HashMap
dup
aload 0
getfield jdk.incubator.foreign.FunctionDescriptor.attributes:Ljava/util/Map;
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
astore 3
start local 3 2: aload 3
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: new jdk.incubator.foreign.FunctionDescriptor
dup
aload 0
getfield jdk.incubator.foreign.FunctionDescriptor.resLayout:Ljdk/incubator/foreign/MemoryLayout;
aload 3
aload 0
getfield jdk.incubator.foreign.FunctionDescriptor.argLayouts:[Ljdk/incubator/foreign/MemoryLayout;
invokespecial jdk.incubator.foreign.FunctionDescriptor.<init>:(Ljdk/incubator/foreign/MemoryLayout;Ljava/util/Map;[Ljdk/incubator/foreign/MemoryLayout;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/foreign/FunctionDescriptor;
0 4 1 name Ljava/lang/String;
0 4 2 value Ljava/lang/constant/Constable;
2 4 3 newAttributes Ljava/util/Map<Ljava/lang/String;Ljava/lang/constant/Constable;>;
MethodParameters:
Name Flags
name
value
public java.util.Optional<jdk.incubator.foreign.MemoryLayout> returnLayout();
descriptor: ()Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.foreign.FunctionDescriptor.resLayout:Ljdk/incubator/foreign/MemoryLayout;
invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/foreign/FunctionDescriptor;
Signature: ()Ljava/util/Optional<Ljdk/incubator/foreign/MemoryLayout;>;
public java.util.List<jdk.incubator.foreign.MemoryLayout> argumentLayouts();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.foreign.FunctionDescriptor.argLayouts:[Ljdk/incubator/foreign/MemoryLayout;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/foreign/FunctionDescriptor;
Signature: ()Ljava/util/List<Ljdk/incubator/foreign/MemoryLayout;>;
public static jdk.incubator.foreign.FunctionDescriptor of(jdk.incubator.foreign.MemoryLayout, jdk.incubator.foreign.MemoryLayout[]);
descriptor: (Ljdk/incubator/foreign/MemoryLayout;[Ljdk/incubator/foreign/MemoryLayout;)Ljdk/incubator/foreign/FunctionDescriptor;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 1
invokestatic java.util.Arrays.stream:([Ljava/lang/Object;)Ljava/util/stream/Stream;
invokedynamic accept()Ljava/util/function/Consumer;
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;)V
java/util/Objects.requireNonNull(Ljava/lang/Object;)Ljava/lang/Object; (6)
(Ljdk/incubator/foreign/MemoryLayout;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
3: new jdk.incubator.foreign.FunctionDescriptor
dup
aload 0
invokestatic java.util.Map.of:()Ljava/util/Map;
aload 1
invokespecial jdk.incubator.foreign.FunctionDescriptor.<init>:(Ljdk/incubator/foreign/MemoryLayout;Ljava/util/Map;[Ljdk/incubator/foreign/MemoryLayout;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 resLayout Ljdk/incubator/foreign/MemoryLayout;
0 4 1 argLayouts [Ljdk/incubator/foreign/MemoryLayout;
MethodParameters:
Name Flags
resLayout
argLayouts
public static jdk.incubator.foreign.FunctionDescriptor ofVoid(jdk.incubator.foreign.MemoryLayout[]);
descriptor: ([Ljdk/incubator/foreign/MemoryLayout;)Ljdk/incubator/foreign/FunctionDescriptor;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokestatic java.util.Arrays.stream:([Ljava/lang/Object;)Ljava/util/stream/Stream;
invokedynamic accept()Ljava/util/function/Consumer;
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;)V
java/util/Objects.requireNonNull(Ljava/lang/Object;)Ljava/lang/Object; (6)
(Ljdk/incubator/foreign/MemoryLayout;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
2: new jdk.incubator.foreign.FunctionDescriptor
dup
aconst_null
invokestatic java.util.Map.of:()Ljava/util/Map;
aload 0
invokespecial jdk.incubator.foreign.FunctionDescriptor.<init>:(Ljdk/incubator/foreign/MemoryLayout;Ljava/util/Map;[Ljdk/incubator/foreign/MemoryLayout;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 argLayouts [Ljdk/incubator/foreign/MemoryLayout;
MethodParameters:
Name Flags
argLayouts
public jdk.incubator.foreign.FunctionDescriptor withAppendedArgumentLayouts(jdk.incubator.foreign.MemoryLayout[]);
descriptor: ([Ljdk/incubator/foreign/MemoryLayout;)Ljdk/incubator/foreign/FunctionDescriptor;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic java.util.Arrays.stream:([Ljava/lang/Object;)Ljava/util/stream/Stream;
invokedynamic accept()Ljava/util/function/Consumer;
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;)V
java/util/Objects.requireNonNull(Ljava/lang/Object;)Ljava/lang/Object; (6)
(Ljdk/incubator/foreign/MemoryLayout;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
2: aload 0
getfield jdk.incubator.foreign.FunctionDescriptor.argLayouts:[Ljdk/incubator/foreign/MemoryLayout;
aload 0
getfield jdk.incubator.foreign.FunctionDescriptor.argLayouts:[Ljdk/incubator/foreign/MemoryLayout;
arraylength
aload 1
arraylength
iadd
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast jdk.incubator.foreign.MemoryLayout[]
astore 2
start local 2 3: aload 1
iconst_0
aload 2
aload 0
getfield jdk.incubator.foreign.FunctionDescriptor.argLayouts:[Ljdk/incubator/foreign/MemoryLayout;
arraylength
aload 1
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: new jdk.incubator.foreign.FunctionDescriptor
dup
aload 0
getfield jdk.incubator.foreign.FunctionDescriptor.resLayout:Ljdk/incubator/foreign/MemoryLayout;
aload 0
getfield jdk.incubator.foreign.FunctionDescriptor.attributes:Ljava/util/Map;
aload 2
invokespecial jdk.incubator.foreign.FunctionDescriptor.<init>:(Ljdk/incubator/foreign/MemoryLayout;Ljava/util/Map;[Ljdk/incubator/foreign/MemoryLayout;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/incubator/foreign/FunctionDescriptor;
0 5 1 addedLayouts [Ljdk/incubator/foreign/MemoryLayout;
3 5 2 newLayouts [Ljdk/incubator/foreign/MemoryLayout;
MethodParameters:
Name Flags
addedLayouts
public jdk.incubator.foreign.FunctionDescriptor withReturnLayout(jdk.incubator.foreign.MemoryLayout);
descriptor: (Ljdk/incubator/foreign/MemoryLayout;)Ljdk/incubator/foreign/FunctionDescriptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: new jdk.incubator.foreign.FunctionDescriptor
dup
aload 1
aload 0
getfield jdk.incubator.foreign.FunctionDescriptor.attributes:Ljava/util/Map;
aload 0
getfield jdk.incubator.foreign.FunctionDescriptor.argLayouts:[Ljdk/incubator/foreign/MemoryLayout;
invokespecial jdk.incubator.foreign.FunctionDescriptor.<init>:(Ljdk/incubator/foreign/MemoryLayout;Ljava/util/Map;[Ljdk/incubator/foreign/MemoryLayout;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/foreign/FunctionDescriptor;
0 2 1 newReturn Ljdk/incubator/foreign/MemoryLayout;
MethodParameters:
Name Flags
newReturn
public jdk.incubator.foreign.FunctionDescriptor withVoidReturnLayout();
descriptor: ()Ljdk/incubator/foreign/FunctionDescriptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new jdk.incubator.foreign.FunctionDescriptor
dup
aconst_null
aload 0
getfield jdk.incubator.foreign.FunctionDescriptor.attributes:Ljava/util/Map;
aload 0
getfield jdk.incubator.foreign.FunctionDescriptor.argLayouts:[Ljdk/incubator/foreign/MemoryLayout;
invokespecial jdk.incubator.foreign.FunctionDescriptor.<init>:(Ljdk/incubator/foreign/MemoryLayout;Ljava/util/Map;[Ljdk/incubator/foreign/MemoryLayout;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/foreign/FunctionDescriptor;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: ldc "(%s)%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
1: aload 0
getfield jdk.incubator.foreign.FunctionDescriptor.argLayouts:[Ljdk/incubator/foreign/MemoryLayout;
invokestatic java.util.stream.Stream.of:([Ljava/lang/Object;)Ljava/util/stream/Stream;
2: 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/lang/Object.toString()Ljava/lang/String; (5)
(Ljdk/incubator/foreign/MemoryLayout;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
3: invokestatic java.util.stream.Collectors.joining:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
aastore
dup
iconst_1
4: aload 0
invokevirtual jdk.incubator.foreign.FunctionDescriptor.returnLayout:()Ljava/util/Optional;
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/lang/Object.toString()Ljava/lang/String; (5)
(Ljdk/incubator/foreign/MemoryLayout;)Ljava/lang/String;
invokevirtual java.util.Optional.map:(Ljava/util/function/Function;)Ljava/util/Optional;
ldc "v"
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
aastore
5: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/incubator/foreign/FunctionDescriptor;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, 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 jdk.incubator.foreign.FunctionDescriptor
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast jdk.incubator.foreign.FunctionDescriptor
astore 2
start local 2 5: aload 0
getfield jdk.incubator.foreign.FunctionDescriptor.resLayout:Ljdk/incubator/foreign/MemoryLayout;
aload 2
getfield jdk.incubator.foreign.FunctionDescriptor.resLayout:Ljdk/incubator/foreign/MemoryLayout;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 6
aload 0
getfield jdk.incubator.foreign.FunctionDescriptor.argLayouts:[Ljdk/incubator/foreign/MemoryLayout;
aload 2
getfield jdk.incubator.foreign.FunctionDescriptor.argLayouts:[Ljdk/incubator/foreign/MemoryLayout;
invokestatic java.util.Arrays.equals:([Ljava/lang/Object;[Ljava/lang/Object;)Z
ifeq 6
iconst_1
ireturn
StackMap locals: jdk.incubator.foreign.FunctionDescriptor
StackMap stack:
6: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/incubator/foreign/FunctionDescriptor;
0 7 1 other Ljava/lang/Object;
5 7 2 f Ljdk/incubator/foreign/FunctionDescriptor;
MethodParameters:
Name Flags
other
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.foreign.FunctionDescriptor.argLayouts:[Ljdk/incubator/foreign/MemoryLayout;
invokestatic java.util.Arrays.hashCode:([Ljava/lang/Object;)I
istore 1
start local 1 1: aload 0
getfield jdk.incubator.foreign.FunctionDescriptor.resLayout:Ljdk/incubator/foreign/MemoryLayout;
ifnonnull 2
iload 1
goto 3
StackMap locals: int
StackMap stack:
2: aload 0
getfield jdk.incubator.foreign.FunctionDescriptor.resLayout:Ljdk/incubator/foreign/MemoryLayout;
invokeinterface jdk.incubator.foreign.MemoryLayout.hashCode:()I
iload 1
ixor
StackMap locals:
StackMap stack: int
3: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/foreign/FunctionDescriptor;
1 4 1 hashCode I
public java.util.Optional<java.lang.constant.DynamicConstantDesc<jdk.incubator.foreign.FunctionDescriptor>> describeConstable();
descriptor: ()Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
getfield jdk.incubator.foreign.FunctionDescriptor.resLayout:Ljdk/incubator/foreign/MemoryLayout;
ifnonnull 2
getstatic jdk.incubator.foreign.AbstractLayout.MH_VOID_FUNCTION:Ljava/lang/constant/MethodHandleDesc;
goto 3
StackMap locals: jdk.incubator.foreign.FunctionDescriptor java.util.List
StackMap stack: java.util.List
2: getstatic jdk.incubator.foreign.AbstractLayout.MH_FUNCTION:Ljava/lang/constant/MethodHandleDesc;
StackMap locals: jdk.incubator.foreign.FunctionDescriptor java.util.List
StackMap stack: java.util.List java.lang.constant.MethodHandleDesc
3: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: aload 0
getfield jdk.incubator.foreign.FunctionDescriptor.resLayout:Ljdk/incubator/foreign/MemoryLayout;
ifnull 6
5: aload 1
aload 0
getfield jdk.incubator.foreign.FunctionDescriptor.resLayout:Ljdk/incubator/foreign/MemoryLayout;
invokeinterface jdk.incubator.foreign.MemoryLayout.describeConstable:()Ljava/util/Optional;
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.lang.constant.ConstantDesc
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.foreign.FunctionDescriptor.argLayouts:[Ljdk/incubator/foreign/MemoryLayout;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 10
StackMap locals: jdk.incubator.foreign.FunctionDescriptor java.util.List top int int jdk.incubator.foreign.MemoryLayout[]
StackMap stack:
7: aload 5
iload 3
aaload
astore 2
start local 2 8: aload 1
aload 2
invokeinterface jdk.incubator.foreign.MemoryLayout.describeConstable:()Ljava/util/Optional;
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.lang.constant.ConstantDesc
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 9: iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
iload 4
if_icmplt 7
11: getstatic java.lang.constant.ConstantDescs.BSM_INVOKE:Ljava/lang/constant/DirectMethodHandleDesc;
ldc "function"
getstatic jdk.incubator.foreign.AbstractLayout.CD_FUNCTION_DESC:Ljava/lang/constant/ClassDesc;
aload 1
iconst_0
anewarray java.lang.constant.ConstantDesc
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.constant.ConstantDesc[]
12: invokestatic java.lang.constant.DynamicConstantDesc.ofNamed:(Ljava/lang/constant/DirectMethodHandleDesc;Ljava/lang/String;Ljava/lang/constant/ClassDesc;[Ljava/lang/constant/ConstantDesc;)Ljava/lang/constant/DynamicConstantDesc;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/incubator/foreign/FunctionDescriptor;
1 13 1 constants Ljava/util/List<Ljava/lang/constant/ConstantDesc;>;
8 9 2 argLayout Ljdk/incubator/foreign/MemoryLayout;
Signature: ()Ljava/util/Optional<Ljava/lang/constant/DynamicConstantDesc<Ljdk/incubator/foreign/FunctionDescriptor;>;>;
}
SourceFile: "FunctionDescriptor.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles