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: .line 67
            new jdk.incubator.foreign.GroupLayout$Kind
            dup
            ldc "STRUCT"
            iconst_0
         1: .line 70
            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: .line 71
            new jdk.incubator.foreign.GroupLayout$Kind
            dup
            ldc "UNION"
            iconst_1
         3: .line 74
            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: .line 66
            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 // jdk.incubator.foreign.GroupLayout$Kind this
        start local 3 // java.lang.String delimTag
        start local 4 // java.lang.constant.MethodHandleDesc mhDesc
        start local 5 // java.util.function.LongBinaryOperator sizeOp
         0: .line 80
            aload 0 /* this */
            aload 1
            iload 2
            invokespecial java.lang.Enum.<init>:(Ljava/lang/String;I)V
         1: .line 81
            aload 0 /* this */
            aload 3 /* delimTag */
            putfield jdk.incubator.foreign.GroupLayout$Kind.delimTag:Ljava/lang/String;
         2: .line 82
            aload 0 /* this */
            aload 4 /* mhDesc */
            putfield jdk.incubator.foreign.GroupLayout$Kind.mhDesc:Ljava/lang/constant/MethodHandleDesc;
         3: .line 83
            aload 0 /* this */
            aload 5 /* sizeOp */
            putfield jdk.incubator.foreign.GroupLayout$Kind.sizeOp:Ljava/util/function/LongBinaryOperator;
         4: .line 84
            return
        end local 5 // java.util.function.LongBinaryOperator sizeOp
        end local 4 // java.lang.constant.MethodHandleDesc mhDesc
        end local 3 // java.lang.String delimTag
        end local 0 // jdk.incubator.foreign.GroupLayout$Kind this
      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 // jdk.incubator.foreign.GroupLayout$Kind this
        start local 1 // java.util.List elems
         0: .line 87
            lconst_0
            lstore 2 /* size */
        start local 2 // long size
         1: .line 88
            aload 1 /* elems */
            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 /* elem */
        start local 4 // jdk.incubator.foreign.MemoryLayout elem
         3: .line 89
            aload 4 /* elem */
            invokestatic jdk.incubator.foreign.AbstractLayout.optSize:(Ljdk/incubator/foreign/MemoryLayout;)Ljava/util/OptionalLong;
            invokevirtual java.util.OptionalLong.isPresent:()Z
            ifeq 6
         4: .line 90
            aload 0 /* this */
            getfield jdk.incubator.foreign.GroupLayout$Kind.sizeOp:Ljava/util/function/LongBinaryOperator;
            lload 2 /* size */
            aload 4 /* elem */
            invokeinterface jdk.incubator.foreign.MemoryLayout.bitSize:()J
            invokeinterface java.util.function.LongBinaryOperator.applyAsLong:(JJ)J
            lstore 2 /* size */
         5: .line 91
            goto 7
         6: .line 92
      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 // jdk.incubator.foreign.MemoryLayout elem
         7: .line 88
      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: .line 95
            lload 2 /* size */
            invokestatic java.util.OptionalLong.of:(J)Ljava/util/OptionalLong;
            areturn
        end local 2 // long size
        end local 1 // java.util.List elems
        end local 0 // jdk.incubator.foreign.GroupLayout$Kind this
      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 // jdk.incubator.foreign.GroupLayout$Kind this
        start local 1 // java.util.List elems
         0: .line 99
            aload 1 /* elems */
            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: .line 100
            lconst_1
            invokevirtual java.util.OptionalLong.orElse:(J)J
         2: .line 99
            lreturn
        end local 1 // java.util.List elems
        end local 0 // jdk.incubator.foreign.GroupLayout$Kind this
      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: .line 1
            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: .line 1
            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