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.Optional.empty:()Ljava/util/Optional;
invokespecial jdk.incubator.foreign.SequenceLayout.<init>:(Ljava/util/OptionalLong;Ljdk/incubator/foreign/MemoryLayout;JLjava/util/Optional;)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.Optional<java.lang.String>);
descriptor: (Ljava/util/OptionalLong;Ljdk/incubator/foreign/MemoryLayout;JLjava/util/Optional;)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.Optional
StackMap stack: uninitialized-this java.util.OptionalLong
3: lload 3
aload 5
invokespecial jdk.incubator.foreign.AbstractLayout.<init>:(Ljava/util/OptionalLong;JLjava/util/Optional;)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 name Ljava/util/Optional<Ljava/lang/String;>;
Signature: (Ljava/util/OptionalLong;Ljdk/incubator/foreign/MemoryLayout;JLjava/util/Optional<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
elemCount
elementLayout
alignment
name
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
invokevirtual jdk.incubator.foreign.SequenceLayout.name:()Ljava/util/Optional;
invokespecial jdk.incubator.foreign.SequenceLayout.<init>:(Ljava/util/OptionalLong;Ljdk/incubator/foreign/MemoryLayout;JLjava/util/Optional;)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 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.Optional<java.lang.String>);
descriptor: (JLjava/util/Optional;)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/Optional;)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 name Ljava/util/Optional<Ljava/lang/String;>;
Signature: (JLjava/util/Optional<Ljava/lang/String;>;)Ljdk/incubator/foreign/SequenceLayout;
MethodParameters:
Name Flags
alignment
name
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=8, locals=1, args_size=1
start local 0 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;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
4: goto 8
5: StackMap locals:
StackMap stack:
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;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
8: StackMap locals:
StackMap stack: java.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
jdk.incubator.foreign.AbstractLayout dup(long, java.util.Optional);
descriptor: (JLjava/util/Optional;)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/Optional;)Ljdk/incubator/foreign/SequenceLayout;
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 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 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"