public final class jdk.incubator.foreign.SequenceLayout extends jdk.incubator.foreign.AbstractLayout
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.incubator.foreign.SequenceLayout
super_class: jdk.incubator.foreign.AbstractLayout
{
private final java.util.OptionalLong elemCount;
descriptor: Ljava/util/OptionalLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.incubator.foreign.MemoryLayout elementLayout;
descriptor: Ljdk/incubator/foreign/MemoryLayout;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.util.OptionalLong, jdk.incubator.foreign.MemoryLayout);
descriptor: (Ljava/util/OptionalLong;Ljdk/incubator/foreign/MemoryLayout;)V
flags: (0x0000)
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aload 2
invokeinterface jdk.incubator.foreign.MemoryLayout.bitAlignment:()J
invokestatic java.util.Map.of:()Ljava/util/Map;
invokespecial jdk.incubator.foreign.SequenceLayout.<init>:(Ljava/util/OptionalLong;Ljdk/incubator/foreign/MemoryLayout;JLjava/util/Map;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/foreign/SequenceLayout;
0 2 1 elemCount Ljava/util/OptionalLong;
0 2 2 elementLayout Ljdk/incubator/foreign/MemoryLayout;
MethodParameters:
Name Flags
elemCount
elementLayout
void <init>(java.util.OptionalLong, jdk.incubator.foreign.MemoryLayout, long, java.util.Map<java.lang.String, java.lang.constant.Constable>);
descriptor: (Ljava/util/OptionalLong;Ljdk/incubator/foreign/MemoryLayout;JLjava/util/Map;)V
flags: (0x0000)
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 5 0: aload 0
aload 1
invokevirtual java.util.OptionalLong.isPresent:()Z
ifeq 2
aload 2
invokestatic jdk.incubator.foreign.AbstractLayout.optSize:(Ljdk/incubator/foreign/MemoryLayout;)Ljava/util/OptionalLong;
invokevirtual java.util.OptionalLong.isPresent:()Z
ifeq 2
1: aload 1
invokevirtual java.util.OptionalLong.getAsLong:()J
aload 2
invokeinterface jdk.incubator.foreign.MemoryLayout.bitSize:()J
lmul
invokestatic java.util.OptionalLong.of:(J)Ljava/util/OptionalLong;
goto 3
2: StackMap locals:
StackMap stack: uninitialized-this
invokestatic java.util.OptionalLong.empty:()Ljava/util/OptionalLong;
StackMap locals: uninitialized-this java.util.OptionalLong jdk.incubator.foreign.MemoryLayout long java.util.Map
StackMap stack: uninitialized-this java.util.OptionalLong
3: lload 3
aload 5
invokespecial jdk.incubator.foreign.AbstractLayout.<init>:(Ljava/util/OptionalLong;JLjava/util/Map;)V
4: aload 0
aload 1
putfield jdk.incubator.foreign.SequenceLayout.elemCount:Ljava/util/OptionalLong;
5: aload 0
aload 2
putfield jdk.incubator.foreign.SequenceLayout.elementLayout:Ljdk/incubator/foreign/MemoryLayout;
6: return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/incubator/foreign/SequenceLayout;
0 7 1 elemCount Ljava/util/OptionalLong;
0 7 2 elementLayout Ljdk/incubator/foreign/MemoryLayout;
0 7 3 alignment J
0 7 5 attributes Ljava/util/Map<Ljava/lang/String;Ljava/lang/constant/Constable;>;
Signature: (Ljava/util/OptionalLong;Ljdk/incubator/foreign/MemoryLayout;JLjava/util/Map<Ljava/lang/String;Ljava/lang/constant/Constable;>;)V
MethodParameters:
Name Flags
elemCount
elementLayout
alignment
attributes
public jdk.incubator.foreign.MemoryLayout elementLayout();
descriptor: ()Ljdk/incubator/foreign/MemoryLayout;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.foreign.SequenceLayout.elementLayout:Ljdk/incubator/foreign/MemoryLayout;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/foreign/SequenceLayout;
public java.util.OptionalLong elementCount();
descriptor: ()Ljava/util/OptionalLong;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.foreign.SequenceLayout.elemCount:Ljava/util/OptionalLong;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/foreign/SequenceLayout;
public jdk.incubator.foreign.SequenceLayout withElementCount(long);
descriptor: (J)Ljdk/incubator/foreign/SequenceLayout;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: lload 1
iconst_1
invokestatic jdk.incubator.foreign.AbstractLayout.checkSize:(JZ)V
1: new jdk.incubator.foreign.SequenceLayout
dup
lload 1
invokestatic java.util.OptionalLong.of:(J)Ljava/util/OptionalLong;
aload 0
getfield jdk.incubator.foreign.SequenceLayout.elementLayout:Ljdk/incubator/foreign/MemoryLayout;
aload 0
getfield jdk.incubator.foreign.SequenceLayout.alignment:J
aload 0
getfield jdk.incubator.foreign.SequenceLayout.attributes:Ljava/util/Map;
invokespecial jdk.incubator.foreign.SequenceLayout.<init>:(Ljava/util/OptionalLong;Ljdk/incubator/foreign/MemoryLayout;JLjava/util/Map;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/foreign/SequenceLayout;
0 2 1 elementCount J
MethodParameters:
Name Flags
elementCount
public jdk.incubator.foreign.SequenceLayout reshape(long[]);
descriptor: ([J)Ljdk/incubator/foreign/SequenceLayout;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=5, locals=10, 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
arraylength
ifne 3
2: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.incubator.foreign.SequenceLayout.elementCount:()Ljava/util/OptionalLong;
invokevirtual java.util.OptionalLong.isPresent:()Z
ifne 5
4: new java.lang.UnsupportedOperationException
dup
ldc "Cannot reshape a sequence layout whose element count is unspecified"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.incubator.foreign.SequenceLayout.flatten:()Ljdk/incubator/foreign/SequenceLayout;
astore 2
start local 2 6: aload 2
invokevirtual jdk.incubator.foreign.SequenceLayout.elementCount:()Ljava/util/OptionalLong;
invokevirtual java.util.OptionalLong.getAsLong:()J
lstore 3
start local 3 7: lconst_1
lstore 5
start local 5 8: iconst_m1
istore 7
start local 7 9: iconst_0
istore 8
start local 8 10: goto 20
11: StackMap locals: jdk.incubator.foreign.SequenceLayout long[] jdk.incubator.foreign.SequenceLayout long long int int
StackMap stack:
aload 1
iload 8
laload
ldc -1
lcmp
ifne 16
12: iload 7
iconst_m1
if_icmpne 15
13: iload 8
istore 7
14: goto 19
15: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Too many unspecified element counts"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
aload 1
iload 8
laload
lconst_0
lcmp
ifgt 18
17: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid element count: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
iload 8
laload
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack:
aload 1
iload 8
laload
lload 5
lmul
lstore 5
19: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
20: iload 8
aload 1
arraylength
if_icmplt 11
end local 8 21: iload 7
iconst_m1
if_icmpeq 25
22: lload 3
lload 5
ldiv
lstore 8
start local 8 23: aload 1
iload 7
lload 8
lastore
24: lload 5
lload 8
lmul
lstore 5
end local 8 25: StackMap locals:
StackMap stack:
lload 5
lload 3
lcmp
ifeq 27
26: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Element counts do not match expected size: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 3
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
27: StackMap locals:
StackMap stack:
aload 2
invokevirtual jdk.incubator.foreign.SequenceLayout.elementLayout:()Ljdk/incubator/foreign/MemoryLayout;
astore 8
start local 8 28: aload 1
arraylength
iconst_1
isub
istore 9
start local 9 29: goto 32
30: StackMap locals: jdk.incubator.foreign.MemoryLayout int
StackMap stack:
aload 1
iload 9
laload
aload 8
invokestatic jdk.incubator.foreign.MemoryLayout.ofSequence:(JLjdk/incubator/foreign/MemoryLayout;)Ljdk/incubator/foreign/SequenceLayout;
astore 8
31: iinc 9 -1
StackMap locals:
StackMap stack:
32: iload 9
ifge 30
end local 9 33: aload 8
checkcast jdk.incubator.foreign.SequenceLayout
areturn
end local 8 end local 7 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Ljdk/incubator/foreign/SequenceLayout;
0 34 1 elementCounts [J
6 34 2 flat Ljdk/incubator/foreign/SequenceLayout;
7 34 3 expectedCount J
8 34 5 actualCount J
9 34 7 inferPosition I
10 21 8 i I
23 25 8 inferredCount J
28 34 8 res Ljdk/incubator/foreign/MemoryLayout;
29 33 9 i I
MethodParameters:
Name Flags
elementCounts
public jdk.incubator.foreign.SequenceLayout flatten();
descriptor: ()Ljdk/incubator/foreign/SequenceLayout;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual jdk.incubator.foreign.SequenceLayout.elementCount:()Ljava/util/OptionalLong;
invokevirtual java.util.OptionalLong.isPresent:()Z
ifne 2
1: aload 0
invokevirtual jdk.incubator.foreign.SequenceLayout.badUnboundSequenceLayout:()Ljava/lang/UnsupportedOperationException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.incubator.foreign.SequenceLayout.elementCount:()Ljava/util/OptionalLong;
invokevirtual java.util.OptionalLong.getAsLong:()J
lstore 1
start local 1 3: aload 0
invokevirtual jdk.incubator.foreign.SequenceLayout.elementLayout:()Ljdk/incubator/foreign/MemoryLayout;
astore 3
start local 3 4: goto 8
5: StackMap locals: long jdk.incubator.foreign.MemoryLayout
StackMap stack:
aload 3
checkcast jdk.incubator.foreign.SequenceLayout
astore 4
start local 4 6: lload 1
aload 4
invokevirtual jdk.incubator.foreign.SequenceLayout.elementCount:()Ljava/util/OptionalLong;
aload 0
invokedynamic get(Ljdk/incubator/foreign/SequenceLayout;)Ljava/util/function/Supplier;
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;
jdk/incubator/foreign/SequenceLayout.badUnboundSequenceLayout()Ljava/lang/UnsupportedOperationException; (7)
()Ljava/lang/UnsupportedOperationException;
invokevirtual java.util.OptionalLong.orElseThrow:(Ljava/util/function/Supplier;)J
lmul
lstore 1
7: aload 4
invokevirtual jdk.incubator.foreign.SequenceLayout.elementLayout:()Ljdk/incubator/foreign/MemoryLayout;
astore 3
end local 4 8: StackMap locals:
StackMap stack:
aload 3
instanceof jdk.incubator.foreign.SequenceLayout
ifne 5
9: lload 1
aload 3
invokestatic jdk.incubator.foreign.MemoryLayout.ofSequence:(JLjdk/incubator/foreign/MemoryLayout;)Ljdk/incubator/foreign/SequenceLayout;
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/incubator/foreign/SequenceLayout;
3 10 1 count J
4 10 3 elemLayout Ljdk/incubator/foreign/MemoryLayout;
6 8 4 elemSeq Ljdk/incubator/foreign/SequenceLayout;
private java.lang.UnsupportedOperationException badUnboundSequenceLayout();
descriptor: ()Ljava/lang/UnsupportedOperationException;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "Cannot flatten a sequence layout whose element count is unspecified"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/foreign/SequenceLayout;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
ldc "[%s:%s]"
iconst_2
anewarray java.lang.Object
dup
iconst_0
1: aload 0
getfield jdk.incubator.foreign.SequenceLayout.elemCount:Ljava/util/OptionalLong;
invokevirtual java.util.OptionalLong.isPresent:()Z
ifeq 2
aload 0
getfield jdk.incubator.foreign.SequenceLayout.elemCount:Ljava/util/OptionalLong;
invokevirtual java.util.OptionalLong.getAsLong:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
goto 3
StackMap locals: jdk.incubator.foreign.SequenceLayout
StackMap stack: jdk.incubator.foreign.SequenceLayout java.lang.String java.lang.Object[] java.lang.Object[] int
2: ldc ""
StackMap locals: jdk.incubator.foreign.SequenceLayout
StackMap stack: jdk.incubator.foreign.SequenceLayout java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.Comparable
3: aastore
dup
iconst_1
aload 0
getfield jdk.incubator.foreign.SequenceLayout.elementLayout:Ljdk/incubator/foreign/MemoryLayout;
aastore
4: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual jdk.incubator.foreign.SequenceLayout.decorateLayoutString:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/incubator/foreign/SequenceLayout;
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 0
aload 1
invokespecial jdk.incubator.foreign.AbstractLayout.equals:(Ljava/lang/Object;)Z
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
instanceof jdk.incubator.foreign.SequenceLayout
ifne 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 1
checkcast jdk.incubator.foreign.SequenceLayout
astore 2
start local 2 7: aload 0
getfield jdk.incubator.foreign.SequenceLayout.elemCount:Ljava/util/OptionalLong;
aload 2
getfield jdk.incubator.foreign.SequenceLayout.elemCount:Ljava/util/OptionalLong;
invokevirtual java.util.OptionalLong.equals:(Ljava/lang/Object;)Z
ifeq 8
aload 0
getfield jdk.incubator.foreign.SequenceLayout.elementLayout:Ljdk/incubator/foreign/MemoryLayout;
aload 2
getfield jdk.incubator.foreign.SequenceLayout.elementLayout:Ljdk/incubator/foreign/MemoryLayout;
invokeinterface jdk.incubator.foreign.MemoryLayout.equals:(Ljava/lang/Object;)Z
ifeq 8
iconst_1
ireturn
StackMap locals: jdk.incubator.foreign.SequenceLayout
StackMap stack:
8: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/incubator/foreign/SequenceLayout;
0 9 1 other Ljava/lang/Object;
7 9 2 s Ljdk/incubator/foreign/SequenceLayout;
MethodParameters:
Name Flags
other
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
invokespecial jdk.incubator.foreign.AbstractLayout.hashCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield jdk.incubator.foreign.SequenceLayout.elemCount:Ljava/util/OptionalLong;
aastore
dup
iconst_2
aload 0
getfield jdk.incubator.foreign.SequenceLayout.elementLayout:Ljdk/incubator/foreign/MemoryLayout;
aastore
invokestatic java.util.Objects.hash:([Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/foreign/SequenceLayout;
jdk.incubator.foreign.SequenceLayout dup(long, java.util.Map<java.lang.String, java.lang.constant.Constable>);
descriptor: (JLjava/util/Map;)Ljdk/incubator/foreign/SequenceLayout;
flags: (0x0000)
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 3 0: new jdk.incubator.foreign.SequenceLayout
dup
aload 0
invokevirtual jdk.incubator.foreign.SequenceLayout.elementCount:()Ljava/util/OptionalLong;
aload 0
getfield jdk.incubator.foreign.SequenceLayout.elementLayout:Ljdk/incubator/foreign/MemoryLayout;
lload 1
aload 3
invokespecial jdk.incubator.foreign.SequenceLayout.<init>:(Ljava/util/OptionalLong;Ljdk/incubator/foreign/MemoryLayout;JLjava/util/Map;)V
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/foreign/SequenceLayout;
0 1 1 alignment J
0 1 3 attributes Ljava/util/Map<Ljava/lang/String;Ljava/lang/constant/Constable;>;
Signature: (JLjava/util/Map<Ljava/lang/String;Ljava/lang/constant/Constable;>;)Ljdk/incubator/foreign/SequenceLayout;
MethodParameters:
Name Flags
alignment
attributes
boolean hasNaturalAlignment();
descriptor: ()Z
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.foreign.SequenceLayout.alignment:J
aload 0
getfield jdk.incubator.foreign.SequenceLayout.elementLayout:Ljdk/incubator/foreign/MemoryLayout;
invokeinterface jdk.incubator.foreign.MemoryLayout.bitAlignment:()J
lcmp
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/foreign/SequenceLayout;
public java.util.Optional<java.lang.constant.DynamicConstantDesc<jdk.incubator.foreign.SequenceLayout>> describeConstable();
descriptor: ()Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield jdk.incubator.foreign.SequenceLayout.elemCount:Ljava/util/OptionalLong;
invokevirtual java.util.OptionalLong.isPresent:()Z
ifeq 5
1: getstatic java.lang.constant.ConstantDescs.BSM_INVOKE:Ljava/lang/constant/DirectMethodHandleDesc;
ldc "value"
2: getstatic jdk.incubator.foreign.SequenceLayout.CD_SEQUENCE_LAYOUT:Ljava/lang/constant/ClassDesc;
iconst_3
anewarray java.lang.constant.ConstantDesc
dup
iconst_0
getstatic jdk.incubator.foreign.SequenceLayout.MH_SIZED_SEQUENCE:Ljava/lang/constant/MethodHandleDesc;
aastore
dup
iconst_1
aload 0
getfield jdk.incubator.foreign.SequenceLayout.elemCount:Ljava/util/OptionalLong;
invokevirtual java.util.OptionalLong.getAsLong:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
aload 0
getfield jdk.incubator.foreign.SequenceLayout.elementLayout: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
aastore
3: 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;
4: goto 8
5: StackMap locals:
StackMap stack: jdk.incubator.foreign.SequenceLayout
getstatic java.lang.constant.ConstantDescs.BSM_INVOKE:Ljava/lang/constant/DirectMethodHandleDesc;
ldc "value"
6: getstatic jdk.incubator.foreign.SequenceLayout.CD_SEQUENCE_LAYOUT:Ljava/lang/constant/ClassDesc;
iconst_2
anewarray java.lang.constant.ConstantDesc
dup
iconst_0
getstatic jdk.incubator.foreign.SequenceLayout.MH_UNSIZED_SEQUENCE:Ljava/lang/constant/MethodHandleDesc;
aastore
dup
iconst_1
aload 0
getfield jdk.incubator.foreign.SequenceLayout.elementLayout: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
aastore
7: 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;
8: StackMap locals: jdk.incubator.foreign.SequenceLayout
StackMap stack: jdk.incubator.foreign.SequenceLayout java.lang.constant.DynamicConstantDesc
invokevirtual jdk.incubator.foreign.SequenceLayout.decorateLayoutConstant:(Ljava/lang/constant/DynamicConstantDesc;)Ljava/lang/constant/DynamicConstantDesc;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/incubator/foreign/SequenceLayout;
Signature: ()Ljava/util/Optional<Ljava/lang/constant/DynamicConstantDesc<Ljdk/incubator/foreign/SequenceLayout;>;>;
public jdk.incubator.foreign.SequenceLayout withName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/incubator/foreign/SequenceLayout;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial jdk.incubator.foreign.AbstractLayout.withName:(Ljava/lang/String;)Ljdk/incubator/foreign/AbstractLayout;
checkcast jdk.incubator.foreign.SequenceLayout
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/foreign/SequenceLayout;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public jdk.incubator.foreign.SequenceLayout withBitAlignment(long);
descriptor: (J)Ljdk/incubator/foreign/SequenceLayout;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokespecial jdk.incubator.foreign.AbstractLayout.withBitAlignment:(J)Ljdk/incubator/foreign/AbstractLayout;
checkcast jdk.incubator.foreign.SequenceLayout
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/foreign/SequenceLayout;
0 1 1 alignmentBits J
MethodParameters:
Name Flags
alignmentBits
public jdk.incubator.foreign.SequenceLayout withAttribute(java.lang.String, java.lang.constant.Constable);
descriptor: (Ljava/lang/String;Ljava/lang/constant/Constable;)Ljdk/incubator/foreign/SequenceLayout;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial jdk.incubator.foreign.AbstractLayout.withAttribute:(Ljava/lang/String;Ljava/lang/constant/Constable;)Ljdk/incubator/foreign/AbstractLayout;
checkcast jdk.incubator.foreign.SequenceLayout
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/foreign/SequenceLayout;
0 1 1 name Ljava/lang/String;
0 1 2 value Ljava/lang/constant/Constable;
MethodParameters:
Name Flags
name
value
public jdk.incubator.foreign.AbstractLayout withAttribute(java.lang.String, java.lang.constant.Constable);
descriptor: (Ljava/lang/String;Ljava/lang/constant/Constable;)Ljdk/incubator/foreign/AbstractLayout;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual jdk.incubator.foreign.SequenceLayout.withAttribute:(Ljava/lang/String;Ljava/lang/constant/Constable;)Ljdk/incubator/foreign/SequenceLayout;
areturn
LocalVariableTable:
Start End Slot Name Signature
public jdk.incubator.foreign.MemoryLayout withAttribute(java.lang.String, java.lang.constant.Constable);
descriptor: (Ljava/lang/String;Ljava/lang/constant/Constable;)Ljdk/incubator/foreign/MemoryLayout;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual jdk.incubator.foreign.SequenceLayout.withAttribute:(Ljava/lang/String;Ljava/lang/constant/Constable;)Ljdk/incubator/foreign/SequenceLayout;
areturn
LocalVariableTable:
Start End Slot Name Signature
jdk.incubator.foreign.AbstractLayout dup(long, java.util.Map);
descriptor: (JLjava/util/Map;)Ljdk/incubator/foreign/AbstractLayout;
flags: (0x1040) ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=3
0: aload 0
lload 1
aload 3
invokevirtual jdk.incubator.foreign.SequenceLayout.dup:(JLjava/util/Map;)Ljdk/incubator/foreign/SequenceLayout;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.util.stream.Stream attributes();
descriptor: ()Ljava/util/stream/Stream;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial jdk.incubator.foreign.AbstractLayout.attributes:()Ljava/util/stream/Stream;
areturn
LocalVariableTable:
Start End Slot Name Signature
public jdk.incubator.foreign.AbstractLayout withBitAlignment(long);
descriptor: (J)Ljdk/incubator/foreign/AbstractLayout;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
0: aload 0
lload 1
invokevirtual jdk.incubator.foreign.SequenceLayout.withBitAlignment:(J)Ljdk/incubator/foreign/SequenceLayout;
areturn
LocalVariableTable:
Start End Slot Name Signature
public jdk.incubator.foreign.MemoryLayout withBitAlignment(long);
descriptor: (J)Ljdk/incubator/foreign/MemoryLayout;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
0: aload 0
lload 1
invokevirtual jdk.incubator.foreign.SequenceLayout.withBitAlignment:(J)Ljdk/incubator/foreign/SequenceLayout;
areturn
LocalVariableTable:
Start End Slot Name Signature
public boolean isPadding();
descriptor: ()Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial jdk.incubator.foreign.AbstractLayout.isPadding:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public boolean hasSize();
descriptor: ()Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial jdk.incubator.foreign.AbstractLayout.hasSize:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public long bitSize();
descriptor: ()J
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
0: aload 0
invokespecial jdk.incubator.foreign.AbstractLayout.bitSize:()J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public java.util.Optional attribute(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Optional;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial jdk.incubator.foreign.AbstractLayout.attribute:(Ljava/lang/String;)Ljava/util/Optional;
areturn
LocalVariableTable:
Start End Slot Name Signature
public jdk.incubator.foreign.AbstractLayout withName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/incubator/foreign/AbstractLayout;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual jdk.incubator.foreign.SequenceLayout.withName:(Ljava/lang/String;)Ljdk/incubator/foreign/SequenceLayout;
areturn
LocalVariableTable:
Start End Slot Name Signature
public jdk.incubator.foreign.MemoryLayout withName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/incubator/foreign/MemoryLayout;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual jdk.incubator.foreign.SequenceLayout.withName:(Ljava/lang/String;)Ljdk/incubator/foreign/SequenceLayout;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "SequenceLayout.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles