public final class jdk.incubator.foreign.ValueLayout extends jdk.incubator.foreign.AbstractLayout implements jdk.incubator.foreign.MemoryLayout
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.incubator.foreign.ValueLayout
super_class: jdk.incubator.foreign.AbstractLayout
{
private final java.nio.ByteOrder order;
descriptor: Ljava/nio/ByteOrder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.nio.ByteOrder, long);
descriptor: (Ljava/nio/ByteOrder;J)V
flags: (0x0000)
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
lload 2
lload 2
invokestatic java.util.Map.of:()Ljava/util/Map;
invokespecial jdk.incubator.foreign.ValueLayout.<init>:(Ljava/nio/ByteOrder;JJLjava/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/ValueLayout;
0 2 1 order Ljava/nio/ByteOrder;
0 2 2 size J
MethodParameters:
Name Flags
order
size
void <init>(java.nio.ByteOrder, long, long, java.util.Map<java.lang.String, java.lang.constant.Constable>);
descriptor: (Ljava/nio/ByteOrder;JJLjava/util/Map;)V
flags: (0x0000)
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 6 0: aload 0
lload 2
invokestatic java.util.OptionalLong.of:(J)Ljava/util/OptionalLong;
lload 4
aload 6
invokespecial jdk.incubator.foreign.AbstractLayout.<init>:(Ljava/util/OptionalLong;JLjava/util/Map;)V
1: aload 0
aload 1
putfield jdk.incubator.foreign.ValueLayout.order:Ljava/nio/ByteOrder;
2: return
end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/foreign/ValueLayout;
0 3 1 order Ljava/nio/ByteOrder;
0 3 2 size J
0 3 4 alignment J
0 3 6 attributes Ljava/util/Map<Ljava/lang/String;Ljava/lang/constant/Constable;>;
Signature: (Ljava/nio/ByteOrder;JJLjava/util/Map<Ljava/lang/String;Ljava/lang/constant/Constable;>;)V
MethodParameters:
Name Flags
order
size
alignment
attributes
public java.nio.ByteOrder order();
descriptor: ()Ljava/nio/ByteOrder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.foreign.ValueLayout.order:Ljava/nio/ByteOrder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/foreign/ValueLayout;
public jdk.incubator.foreign.ValueLayout withOrder(java.nio.ByteOrder);
descriptor: (Ljava/nio/ByteOrder;)Ljdk/incubator/foreign/ValueLayout;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: new jdk.incubator.foreign.ValueLayout
dup
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.nio.ByteOrder
aload 0
invokevirtual jdk.incubator.foreign.ValueLayout.bitSize:()J
aload 0
getfield jdk.incubator.foreign.ValueLayout.alignment:J
aload 0
getfield jdk.incubator.foreign.ValueLayout.attributes:Ljava/util/Map;
invokespecial jdk.incubator.foreign.ValueLayout.<init>:(Ljava/nio/ByteOrder;JJLjava/util/Map;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/foreign/ValueLayout;
0 1 1 order Ljava/nio/ByteOrder;
MethodParameters:
Name Flags
order
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%d"
iconst_2
anewarray java.lang.Object
dup
iconst_0
1: aload 0
getfield jdk.incubator.foreign.ValueLayout.order:Ljava/nio/ByteOrder;
getstatic java.nio.ByteOrder.BIG_ENDIAN:Ljava/nio/ByteOrder;
if_acmpne 2
ldc "B"
goto 3
StackMap locals: jdk.incubator.foreign.ValueLayout
StackMap stack: jdk.incubator.foreign.ValueLayout java.lang.String java.lang.Object[] java.lang.Object[] int
2: ldc "b"
StackMap locals: jdk.incubator.foreign.ValueLayout
StackMap stack: jdk.incubator.foreign.ValueLayout java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
3: aastore
dup
iconst_1
4: aload 0
invokevirtual jdk.incubator.foreign.ValueLayout.bitSize:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
5: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual jdk.incubator.foreign.ValueLayout.decorateLayoutString:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/incubator/foreign/ValueLayout;
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.ValueLayout
ifne 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 1
checkcast jdk.incubator.foreign.ValueLayout
astore 2
start local 2 7: aload 0
getfield jdk.incubator.foreign.ValueLayout.order:Ljava/nio/ByteOrder;
aload 2
getfield jdk.incubator.foreign.ValueLayout.order:Ljava/nio/ByteOrder;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 11
8: aload 0
invokevirtual jdk.incubator.foreign.ValueLayout.bitSize:()J
aload 2
invokevirtual jdk.incubator.foreign.ValueLayout.bitSize:()J
lcmp
ifne 11
9: aload 0
getfield jdk.incubator.foreign.ValueLayout.alignment:J
aload 2
getfield jdk.incubator.foreign.ValueLayout.alignment:J
lcmp
ifne 11
10: iconst_1
ireturn
StackMap locals: jdk.incubator.foreign.ValueLayout
StackMap stack:
11: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/incubator/foreign/ValueLayout;
0 12 1 other Ljava/lang/Object;
7 12 2 v Ljdk/incubator/foreign/ValueLayout;
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_4
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.ValueLayout.order:Ljava/nio/ByteOrder;
aastore
dup
iconst_2
aload 0
invokevirtual jdk.incubator.foreign.ValueLayout.bitSize:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_3
aload 0
getfield jdk.incubator.foreign.ValueLayout.alignment: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/ValueLayout;
jdk.incubator.foreign.ValueLayout dup(long, java.util.Map<java.lang.String, java.lang.constant.Constable>);
descriptor: (JLjava/util/Map;)Ljdk/incubator/foreign/ValueLayout;
flags: (0x0000)
Code:
stack=8, locals=4, args_size=3
start local 0 start local 1 start local 3 0: new jdk.incubator.foreign.ValueLayout
dup
aload 0
getfield jdk.incubator.foreign.ValueLayout.order:Ljava/nio/ByteOrder;
aload 0
invokevirtual jdk.incubator.foreign.ValueLayout.bitSize:()J
lload 1
aload 3
invokespecial jdk.incubator.foreign.ValueLayout.<init>:(Ljava/nio/ByteOrder;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/ValueLayout;
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/ValueLayout;
MethodParameters:
Name Flags
alignment
attributes
public java.util.Optional<java.lang.constant.DynamicConstantDesc<jdk.incubator.foreign.ValueLayout>> 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 "value"
1: getstatic jdk.incubator.foreign.ValueLayout.CD_VALUE_LAYOUT:Ljava/lang/constant/ClassDesc;
iconst_3
anewarray java.lang.constant.ConstantDesc
dup
iconst_0
getstatic jdk.incubator.foreign.ValueLayout.MH_VALUE:Ljava/lang/constant/MethodHandleDesc;
aastore
dup
iconst_1
aload 0
invokevirtual jdk.incubator.foreign.ValueLayout.bitSize:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
aload 0
getfield jdk.incubator.foreign.ValueLayout.order:Ljava/nio/ByteOrder;
getstatic java.nio.ByteOrder.BIG_ENDIAN:Ljava/nio/ByteOrder;
if_acmpne 2
getstatic jdk.incubator.foreign.ValueLayout.BIG_ENDIAN:Ljava/lang/constant/ConstantDesc;
goto 3
StackMap locals: jdk.incubator.foreign.ValueLayout
StackMap stack: jdk.incubator.foreign.ValueLayout java.lang.constant.DirectMethodHandleDesc java.lang.String java.lang.constant.ClassDesc java.lang.constant.ConstantDesc[] java.lang.constant.ConstantDesc[] int
2: getstatic jdk.incubator.foreign.ValueLayout.LITTLE_ENDIAN:Ljava/lang/constant/ConstantDesc;
StackMap locals: jdk.incubator.foreign.ValueLayout
StackMap stack: jdk.incubator.foreign.ValueLayout java.lang.constant.DirectMethodHandleDesc java.lang.String java.lang.constant.ClassDesc java.lang.constant.ConstantDesc[] java.lang.constant.ConstantDesc[] int java.lang.constant.ConstantDesc
3: aastore
4: 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.ValueLayout.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 5 0 this Ljdk/incubator/foreign/ValueLayout;
Signature: ()Ljava/util/Optional<Ljava/lang/constant/DynamicConstantDesc<Ljdk/incubator/foreign/ValueLayout;>;>;
public jdk.incubator.foreign.ValueLayout withName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/incubator/foreign/ValueLayout;
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.ValueLayout
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/foreign/ValueLayout;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public jdk.incubator.foreign.ValueLayout withBitAlignment(long);
descriptor: (J)Ljdk/incubator/foreign/ValueLayout;
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.ValueLayout
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/foreign/ValueLayout;
0 1 1 alignmentBits J
MethodParameters:
Name Flags
alignmentBits
public jdk.incubator.foreign.ValueLayout withAttribute(java.lang.String, java.lang.constant.Constable);
descriptor: (Ljava/lang/String;Ljava/lang/constant/Constable;)Ljdk/incubator/foreign/ValueLayout;
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.ValueLayout
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/foreign/ValueLayout;
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.ValueLayout.withAttribute:(Ljava/lang/String;Ljava/lang/constant/Constable;)Ljdk/incubator/foreign/ValueLayout;
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.ValueLayout.withAttribute:(Ljava/lang/String;Ljava/lang/constant/Constable;)Ljdk/incubator/foreign/ValueLayout;
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.ValueLayout.dup:(JLjava/util/Map;)Ljdk/incubator/foreign/ValueLayout;
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.ValueLayout.withBitAlignment:(J)Ljdk/incubator/foreign/ValueLayout;
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.ValueLayout.withBitAlignment:(J)Ljdk/incubator/foreign/ValueLayout;
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.ValueLayout.withName:(Ljava/lang/String;)Ljdk/incubator/foreign/ValueLayout;
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.ValueLayout.withName:(Ljava/lang/String;)Ljdk/incubator/foreign/ValueLayout;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ValueLayout.java"