public class org.apache.lucene.index.MergePolicy$OneMerge
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.lucene.index.MergePolicy$OneMerge
  super_class: java.lang.Object
{
  private final java.util.concurrent.CompletableFuture<java.lang.Boolean> mergeCompleted;
    descriptor: Ljava/util/concurrent/CompletableFuture;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/concurrent/CompletableFuture<Ljava/lang/Boolean;>;

  org.apache.lucene.index.SegmentCommitInfo info;
    descriptor: Lorg/apache/lucene/index/SegmentCommitInfo;
    flags: (0x0000) 

  boolean registerDone;
    descriptor: Z
    flags: (0x0000) 

  long mergeGen;
    descriptor: J
    flags: (0x0000) 

  boolean isExternal;
    descriptor: Z
    flags: (0x0000) 

  int maxNumSegments;
    descriptor: I
    flags: (0x0000) 

  public volatile long estimatedMergeBytes;
    descriptor: J
    flags: (0x0041) ACC_PUBLIC, ACC_VOLATILE

  volatile long totalMergeBytes;
    descriptor: J
    flags: (0x0040) ACC_VOLATILE

  private java.util.List<org.apache.lucene.index.MergePolicy$MergeReader> mergeReaders;
    descriptor: Ljava/util/List;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/List<Lorg/apache/lucene/index/MergePolicy$MergeReader;>;

  public final java.util.List<org.apache.lucene.index.SegmentCommitInfo> segments;
    descriptor: Ljava/util/List;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Signature: Ljava/util/List<Lorg/apache/lucene/index/SegmentCommitInfo;>;

  private final org.apache.lucene.index.MergePolicy$OneMergeProgress mergeProgress;
    descriptor: Lorg/apache/lucene/index/MergePolicy$OneMergeProgress;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  volatile long mergeStartNS;
    descriptor: J
    flags: (0x0040) ACC_VOLATILE

  final int totalMaxDoc;
    descriptor: I
    flags: (0x0010) ACC_FINAL

  java.lang.Throwable error;
    descriptor: Ljava/lang/Throwable;
    flags: (0x0000) 

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 206
            ldc Lorg/apache/lucene/index/MergePolicy;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic org.apache.lucene.index.MergePolicy$OneMerge.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(java.util.List<org.apache.lucene.index.SegmentCommitInfo>);
    descriptor: (Ljava/util/List;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
        start local 1 // java.util.List segments
         0: .line 239
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 207
            aload 0 /* this */
            new java.util.concurrent.CompletableFuture
            dup
            invokespecial java.util.concurrent.CompletableFuture.<init>:()V
            putfield org.apache.lucene.index.MergePolicy$OneMerge.mergeCompleted:Ljava/util/concurrent/CompletableFuture;
         2: .line 212
            aload 0 /* this */
            iconst_m1
            putfield org.apache.lucene.index.MergePolicy$OneMerge.maxNumSegments:I
         3: .line 230
            aload 0 /* this */
            ldc -1
            putfield org.apache.lucene.index.MergePolicy$OneMerge.mergeStartNS:J
         4: .line 240
            aload 1 /* segments */
            invokeinterface java.util.List.size:()I
            ifne 6
         5: .line 241
            new java.lang.RuntimeException
            dup
            ldc "segments must include at least one segment"
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 244
      StackMap locals: org.apache.lucene.index.MergePolicy$OneMerge java.util.List
      StackMap stack:
            aload 0 /* this */
            new java.util.ArrayList
            dup
            aload 1 /* segments */
            invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
            putfield org.apache.lucene.index.MergePolicy$OneMerge.segments:Ljava/util/List;
         7: .line 245
            aload 0 /* this */
            aload 1 /* segments */
            invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
            invokedynamic applyAsInt()Ljava/util/function/ToIntFunction;
              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;)I
                  org/apache/lucene/index/MergePolicy$OneMerge.lambda$0(Lorg/apache/lucene/index/SegmentCommitInfo;)I (6)
                  (Lorg/apache/lucene/index/SegmentCommitInfo;)I
            invokeinterface java.util.stream.Stream.mapToInt:(Ljava/util/function/ToIntFunction;)Ljava/util/stream/IntStream;
            invokeinterface java.util.stream.IntStream.sum:()I
            putfield org.apache.lucene.index.MergePolicy$OneMerge.totalMaxDoc:I
         8: .line 246
            aload 0 /* this */
            new org.apache.lucene.index.MergePolicy$OneMergeProgress
            dup
            invokespecial org.apache.lucene.index.MergePolicy$OneMergeProgress.<init>:()V
            putfield org.apache.lucene.index.MergePolicy$OneMerge.mergeProgress:Lorg/apache/lucene/index/MergePolicy$OneMergeProgress;
         9: .line 247
            aload 0 /* this */
            invokestatic java.util.Collections.emptyList:()Ljava/util/List;
            putfield org.apache.lucene.index.MergePolicy$OneMerge.mergeReaders:Ljava/util/List;
        10: .line 248
            return
        end local 1 // java.util.List segments
        end local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   11     0      this  Lorg/apache/lucene/index/MergePolicy$OneMerge;
            0   11     1  segments  Ljava/util/List<Lorg/apache/lucene/index/SegmentCommitInfo;>;
    Signature: (Ljava/util/List<Lorg/apache/lucene/index/SegmentCommitInfo;>;)V
    MethodParameters:
          Name  Flags
      segments  

  public void mergeInit();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
         0: .line 255
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.mergeProgress:Lorg/apache/lucene/index/MergePolicy$OneMergeProgress;
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokevirtual org.apache.lucene.index.MergePolicy$OneMergeProgress.setMergeThread:(Ljava/lang/Thread;)V
         1: .line 256
            return
        end local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/lucene/index/MergePolicy$OneMerge;
    Exceptions:
      throws java.io.IOException

  public void mergeFinished(boolean, boolean);
    descriptor: (ZZ)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=0, locals=3, args_size=3
        start local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
        start local 1 // boolean success
        start local 2 // boolean segmentDropped
         0: .line 263
            return
        end local 2 // boolean segmentDropped
        end local 1 // boolean success
        end local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    1     0            this  Lorg/apache/lucene/index/MergePolicy$OneMerge;
            0    1     1         success  Z
            0    1     2  segmentDropped  Z
    Exceptions:
      throws java.io.IOException
    MethodParameters:
                Name  Flags
      success         
      segmentDropped  

  final void close(boolean, boolean, org.apache.lucene.util.IOUtils$IOConsumer<org.apache.lucene.index.MergePolicy$MergeReader>);
    descriptor: (ZZLorg/apache/lucene/util/IOUtils$IOConsumer;)V
    flags: (0x0010) ACC_FINAL
    Code:
      stack=3, locals=6, args_size=4
        start local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
        start local 1 // boolean success
        start local 2 // boolean segmentDropped
        start local 3 // org.apache.lucene.util.IOUtils$IOConsumer readerConsumer
         0: .line 270
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.mergeCompleted:Ljava/util/concurrent/CompletableFuture;
            iload 1 /* success */
            invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
            invokevirtual java.util.concurrent.CompletableFuture.complete:(Ljava/lang/Object;)Z
            ifne 2
         1: .line 271
            new java.lang.IllegalStateException
            dup
            ldc "merge has already finished"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 274
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* success */
            iload 2 /* segmentDropped */
            invokevirtual org.apache.lucene.index.MergePolicy$OneMerge.mergeFinished:(ZZ)V
         3: .line 275
            goto 9
      StackMap locals:
      StackMap stack: java.lang.Throwable
         4: astore 4
         5: .line 276
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.mergeReaders:Ljava/util/List;
            astore 5 /* readers */
        start local 5 // java.util.List readers
         6: .line 277
            aload 0 /* this */
            invokestatic java.util.Collections.emptyList:()Ljava/util/List;
            putfield org.apache.lucene.index.MergePolicy$OneMerge.mergeReaders:Ljava/util/List;
         7: .line 278
            aload 5 /* readers */
            aload 3 /* readerConsumer */
            invokestatic org.apache.lucene.util.IOUtils.applyToAll:(Ljava/util/Collection;Lorg/apache/lucene/util/IOUtils$IOConsumer;)V
        end local 5 // java.util.List readers
         8: .line 279
            aload 4
            athrow
         9: .line 276
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.mergeReaders:Ljava/util/List;
            astore 5 /* readers */
        start local 5 // java.util.List readers
        10: .line 277
            aload 0 /* this */
            invokestatic java.util.Collections.emptyList:()Ljava/util/List;
            putfield org.apache.lucene.index.MergePolicy$OneMerge.mergeReaders:Ljava/util/List;
        11: .line 278
            aload 5 /* readers */
            aload 3 /* readerConsumer */
            invokestatic org.apache.lucene.util.IOUtils.applyToAll:(Ljava/util/Collection;Lorg/apache/lucene/util/IOUtils$IOConsumer;)V
        end local 5 // java.util.List readers
        12: .line 280
            return
        end local 3 // org.apache.lucene.util.IOUtils$IOConsumer readerConsumer
        end local 2 // boolean segmentDropped
        end local 1 // boolean success
        end local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   13     0            this  Lorg/apache/lucene/index/MergePolicy$OneMerge;
            0   13     1         success  Z
            0   13     2  segmentDropped  Z
            0   13     3  readerConsumer  Lorg/apache/lucene/util/IOUtils$IOConsumer<Lorg/apache/lucene/index/MergePolicy$MergeReader;>;
            6    8     5         readers  Ljava/util/List<Lorg/apache/lucene/index/MergePolicy$MergeReader;>;
           10   12     5         readers  Ljava/util/List<Lorg/apache/lucene/index/MergePolicy$MergeReader;>;
      Exception table:
        from    to  target  type
           2     4       4  any
    Exceptions:
      throws java.io.IOException
    Signature: (ZZLorg/apache/lucene/util/IOUtils$IOConsumer<Lorg/apache/lucene/index/MergePolicy$MergeReader;>;)V
    MethodParameters:
                Name  Flags
      success         
      segmentDropped  
      readerConsumer  

  public org.apache.lucene.index.CodecReader wrapForMerge(org.apache.lucene.index.CodecReader);
    descriptor: (Lorg/apache/lucene/index/CodecReader;)Lorg/apache/lucene/index/CodecReader;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
        start local 1 // org.apache.lucene.index.CodecReader reader
         0: .line 284
            aload 1 /* reader */
            areturn
        end local 1 // org.apache.lucene.index.CodecReader reader
        end local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0    this  Lorg/apache/lucene/index/MergePolicy$OneMerge;
            0    1     1  reader  Lorg/apache/lucene/index/CodecReader;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      reader  

  public void setMergeInfo(org.apache.lucene.index.SegmentCommitInfo);
    descriptor: (Lorg/apache/lucene/index/SegmentCommitInfo;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
        start local 1 // org.apache.lucene.index.SegmentCommitInfo info
         0: .line 292
            aload 0 /* this */
            aload 1 /* info */
            putfield org.apache.lucene.index.MergePolicy$OneMerge.info:Lorg/apache/lucene/index/SegmentCommitInfo;
         1: .line 293
            return
        end local 1 // org.apache.lucene.index.SegmentCommitInfo info
        end local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/lucene/index/MergePolicy$OneMerge;
            0    2     1  info  Lorg/apache/lucene/index/SegmentCommitInfo;
    MethodParameters:
      Name  Flags
      info  

  public org.apache.lucene.index.SegmentCommitInfo getMergeInfo();
    descriptor: ()Lorg/apache/lucene/index/SegmentCommitInfo;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
         0: .line 300
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.info:Lorg/apache/lucene/index/SegmentCommitInfo;
            areturn
        end local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/lucene/index/MergePolicy$OneMerge;

  synchronized void setException(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
        start local 1 // java.lang.Throwable error
         0: .line 306
            aload 0 /* this */
            aload 1 /* error */
            putfield org.apache.lucene.index.MergePolicy$OneMerge.error:Ljava/lang/Throwable;
         1: .line 307
            return
        end local 1 // java.lang.Throwable error
        end local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Lorg/apache/lucene/index/MergePolicy$OneMerge;
            0    2     1  error  Ljava/lang/Throwable;
    MethodParameters:
       Name  Flags
      error  

  synchronized java.lang.Throwable getException();
    descriptor: ()Ljava/lang/Throwable;
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
         0: .line 312
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.error:Ljava/lang/Throwable;
            areturn
        end local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/lucene/index/MergePolicy$OneMerge;

  public java.lang.String segString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=1
        start local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
         0: .line 318
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 1 /* b */
        start local 1 // java.lang.StringBuilder b
         1: .line 319
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.segments:Ljava/util/List;
            invokeinterface java.util.List.size:()I
            istore 2 /* numSegments */
        start local 2 // int numSegments
         2: .line 320
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         3: goto 8
         4: .line 321
      StackMap locals: java.lang.StringBuilder int int
      StackMap stack:
            iload 3 /* i */
            ifle 6
         5: .line 322
            aload 1 /* b */
            bipush 32
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
         6: .line 324
      StackMap locals:
      StackMap stack:
            aload 1 /* b */
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.segments:Ljava/util/List;
            iload 3 /* i */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.apache.lucene.index.SegmentCommitInfo
            invokevirtual org.apache.lucene.index.SegmentCommitInfo.toString:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         7: .line 320
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
         8: iload 3 /* i */
            iload 2 /* numSegments */
            if_icmplt 4
        end local 3 // int i
         9: .line 326
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.info:Lorg/apache/lucene/index/SegmentCommitInfo;
            ifnull 11
        10: .line 327
            aload 1 /* b */
            ldc " into "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.info:Lorg/apache/lucene/index/SegmentCommitInfo;
            getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
            getfield org.apache.lucene.index.SegmentInfo.name:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        11: .line 329
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.maxNumSegments:I
            iconst_m1
            if_icmpeq 13
        12: .line 330
            aload 1 /* b */
            ldc " [maxNumSegments="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.maxNumSegments:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            bipush 93
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        13: .line 332
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.apache.lucene.index.MergePolicy$OneMerge.isAborted:()Z
            ifeq 15
        14: .line 333
            aload 1 /* b */
            ldc " [ABORTED]"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        15: .line 335
      StackMap locals:
      StackMap stack:
            aload 1 /* b */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 2 // int numSegments
        end local 1 // java.lang.StringBuilder b
        end local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   16     0         this  Lorg/apache/lucene/index/MergePolicy$OneMerge;
            1   16     1            b  Ljava/lang/StringBuilder;
            2   16     2  numSegments  I
            3    9     3            i  I

  public long totalBytesSize();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
         0: .line 345
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.totalMergeBytes:J
            lreturn
        end local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/lucene/index/MergePolicy$OneMerge;

  public int totalNumDocs();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=1
        start local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
         0: .line 353
            iconst_0
            istore 1 /* total */
        start local 1 // int total
         1: .line 354
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.segments:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 4
      StackMap locals: org.apache.lucene.index.MergePolicy$OneMerge int top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.apache.lucene.index.SegmentCommitInfo
            astore 2 /* info */
        start local 2 // org.apache.lucene.index.SegmentCommitInfo info
         3: .line 355
            iload 1 /* total */
            aload 2 /* info */
            getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
            invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
            iadd
            istore 1 /* total */
        end local 2 // org.apache.lucene.index.SegmentCommitInfo info
         4: .line 354
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         5: .line 357
            iload 1 /* total */
            ireturn
        end local 1 // int total
        end local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    6     0   this  Lorg/apache/lucene/index/MergePolicy$OneMerge;
            1    6     1  total  I
            3    4     2   info  Lorg/apache/lucene/index/SegmentCommitInfo;

  public org.apache.lucene.store.MergeInfo getStoreMergeInfo();
    descriptor: ()Lorg/apache/lucene/store/MergeInfo;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=1, args_size=1
        start local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
         0: .line 362
            new org.apache.lucene.store.MergeInfo
            dup
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.totalMaxDoc:I
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.estimatedMergeBytes:J
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.isExternal:Z
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.maxNumSegments:I
            invokespecial org.apache.lucene.store.MergeInfo.<init>:(IJZI)V
            areturn
        end local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/lucene/index/MergePolicy$OneMerge;

  public boolean isAborted();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
         0: .line 367
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.mergeProgress:Lorg/apache/lucene/index/MergePolicy$OneMergeProgress;
            invokevirtual org.apache.lucene.index.MergePolicy$OneMergeProgress.isAborted:()Z
            ireturn
        end local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/lucene/index/MergePolicy$OneMerge;

  public void setAborted();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
         0: .line 372
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.mergeProgress:Lorg/apache/lucene/index/MergePolicy$OneMergeProgress;
            invokevirtual org.apache.lucene.index.MergePolicy$OneMergeProgress.abort:()V
         1: .line 373
            return
        end local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/lucene/index/MergePolicy$OneMerge;

  public void checkAborted();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
         0: .line 377
            aload 0 /* this */
            invokevirtual org.apache.lucene.index.MergePolicy$OneMerge.isAborted:()Z
            ifeq 2
         1: .line 378
            new org.apache.lucene.index.MergePolicy$MergeAbortedException
            dup
            new java.lang.StringBuilder
            dup
            ldc "merge is aborted: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            invokevirtual org.apache.lucene.index.MergePolicy$OneMerge.segString:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial org.apache.lucene.index.MergePolicy$MergeAbortedException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 380
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/lucene/index/MergePolicy$OneMerge;
    Exceptions:
      throws org.apache.lucene.index.MergePolicy$MergeAbortedException

  public org.apache.lucene.index.MergePolicy$OneMergeProgress getMergeProgress();
    descriptor: ()Lorg/apache/lucene/index/MergePolicy$OneMergeProgress;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
         0: .line 387
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.mergeProgress:Lorg/apache/lucene/index/MergePolicy$OneMergeProgress;
            areturn
        end local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/lucene/index/MergePolicy$OneMerge;

  boolean await(long, java.util.concurrent.TimeUnit);
    descriptor: (JLjava/util/concurrent/TimeUnit;)Z
    flags: (0x0000) 
    Code:
      stack=4, locals=5, args_size=3
        start local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
        start local 1 // long timeout
        start local 3 // java.util.concurrent.TimeUnit timeUnit
         0: .line 396
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.mergeCompleted:Ljava/util/concurrent/CompletableFuture;
            lload 1 /* timeout */
            aload 3 /* timeUnit */
            invokevirtual java.util.concurrent.CompletableFuture.get:(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
            pop
         1: .line 397
            iconst_1
            ireturn
         2: .line 398
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
            astore 4 /* e */
        start local 4 // java.lang.InterruptedException e
         3: .line 399
            new org.apache.lucene.util.ThreadInterruptedException
            dup
            aload 4 /* e */
            invokespecial org.apache.lucene.util.ThreadInterruptedException.<init>:(Ljava/lang/InterruptedException;)V
            athrow
        end local 4 // java.lang.InterruptedException e
         4: .line 400
      StackMap locals:
      StackMap stack: java.lang.Exception
            pop
         5: .line 401
            iconst_0
            ireturn
        end local 3 // java.util.concurrent.TimeUnit timeUnit
        end local 1 // long timeout
        end local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    6     0      this  Lorg/apache/lucene/index/MergePolicy$OneMerge;
            0    6     1   timeout  J
            0    6     3  timeUnit  Ljava/util/concurrent/TimeUnit;
            3    4     4         e  Ljava/lang/InterruptedException;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.InterruptedException
           0     1       4  Class java.util.concurrent.ExecutionException
           0     1       4  Class java.util.concurrent.TimeoutException
    MethodParameters:
          Name  Flags
      timeout   
      timeUnit  

  boolean hasFinished();
    descriptor: ()Z
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
         0: .line 410
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.mergeCompleted:Ljava/util/concurrent/CompletableFuture;
            invokevirtual java.util.concurrent.CompletableFuture.isDone:()Z
            ireturn
        end local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/lucene/index/MergePolicy$OneMerge;

  java.util.Optional<java.lang.Boolean> hasCompletedSuccessfully();
    descriptor: ()Ljava/util/Optional;
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
         0: .line 418
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.mergeCompleted:Ljava/util/concurrent/CompletableFuture;
            aconst_null
            invokevirtual java.util.concurrent.CompletableFuture.getNow:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.Boolean
            invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
            areturn
        end local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/lucene/index/MergePolicy$OneMerge;
    Signature: ()Ljava/util/Optional<Ljava/lang/Boolean;>;

  void onMergeComplete();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
         0: .line 426
            return
        end local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/lucene/index/MergePolicy$OneMerge;
    Exceptions:
      throws java.io.IOException

  void initMergeReaders(org.apache.lucene.util.IOUtils$IOFunction<org.apache.lucene.index.SegmentCommitInfo, org.apache.lucene.index.MergePolicy$MergeReader>);
    descriptor: (Lorg/apache/lucene/util/IOUtils$IOFunction;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=6, args_size=2
        start local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
        start local 1 // org.apache.lucene.util.IOUtils$IOFunction readerFactory
         0: .line 432
            getstatic org.apache.lucene.index.MergePolicy$OneMerge.$assertionsDisabled:Z
            ifne 1
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.mergeReaders:Ljava/util/List;
            invokeinterface java.util.List.isEmpty:()Z
            ifne 1
            new java.lang.AssertionError
            dup
            ldc "merge readers must be empty"
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
         1: .line 433
      StackMap locals:
      StackMap stack:
            getstatic org.apache.lucene.index.MergePolicy$OneMerge.$assertionsDisabled:Z
            ifne 2
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.mergeCompleted:Ljava/util/concurrent/CompletableFuture;
            invokevirtual java.util.concurrent.CompletableFuture.isDone:()Z
            ifeq 2
            new java.lang.AssertionError
            dup
            ldc "merge is already done"
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
         2: .line 434
      StackMap locals:
      StackMap stack:
            new java.util.ArrayList
            dup
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.segments:Ljava/util/List;
            invokeinterface java.util.List.size:()I
            invokespecial java.util.ArrayList.<init>:(I)V
            astore 2 /* readers */
        start local 2 // java.util.ArrayList readers
         3: .line 436
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.segments:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 4
            goto 6
      StackMap locals: org.apache.lucene.index.MergePolicy$OneMerge org.apache.lucene.util.IOUtils$IOFunction java.util.ArrayList top java.util.Iterator
      StackMap stack:
         4: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.apache.lucene.index.SegmentCommitInfo
            astore 3 /* info */
        start local 3 // org.apache.lucene.index.SegmentCommitInfo info
         5: .line 439
            aload 2 /* readers */
            aload 1 /* readerFactory */
            aload 3 /* info */
            invokeinterface org.apache.lucene.util.IOUtils$IOFunction.apply:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.apache.lucene.index.MergePolicy$MergeReader
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
        end local 3 // org.apache.lucene.index.SegmentCommitInfo info
         6: .line 436
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
         7: .line 441
            goto 11
      StackMap locals: org.apache.lucene.index.MergePolicy$OneMerge org.apache.lucene.util.IOUtils$IOFunction java.util.ArrayList
      StackMap stack: java.lang.Throwable
         8: astore 5
         9: .line 443
            aload 0 /* this */
            aload 2 /* readers */
            invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
            putfield org.apache.lucene.index.MergePolicy$OneMerge.mergeReaders:Ljava/util/List;
        10: .line 444
            aload 5
            athrow
        11: .line 443
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 2 /* readers */
            invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
            putfield org.apache.lucene.index.MergePolicy$OneMerge.mergeReaders:Ljava/util/List;
        12: .line 445
            return
        end local 2 // java.util.ArrayList readers
        end local 1 // org.apache.lucene.util.IOUtils$IOFunction readerFactory
        end local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   13     0           this  Lorg/apache/lucene/index/MergePolicy$OneMerge;
            0   13     1  readerFactory  Lorg/apache/lucene/util/IOUtils$IOFunction<Lorg/apache/lucene/index/SegmentCommitInfo;Lorg/apache/lucene/index/MergePolicy$MergeReader;>;
            3   13     2        readers  Ljava/util/ArrayList<Lorg/apache/lucene/index/MergePolicy$MergeReader;>;
            5    6     3           info  Lorg/apache/lucene/index/SegmentCommitInfo;
      Exception table:
        from    to  target  type
           3     8       8  any
    Exceptions:
      throws java.io.IOException
    Signature: (Lorg/apache/lucene/util/IOUtils$IOFunction<Lorg/apache/lucene/index/SegmentCommitInfo;Lorg/apache/lucene/index/MergePolicy$MergeReader;>;)V
    MethodParameters:
               Name  Flags
      readerFactory  

  java.util.List<org.apache.lucene.index.MergePolicy$MergeReader> getMergeReader();
    descriptor: ()Ljava/util/List;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
         0: .line 451
            aload 0 /* this */
            getfield org.apache.lucene.index.MergePolicy$OneMerge.mergeReaders:Ljava/util/List;
            areturn
        end local 0 // org.apache.lucene.index.MergePolicy$OneMerge this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/lucene/index/MergePolicy$OneMerge;
    Signature: ()Ljava/util/List<Lorg/apache/lucene/index/MergePolicy$MergeReader;>;

  static java.util.concurrent.CompletableFuture access$0(org.apache.lucene.index.MergePolicy$OneMerge);
    descriptor: (Lorg/apache/lucene/index/MergePolicy$OneMerge;)Ljava/util/concurrent/CompletableFuture;
    flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 207
            aload 0
            getfield org.apache.lucene.index.MergePolicy$OneMerge.mergeCompleted:Ljava/util/concurrent/CompletableFuture;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static int lambda$0(org.apache.lucene.index.SegmentCommitInfo);
    descriptor: (Lorg/apache/lucene/index/SegmentCommitInfo;)I
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.lucene.index.SegmentCommitInfo i
         0: .line 245
            aload 0 /* i */
            getfield org.apache.lucene.index.SegmentCommitInfo.info:Lorg/apache/lucene/index/SegmentInfo;
            invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
            ireturn
        end local 0 // org.apache.lucene.index.SegmentCommitInfo i
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     i  Lorg/apache/lucene/index/SegmentCommitInfo;
}
SourceFile: "MergePolicy.java"
NestHost: org.apache.lucene.index.MergePolicy
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public MergeAbortedException = org.apache.lucene.index.MergePolicy$MergeAbortedException of org.apache.lucene.index.MergePolicy
  final MergeReader = org.apache.lucene.index.MergePolicy$MergeReader of org.apache.lucene.index.MergePolicy
  public OneMerge = org.apache.lucene.index.MergePolicy$OneMerge of org.apache.lucene.index.MergePolicy
  public OneMergeProgress = org.apache.lucene.index.MergePolicy$OneMergeProgress of org.apache.lucene.index.MergePolicy
  public abstract IOConsumer = org.apache.lucene.util.IOUtils$IOConsumer of org.apache.lucene.util.IOUtils
  public abstract IOFunction = org.apache.lucene.util.IOUtils$IOFunction of org.apache.lucene.util.IOUtils