final class jdk.incubator.foreign.PaddingLayout extends jdk.incubator.foreign.AbstractLayout implements jdk.incubator.foreign.MemoryLayout
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.incubator.foreign.PaddingLayout
super_class: jdk.incubator.foreign.AbstractLayout
{
void <init>(long);
descriptor: (J)V
flags: (0x0000)
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
lconst_1
invokestatic java.util.Map.of:()Ljava/util/Map;
invokespecial jdk.incubator.foreign.PaddingLayout.<init>:(JJLjava/util/Map;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/foreign/PaddingLayout;
0 2 1 size J
MethodParameters:
Name Flags
size
void <init>(long, long, java.util.Map<java.lang.String, java.lang.constant.Constable>);
descriptor: (JJLjava/util/Map;)V
flags: (0x0000)
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 3 start local 5 0: aload 0
lload 1
invokestatic java.util.OptionalLong.of:(J)Ljava/util/OptionalLong;
lload 3
aload 5
invokespecial jdk.incubator.foreign.AbstractLayout.<init>:(Ljava/util/OptionalLong;JLjava/util/Map;)V
1: return
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/foreign/PaddingLayout;
0 2 1 size J
0 2 3 alignment J
0 2 5 attributes Ljava/util/Map<Ljava/lang/String;Ljava/lang/constant/Constable;>;
Signature: (JJLjava/util/Map<Ljava/lang/String;Ljava/lang/constant/Constable;>;)V
MethodParameters:
Name Flags
size
alignment
attributes
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
new java.lang.StringBuilder
dup
ldc "x"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual jdk.incubator.foreign.PaddingLayout.bitSize:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.incubator.foreign.PaddingLayout.decorateLayoutString:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/foreign/PaddingLayout;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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.PaddingLayout
ifne 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 1
checkcast jdk.incubator.foreign.PaddingLayout
astore 2
start local 2 7: aload 0
invokevirtual jdk.incubator.foreign.PaddingLayout.bitSize:()J
aload 2
invokevirtual jdk.incubator.foreign.PaddingLayout.bitSize:()J
lcmp
ifne 8
iconst_1
ireturn
StackMap locals: jdk.incubator.foreign.PaddingLayout
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/PaddingLayout;
0 9 1 other Ljava/lang/Object;
7 9 2 p Ljdk/incubator/foreign/PaddingLayout;
MethodParameters:
Name Flags
other
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: iconst_2
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
invokevirtual jdk.incubator.foreign.PaddingLayout.bitSize:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
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/PaddingLayout;
jdk.incubator.foreign.PaddingLayout dup(long, java.util.Map<java.lang.String, java.lang.constant.Constable>);
descriptor: (JLjava/util/Map;)Ljdk/incubator/foreign/PaddingLayout;
flags: (0x0000)
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 3 0: new jdk.incubator.foreign.PaddingLayout
dup
aload 0
invokevirtual jdk.incubator.foreign.PaddingLayout.bitSize:()J
lload 1
aload 3
invokespecial jdk.incubator.foreign.PaddingLayout.<init>:(JJLjava/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/PaddingLayout;
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/PaddingLayout;
MethodParameters:
Name Flags
alignment
attributes
public boolean hasNaturalAlignment();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/foreign/PaddingLayout;
public java.util.Optional<java.lang.constant.DynamicConstantDesc<jdk.incubator.foreign.MemoryLayout>> describeConstable();
descriptor: ()Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.lang.constant.ConstantDescs.BSM_INVOKE:Ljava/lang/constant/DirectMethodHandleDesc;
ldc "padding"
1: getstatic jdk.incubator.foreign.PaddingLayout.CD_MEMORY_LAYOUT:Ljava/lang/constant/ClassDesc;
iconst_2
anewarray java.lang.constant.ConstantDesc
dup
iconst_0
getstatic jdk.incubator.foreign.PaddingLayout.MH_PADDING:Ljava/lang/constant/MethodHandleDesc;
aastore
dup
iconst_1
aload 0
invokevirtual jdk.incubator.foreign.PaddingLayout.bitSize:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
2: 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;
invokevirtual jdk.incubator.foreign.PaddingLayout.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 3 0 this Ljdk/incubator/foreign/PaddingLayout;
Signature: ()Ljava/util/Optional<Ljava/lang/constant/DynamicConstantDesc<Ljdk/incubator/foreign/MemoryLayout;>;>;
public jdk.incubator.foreign.PaddingLayout withName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/incubator/foreign/PaddingLayout;
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.PaddingLayout
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/foreign/PaddingLayout;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public jdk.incubator.foreign.PaddingLayout withBitAlignment(long);
descriptor: (J)Ljdk/incubator/foreign/PaddingLayout;
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.PaddingLayout
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/foreign/PaddingLayout;
0 1 1 alignmentBits J
MethodParameters:
Name Flags
alignmentBits
public jdk.incubator.foreign.PaddingLayout withAttribute(java.lang.String, java.lang.constant.Constable);
descriptor: (Ljava/lang/String;Ljava/lang/constant/Constable;)Ljdk/incubator/foreign/PaddingLayout;
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.PaddingLayout
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/foreign/PaddingLayout;
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.PaddingLayout.withAttribute:(Ljava/lang/String;Ljava/lang/constant/Constable;)Ljdk/incubator/foreign/PaddingLayout;
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.PaddingLayout.withAttribute:(Ljava/lang/String;Ljava/lang/constant/Constable;)Ljdk/incubator/foreign/PaddingLayout;
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.PaddingLayout.dup:(JLjava/util/Map;)Ljdk/incubator/foreign/PaddingLayout;
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.PaddingLayout.withBitAlignment:(J)Ljdk/incubator/foreign/PaddingLayout;
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.PaddingLayout.withBitAlignment:(J)Ljdk/incubator/foreign/PaddingLayout;
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.PaddingLayout.withName:(Ljava/lang/String;)Ljdk/incubator/foreign/PaddingLayout;
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.PaddingLayout.withName:(Ljava/lang/String;)Ljdk/incubator/foreign/PaddingLayout;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "PaddingLayout.java"