final class jdk.incubator.foreign.GroupLayout$Kind extends java.lang.Enum<jdk.incubator.foreign.GroupLayout$Kind>
minor version: 0
major version: 59
flags: flags: (0x4030) ACC_FINAL, ACC_SUPER, ACC_ANNOTATION
this_class: jdk.incubator.foreign.GroupLayout$Kind
super_class: java.lang.Enum
{
public static final jdk.incubator.foreign.GroupLayout$Kind STRUCT;
descriptor: Ljdk/incubator/foreign/GroupLayout$Kind;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final jdk.incubator.foreign.GroupLayout$Kind UNION;
descriptor: Ljdk/incubator/foreign/GroupLayout$Kind;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
final java.lang.String delimTag;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final java.lang.constant.MethodHandleDesc mhDesc;
descriptor: Ljava/lang/constant/MethodHandleDesc;
flags: (0x0010) ACC_FINAL
final java.util.function.LongBinaryOperator sizeOp;
descriptor: Ljava/util/function/LongBinaryOperator;
flags: (0x0010) ACC_FINAL
private static final jdk.incubator.foreign.GroupLayout$Kind[] ENUM$VALUES;
descriptor: [Ljdk/incubator/foreign/GroupLayout$Kind;
flags: (0x101a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=0, args_size=0
0: new jdk.incubator.foreign.GroupLayout$Kind
dup
ldc "STRUCT"
iconst_0
1: ldc ""
getstatic jdk.incubator.foreign.GroupLayout.MH_STRUCT:Ljava/lang/constant/MethodHandleDesc;
invokedynamic applyAsLong()Ljava/util/function/LongBinaryOperator;
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:
(JJ)J
java/lang/Long.sum(JJ)J (6)
(JJ)J
invokespecial jdk.incubator.foreign.GroupLayout$Kind.<init>:(Ljava/lang/String;ILjava/lang/String;Ljava/lang/constant/MethodHandleDesc;Ljava/util/function/LongBinaryOperator;)V
putstatic jdk.incubator.foreign.GroupLayout$Kind.STRUCT:Ljdk/incubator/foreign/GroupLayout$Kind;
2: new jdk.incubator.foreign.GroupLayout$Kind
dup
ldc "UNION"
iconst_1
3: ldc "|"
getstatic jdk.incubator.foreign.GroupLayout.MH_UNION:Ljava/lang/constant/MethodHandleDesc;
invokedynamic applyAsLong()Ljava/util/function/LongBinaryOperator;
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:
(JJ)J
java/lang/Math.max(JJ)J (6)
(JJ)J
invokespecial jdk.incubator.foreign.GroupLayout$Kind.<init>:(Ljava/lang/String;ILjava/lang/String;Ljava/lang/constant/MethodHandleDesc;Ljava/util/function/LongBinaryOperator;)V
putstatic jdk.incubator.foreign.GroupLayout$Kind.UNION:Ljdk/incubator/foreign/GroupLayout$Kind;
4: iconst_2
anewarray jdk.incubator.foreign.GroupLayout$Kind
dup
iconst_0
getstatic jdk.incubator.foreign.GroupLayout$Kind.STRUCT:Ljdk/incubator/foreign/GroupLayout$Kind;
aastore
dup
iconst_1
getstatic jdk.incubator.foreign.GroupLayout$Kind.UNION:Ljdk/incubator/foreign/GroupLayout$Kind;
aastore
putstatic jdk.incubator.foreign.GroupLayout$Kind.ENUM$VALUES:[Ljdk/incubator/foreign/GroupLayout$Kind;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String, int, java.lang.String, java.lang.constant.MethodHandleDesc, java.util.function.LongBinaryOperator);
descriptor: (Ljava/lang/String;ILjava/lang/String;Ljava/lang/constant/MethodHandleDesc;Ljava/util/function/LongBinaryOperator;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=6
start local 0 start local 3 start local 4 start local 5 0: aload 0
aload 1
iload 2
invokespecial java.lang.Enum.<init>:(Ljava/lang/String;I)V
1: aload 0
aload 3
putfield jdk.incubator.foreign.GroupLayout$Kind.delimTag:Ljava/lang/String;
2: aload 0
aload 4
putfield jdk.incubator.foreign.GroupLayout$Kind.mhDesc:Ljava/lang/constant/MethodHandleDesc;
3: aload 0
aload 5
putfield jdk.incubator.foreign.GroupLayout$Kind.sizeOp:Ljava/util/function/LongBinaryOperator;
4: return
end local 5 end local 4 end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/incubator/foreign/GroupLayout$Kind;
0 5 3 delimTag Ljava/lang/String;
0 5 4 mhDesc Ljava/lang/constant/MethodHandleDesc;
0 5 5 sizeOp Ljava/util/function/LongBinaryOperator;
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
delimTag
mhDesc
sizeOp
java.util.OptionalLong sizeof(java.util.List<jdk.incubator.foreign.MemoryLayout>);
descriptor: (Ljava/util/List;)Ljava/util/OptionalLong;
flags: (0x0000)
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: lconst_0
lstore 2
start local 2 1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: jdk.incubator.foreign.GroupLayout$Kind java.util.List long top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.incubator.foreign.MemoryLayout
astore 4
start local 4 3: aload 4
invokestatic jdk.incubator.foreign.AbstractLayout.optSize:(Ljdk/incubator/foreign/MemoryLayout;)Ljava/util/OptionalLong;
invokevirtual java.util.OptionalLong.isPresent:()Z
ifeq 6
4: aload 0
getfield jdk.incubator.foreign.GroupLayout$Kind.sizeOp:Ljava/util/function/LongBinaryOperator;
lload 2
aload 4
invokeinterface jdk.incubator.foreign.MemoryLayout.bitSize:()J
invokeinterface java.util.function.LongBinaryOperator.applyAsLong:(JJ)J
lstore 2
5: goto 7
6: StackMap locals: jdk.incubator.foreign.GroupLayout$Kind java.util.List long jdk.incubator.foreign.MemoryLayout java.util.Iterator
StackMap stack:
invokestatic java.util.OptionalLong.empty:()Ljava/util/OptionalLong;
areturn
end local 4 7: StackMap locals: jdk.incubator.foreign.GroupLayout$Kind java.util.List long top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: lload 2
invokestatic java.util.OptionalLong.of:(J)Ljava/util/OptionalLong;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/incubator/foreign/GroupLayout$Kind;
0 9 1 elems Ljava/util/List<Ljdk/incubator/foreign/MemoryLayout;>;
1 9 2 size J
3 7 4 elem Ljdk/incubator/foreign/MemoryLayout;
Signature: (Ljava/util/List<Ljdk/incubator/foreign/MemoryLayout;>;)Ljava/util/OptionalLong;
MethodParameters:
Name Flags
elems
long alignof(java.util.List<jdk.incubator.foreign.MemoryLayout>);
descriptor: (Ljava/util/List;)J
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
invokedynamic applyAsLong()Ljava/util/function/ToLongFunction;
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;)J
jdk/incubator/foreign/MemoryLayout.bitAlignment()J (9 itf)
(Ljdk/incubator/foreign/MemoryLayout;)J
invokeinterface java.util.stream.Stream.mapToLong:(Ljava/util/function/ToLongFunction;)Ljava/util/stream/LongStream;
invokeinterface java.util.stream.LongStream.max:()Ljava/util/OptionalLong;
1: lconst_1
invokevirtual java.util.OptionalLong.orElse:(J)J
2: lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/foreign/GroupLayout$Kind;
0 3 1 elems Ljava/util/List<Ljdk/incubator/foreign/MemoryLayout;>;
Signature: (Ljava/util/List<Ljdk/incubator/foreign/MemoryLayout;>;)J
MethodParameters:
Name Flags
elems
public static jdk.incubator.foreign.GroupLayout$Kind[] values();
descriptor: ()[Ljdk/incubator/foreign/GroupLayout$Kind;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic jdk.incubator.foreign.GroupLayout$Kind.ENUM$VALUES:[Ljdk/incubator/foreign/GroupLayout$Kind;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray jdk.incubator.foreign.GroupLayout$Kind
dup
astore 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
aload 2
areturn
LocalVariableTable:
Start End Slot Name Signature
public static jdk.incubator.foreign.GroupLayout$Kind valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/incubator/foreign/GroupLayout$Kind;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Ljdk/incubator/foreign/GroupLayout$Kind;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast jdk.incubator.foreign.GroupLayout$Kind
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
}
Signature: Ljava/lang/Enum<Ljdk/incubator/foreign/GroupLayout$Kind;>;
SourceFile: "GroupLayout.java"
NestHost: jdk.incubator.foreign.GroupLayout
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
final Kind = jdk.incubator.foreign.GroupLayout$Kind of jdk.incubator.foreign.GroupLayout