public class org.apache.lucene.index.MergeState
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.lucene.index.MergeState
  super_class: java.lang.Object
{
  public final org.apache.lucene.index.MergeState$DocMap[] docMaps;
    descriptor: [Lorg/apache/lucene/index/MergeState$DocMap;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL

  final org.apache.lucene.index.MergeState$DocMap[] leafDocMaps;
    descriptor: [Lorg/apache/lucene/index/MergeState$DocMap;
    flags: (0x0010) ACC_FINAL

  public final org.apache.lucene.index.SegmentInfo segmentInfo;
    descriptor: Lorg/apache/lucene/index/SegmentInfo;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL

  public org.apache.lucene.index.FieldInfos mergeFieldInfos;
    descriptor: Lorg/apache/lucene/index/FieldInfos;
    flags: (0x0001) ACC_PUBLIC

  public final org.apache.lucene.codecs.StoredFieldsReader[] storedFieldsReaders;
    descriptor: [Lorg/apache/lucene/codecs/StoredFieldsReader;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL

  public final org.apache.lucene.codecs.TermVectorsReader[] termVectorsReaders;
    descriptor: [Lorg/apache/lucene/codecs/TermVectorsReader;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL

  public final org.apache.lucene.codecs.NormsProducer[] normsProducers;
    descriptor: [Lorg/apache/lucene/codecs/NormsProducer;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL

  public final org.apache.lucene.codecs.DocValuesProducer[] docValuesProducers;
    descriptor: [Lorg/apache/lucene/codecs/DocValuesProducer;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL

  public final org.apache.lucene.index.FieldInfos[] fieldInfos;
    descriptor: [Lorg/apache/lucene/index/FieldInfos;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL

  public final org.apache.lucene.util.Bits[] liveDocs;
    descriptor: [Lorg/apache/lucene/util/Bits;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL

  public final org.apache.lucene.codecs.FieldsProducer[] fieldsProducers;
    descriptor: [Lorg/apache/lucene/codecs/FieldsProducer;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL

  public final org.apache.lucene.codecs.PointsReader[] pointsReaders;
    descriptor: [Lorg/apache/lucene/codecs/PointsReader;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL

  public final int[] maxDocs;
    descriptor: [I
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL

  public final org.apache.lucene.util.InfoStream infoStream;
    descriptor: Lorg/apache/lucene/util/InfoStream;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL

  public boolean needsIndexSort;
    descriptor: Z
    flags: (0x0001) ACC_PUBLIC

  void <init>(java.util.List<org.apache.lucene.index.CodecReader>, org.apache.lucene.index.SegmentInfo, org.apache.lucene.util.InfoStream);
    descriptor: (Ljava/util/List;Lorg/apache/lucene/index/SegmentInfo;Lorg/apache/lucene/util/InfoStream;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=10, args_size=4
        start local 0 // org.apache.lucene.index.MergeState this
        start local 1 // java.util.List originalReaders
        start local 2 // org.apache.lucene.index.SegmentInfo segmentInfo
        start local 3 // org.apache.lucene.util.InfoStream infoStream
         0: .line 90
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 92
            aload 0 /* this */
            aload 3 /* infoStream */
            putfield org.apache.lucene.index.MergeState.infoStream:Lorg/apache/lucene/util/InfoStream;
         2: .line 94
            aload 2 /* segmentInfo */
            invokevirtual org.apache.lucene.index.SegmentInfo.getIndexSort:()Lorg/apache/lucene/search/Sort;
            astore 4 /* indexSort */
        start local 4 // org.apache.lucene.search.Sort indexSort
         3: .line 95
            aload 1 /* originalReaders */
            invokeinterface java.util.List.size:()I
            istore 5 /* numReaders */
        start local 5 // int numReaders
         4: .line 96
            aload 0 /* this */
            iload 5 /* numReaders */
            anewarray org.apache.lucene.index.MergeState$DocMap
            putfield org.apache.lucene.index.MergeState.leafDocMaps:[Lorg/apache/lucene/index/MergeState$DocMap;
         5: .line 97
            aload 0 /* this */
            aload 1 /* originalReaders */
            aload 2 /* segmentInfo */
            invokevirtual org.apache.lucene.index.MergeState.maybeSortReaders:(Ljava/util/List;Lorg/apache/lucene/index/SegmentInfo;)Ljava/util/List;
            astore 6 /* readers */
        start local 6 // java.util.List readers
         6: .line 99
            aload 0 /* this */
            iload 5 /* numReaders */
            newarray 10
            putfield org.apache.lucene.index.MergeState.maxDocs:[I
         7: .line 100
            aload 0 /* this */
            iload 5 /* numReaders */
            anewarray org.apache.lucene.codecs.FieldsProducer
            putfield org.apache.lucene.index.MergeState.fieldsProducers:[Lorg/apache/lucene/codecs/FieldsProducer;
         8: .line 101
            aload 0 /* this */
            iload 5 /* numReaders */
            anewarray org.apache.lucene.codecs.NormsProducer
            putfield org.apache.lucene.index.MergeState.normsProducers:[Lorg/apache/lucene/codecs/NormsProducer;
         9: .line 102
            aload 0 /* this */
            iload 5 /* numReaders */
            anewarray org.apache.lucene.codecs.StoredFieldsReader
            putfield org.apache.lucene.index.MergeState.storedFieldsReaders:[Lorg/apache/lucene/codecs/StoredFieldsReader;
        10: .line 103
            aload 0 /* this */
            iload 5 /* numReaders */
            anewarray org.apache.lucene.codecs.TermVectorsReader
            putfield org.apache.lucene.index.MergeState.termVectorsReaders:[Lorg/apache/lucene/codecs/TermVectorsReader;
        11: .line 104
            aload 0 /* this */
            iload 5 /* numReaders */
            anewarray org.apache.lucene.codecs.DocValuesProducer
            putfield org.apache.lucene.index.MergeState.docValuesProducers:[Lorg/apache/lucene/codecs/DocValuesProducer;
        12: .line 105
            aload 0 /* this */
            iload 5 /* numReaders */
            anewarray org.apache.lucene.codecs.PointsReader
            putfield org.apache.lucene.index.MergeState.pointsReaders:[Lorg/apache/lucene/codecs/PointsReader;
        13: .line 106
            aload 0 /* this */
            iload 5 /* numReaders */
            anewarray org.apache.lucene.index.FieldInfos
            putfield org.apache.lucene.index.MergeState.fieldInfos:[Lorg/apache/lucene/index/FieldInfos;
        14: .line 107
            aload 0 /* this */
            iload 5 /* numReaders */
            anewarray org.apache.lucene.util.Bits
            putfield org.apache.lucene.index.MergeState.liveDocs:[Lorg/apache/lucene/util/Bits;
        15: .line 109
            iconst_0
            istore 7 /* numDocs */
        start local 7 // int numDocs
        16: .line 110
            iconst_0
            istore 8 /* i */
        start local 8 // int i
        17: goto 40
        18: .line 111
      StackMap locals: org.apache.lucene.index.MergeState java.util.List org.apache.lucene.index.SegmentInfo org.apache.lucene.util.InfoStream org.apache.lucene.search.Sort int java.util.List int int
      StackMap stack:
            aload 6 /* readers */
            iload 8 /* i */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.apache.lucene.index.CodecReader
            astore 9 /* reader */
        start local 9 // org.apache.lucene.index.CodecReader reader
        19: .line 113
            aload 0 /* this */
            getfield org.apache.lucene.index.MergeState.maxDocs:[I
            iload 8 /* i */
            aload 9 /* reader */
            invokevirtual org.apache.lucene.index.CodecReader.maxDoc:()I
            iastore
        20: .line 114
            aload 0 /* this */
            getfield org.apache.lucene.index.MergeState.liveDocs:[Lorg/apache/lucene/util/Bits;
            iload 8 /* i */
            aload 9 /* reader */
            invokevirtual org.apache.lucene.index.CodecReader.getLiveDocs:()Lorg/apache/lucene/util/Bits;
            aastore
        21: .line 115
            aload 0 /* this */
            getfield org.apache.lucene.index.MergeState.fieldInfos:[Lorg/apache/lucene/index/FieldInfos;
            iload 8 /* i */
            aload 9 /* reader */
            invokevirtual org.apache.lucene.index.CodecReader.getFieldInfos:()Lorg/apache/lucene/index/FieldInfos;
            aastore
        22: .line 117
            aload 0 /* this */
            getfield org.apache.lucene.index.MergeState.normsProducers:[Lorg/apache/lucene/codecs/NormsProducer;
            iload 8 /* i */
            aload 9 /* reader */
            invokevirtual org.apache.lucene.index.CodecReader.getNormsReader:()Lorg/apache/lucene/codecs/NormsProducer;
            aastore
        23: .line 118
            aload 0 /* this */
            getfield org.apache.lucene.index.MergeState.normsProducers:[Lorg/apache/lucene/codecs/NormsProducer;
            iload 8 /* i */
            aaload
            ifnull 25
        24: .line 119
            aload 0 /* this */
            getfield org.apache.lucene.index.MergeState.normsProducers:[Lorg/apache/lucene/codecs/NormsProducer;
            iload 8 /* i */
            aload 0 /* this */
            getfield org.apache.lucene.index.MergeState.normsProducers:[Lorg/apache/lucene/codecs/NormsProducer;
            iload 8 /* i */
            aaload
            invokevirtual org.apache.lucene.codecs.NormsProducer.getMergeInstance:()Lorg/apache/lucene/codecs/NormsProducer;
            aastore
        25: .line 122
      StackMap locals: org.apache.lucene.index.CodecReader
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.index.MergeState.docValuesProducers:[Lorg/apache/lucene/codecs/DocValuesProducer;
            iload 8 /* i */
            aload 9 /* reader */
            invokevirtual org.apache.lucene.index.CodecReader.getDocValuesReader:()Lorg/apache/lucene/codecs/DocValuesProducer;
            aastore
        26: .line 123
            aload 0 /* this */
            getfield org.apache.lucene.index.MergeState.docValuesProducers:[Lorg/apache/lucene/codecs/DocValuesProducer;
            iload 8 /* i */
            aaload
            ifnull 28
        27: .line 124
            aload 0 /* this */
            getfield org.apache.lucene.index.MergeState.docValuesProducers:[Lorg/apache/lucene/codecs/DocValuesProducer;
            iload 8 /* i */
            aload 0 /* this */
            getfield org.apache.lucene.index.MergeState.docValuesProducers:[Lorg/apache/lucene/codecs/DocValuesProducer;
            iload 8 /* i */
            aaload
            invokevirtual org.apache.lucene.codecs.DocValuesProducer.getMergeInstance:()Lorg/apache/lucene/codecs/DocValuesProducer;
            aastore
        28: .line 127
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.index.MergeState.storedFieldsReaders:[Lorg/apache/lucene/codecs/StoredFieldsReader;
            iload 8 /* i */
            aload 9 /* reader */
            invokevirtual org.apache.lucene.index.CodecReader.getFieldsReader:()Lorg/apache/lucene/codecs/StoredFieldsReader;
            aastore
        29: .line 128
            aload 0 /* this */
            getfield org.apache.lucene.index.MergeState.storedFieldsReaders:[Lorg/apache/lucene/codecs/StoredFieldsReader;
            iload 8 /* i */
            aaload
            ifnull 31
        30: .line 129
            aload 0 /* this */
            getfield org.apache.lucene.index.MergeState.storedFieldsReaders:[Lorg/apache/lucene/codecs/StoredFieldsReader;
            iload 8 /* i */
            aload 0 /* this */
            getfield org.apache.lucene.index.MergeState.storedFieldsReaders:[Lorg/apache/lucene/codecs/StoredFieldsReader;
            iload 8 /* i */
            aaload
            invokevirtual org.apache.lucene.codecs.StoredFieldsReader.getMergeInstance:()Lorg/apache/lucene/codecs/StoredFieldsReader;
            aastore
        31: .line 132
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.index.MergeState.termVectorsReaders:[Lorg/apache/lucene/codecs/TermVectorsReader;
            iload 8 /* i */
            aload 9 /* reader */
            invokevirtual org.apache.lucene.index.CodecReader.getTermVectorsReader:()Lorg/apache/lucene/codecs/TermVectorsReader;
            aastore
        32: .line 133
            aload 0 /* this */
            getfield org.apache.lucene.index.MergeState.termVectorsReaders:[Lorg/apache/lucene/codecs/TermVectorsReader;
            iload 8 /* i */
            aaload
            ifnull 34
        33: .line 134
            aload 0 /* this */
            getfield org.apache.lucene.index.MergeState.termVectorsReaders:[Lorg/apache/lucene/codecs/TermVectorsReader;
            iload 8 /* i */
            aload 0 /* this */
            getfield org.apache.lucene.index.MergeState.termVectorsReaders:[Lorg/apache/lucene/codecs/TermVectorsReader;
            iload 8 /* i */
            aaload
            invokevirtual org.apache.lucene.codecs.TermVectorsReader.getMergeInstance:()Lorg/apache/lucene/codecs/TermVectorsReader;
            aastore
        34: .line 137
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.index.MergeState.fieldsProducers:[Lorg/apache/lucene/codecs/FieldsProducer;
            iload 8 /* i */
            aload 9 /* reader */
            invokevirtual org.apache.lucene.index.CodecReader.getPostingsReader:()Lorg/apache/lucene/codecs/FieldsProducer;
            invokevirtual org.apache.lucene.codecs.FieldsProducer.getMergeInstance:()Lorg/apache/lucene/codecs/FieldsProducer;
            aastore
        35: .line 138
            aload 0 /* this */
            getfield org.apache.lucene.index.MergeState.pointsReaders:[Lorg/apache/lucene/codecs/PointsReader;
            iload 8 /* i */
            aload 9 /* reader */
            invokevirtual org.apache.lucene.index.CodecReader.getPointsReader:()Lorg/apache/lucene/codecs/PointsReader;
            aastore
        36: .line 139
            aload 0 /* this */
            getfield org.apache.lucene.index.MergeState.pointsReaders:[Lorg/apache/lucene/codecs/PointsReader;
            iload 8 /* i */
            aaload
            ifnull 38
        37: .line 140
            aload 0 /* this */
            getfield org.apache.lucene.index.MergeState.pointsReaders:[Lorg/apache/lucene/codecs/PointsReader;
            iload 8 /* i */
            aload 0 /* this */
            getfield org.apache.lucene.index.MergeState.pointsReaders:[Lorg/apache/lucene/codecs/PointsReader;
            iload 8 /* i */
            aaload
            invokevirtual org.apache.lucene.codecs.PointsReader.getMergeInstance:()Lorg/apache/lucene/codecs/PointsReader;
            aastore
        38: .line 142
      StackMap locals:
      StackMap stack:
            iload 7 /* numDocs */
            aload 9 /* reader */
            invokevirtual org.apache.lucene.index.CodecReader.numDocs:()I
            iadd
            istore 7 /* numDocs */
        end local 9 // org.apache.lucene.index.CodecReader reader
        39: .line 110
            iinc 8 /* i */ 1
      StackMap locals:
      StackMap stack:
        40: iload 8 /* i */
            iload 5 /* numReaders */
            if_icmplt 18
        end local 8 // int i
        41: .line 145
            aload 2 /* segmentInfo */
            iload 7 /* numDocs */
            invokevirtual org.apache.lucene.index.SegmentInfo.setMaxDoc:(I)V
        42: .line 147
            aload 0 /* this */
            aload 2 /* segmentInfo */
            putfield org.apache.lucene.index.MergeState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
        43: .line 148
            aload 0 /* this */
            aload 0 /* this */
            aload 6 /* readers */
            aload 4 /* indexSort */
            invokevirtual org.apache.lucene.index.MergeState.buildDocMaps:(Ljava/util/List;Lorg/apache/lucene/search/Sort;)[Lorg/apache/lucene/index/MergeState$DocMap;
            putfield org.apache.lucene.index.MergeState.docMaps:[Lorg/apache/lucene/index/MergeState$DocMap;
        44: .line 149
            return
        end local 7 // int numDocs
        end local 6 // java.util.List readers
        end local 5 // int numReaders
        end local 4 // org.apache.lucene.search.Sort indexSort
        end local 3 // org.apache.lucene.util.InfoStream infoStream
        end local 2 // org.apache.lucene.index.SegmentInfo segmentInfo
        end local 1 // java.util.List originalReaders
        end local 0 // org.apache.lucene.index.MergeState this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   45     0             this  Lorg/apache/lucene/index/MergeState;
            0   45     1  originalReaders  Ljava/util/List<Lorg/apache/lucene/index/CodecReader;>;
            0   45     2      segmentInfo  Lorg/apache/lucene/index/SegmentInfo;
            0   45     3       infoStream  Lorg/apache/lucene/util/InfoStream;
            3   45     4        indexSort  Lorg/apache/lucene/search/Sort;
            4   45     5       numReaders  I
            6   45     6          readers  Ljava/util/List<Lorg/apache/lucene/index/CodecReader;>;
           16   45     7          numDocs  I
           17   41     8                i  I
           19   39     9           reader  Lorg/apache/lucene/index/CodecReader;
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/util/List<Lorg/apache/lucene/index/CodecReader;>;Lorg/apache/lucene/index/SegmentInfo;Lorg/apache/lucene/util/InfoStream;)V
    MethodParameters:
                 Name  Flags
      originalReaders  
      segmentInfo      
      infoStream       

  private org.apache.lucene.index.MergeState$DocMap[] buildDeletionDocMaps(java.util.List<org.apache.lucene.index.CodecReader>);
    descriptor: (Ljava/util/List;)[Lorg/apache/lucene/index/MergeState$DocMap;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=8, locals=10, args_size=2
        start local 0 // org.apache.lucene.index.MergeState this
        start local 1 // java.util.List readers
         0: .line 154
            iconst_0
            istore 2 /* totalDocs */
        start local 2 // int totalDocs
         1: .line 155
            aload 1 /* readers */
            invokeinterface java.util.List.size:()I
            istore 3 /* numReaders */
        start local 3 // int numReaders
         2: .line 156
            iload 3 /* numReaders */
            anewarray org.apache.lucene.index.MergeState$DocMap
            astore 4 /* docMaps */
        start local 4 // org.apache.lucene.index.MergeState$DocMap[] docMaps
         3: .line 158
            iconst_0
            istore 5 /* i */
        start local 5 // int i
         4: goto 15
         5: .line 159
      StackMap locals: org.apache.lucene.index.MergeState java.util.List int int org.apache.lucene.index.MergeState$DocMap[] int
      StackMap stack:
            aload 1 /* readers */
            iload 5 /* i */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.apache.lucene.index.LeafReader
            astore 6 /* reader */
        start local 6 // org.apache.lucene.index.LeafReader reader
         6: .line 160
            aload 6 /* reader */
            invokevirtual org.apache.lucene.index.LeafReader.getLiveDocs:()Lorg/apache/lucene/util/Bits;
            astore 7 /* liveDocs */
        start local 7 // org.apache.lucene.util.Bits liveDocs
         7: .line 163
            aload 7 /* liveDocs */
            ifnull 10
         8: .line 164
            aload 6 /* reader */
            invokevirtual org.apache.lucene.index.LeafReader.maxDoc:()I
            aload 7 /* liveDocs */
            invokestatic org.apache.lucene.index.MergeState.removeDeletes:(ILorg/apache/lucene/util/Bits;)Lorg/apache/lucene/util/packed/PackedLongValues;
            astore 8 /* delDocMap */
        start local 8 // org.apache.lucene.util.packed.PackedLongValues delDocMap
         9: .line 165
            goto 11
        end local 8 // org.apache.lucene.util.packed.PackedLongValues delDocMap
        10: .line 166
      StackMap locals: org.apache.lucene.index.LeafReader org.apache.lucene.util.Bits
      StackMap stack:
            aconst_null
            astore 8 /* delDocMap */
        start local 8 // org.apache.lucene.util.packed.PackedLongValues delDocMap
        11: .line 169
      StackMap locals: org.apache.lucene.util.packed.PackedLongValues
      StackMap stack:
            iload 2 /* totalDocs */
            istore 9 /* docBase */
        start local 9 // int docBase
        12: .line 170
            aload 4 /* docMaps */
            iload 5 /* i */
            new org.apache.lucene.index.MergeState$1
            dup
            aload 0 /* this */
            aload 7 /* liveDocs */
            iload 9 /* docBase */
            aload 8 /* delDocMap */
            invokespecial org.apache.lucene.index.MergeState$1.<init>:(Lorg/apache/lucene/index/MergeState;Lorg/apache/lucene/util/Bits;ILorg/apache/lucene/util/packed/PackedLongValues;)V
            aastore
        13: .line 182
            iload 2 /* totalDocs */
            aload 6 /* reader */
            invokevirtual org.apache.lucene.index.LeafReader.numDocs:()I
            iadd
            istore 2 /* totalDocs */
        end local 9 // int docBase
        end local 8 // org.apache.lucene.util.packed.PackedLongValues delDocMap
        end local 7 // org.apache.lucene.util.Bits liveDocs
        end local 6 // org.apache.lucene.index.LeafReader reader
        14: .line 158
            iinc 5 /* i */ 1
      StackMap locals:
      StackMap stack:
        15: iload 5 /* i */
            iload 3 /* numReaders */
            if_icmplt 5
        end local 5 // int i
        16: .line 185
            aload 4 /* docMaps */
            areturn
        end local 4 // org.apache.lucene.index.MergeState$DocMap[] docMaps
        end local 3 // int numReaders
        end local 2 // int totalDocs
        end local 1 // java.util.List readers
        end local 0 // org.apache.lucene.index.MergeState this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   17     0        this  Lorg/apache/lucene/index/MergeState;
            0   17     1     readers  Ljava/util/List<Lorg/apache/lucene/index/CodecReader;>;
            1   17     2   totalDocs  I
            2   17     3  numReaders  I
            3   17     4     docMaps  [Lorg/apache/lucene/index/MergeState$DocMap;
            4   16     5           i  I
            6   14     6      reader  Lorg/apache/lucene/index/LeafReader;
            7   14     7    liveDocs  Lorg/apache/lucene/util/Bits;
            9   10     8   delDocMap  Lorg/apache/lucene/util/packed/PackedLongValues;
           11   14     8   delDocMap  Lorg/apache/lucene/util/packed/PackedLongValues;
           12   14     9     docBase  I
    Signature: (Ljava/util/List<Lorg/apache/lucene/index/CodecReader;>;)[Lorg/apache/lucene/index/MergeState$DocMap;
    MethodParameters:
         Name  Flags
      readers  

  private org.apache.lucene.index.MergeState$DocMap[] buildDocMaps(java.util.List<org.apache.lucene.index.CodecReader>, org.apache.lucene.search.Sort);
    descriptor: (Ljava/util/List;Lorg/apache/lucene/search/Sort;)[Lorg/apache/lucene/index/MergeState$DocMap;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=11, locals=8, args_size=3
        start local 0 // org.apache.lucene.index.MergeState this
        start local 1 // java.util.List readers
        start local 2 // org.apache.lucene.search.Sort indexSort
         0: .line 190
            aload 2 /* indexSort */
            ifnonnull 2
         1: .line 192
            aload 0 /* this */
            aload 1 /* readers */
            invokevirtual org.apache.lucene.index.MergeState.buildDeletionDocMaps:(Ljava/util/List;)[Lorg/apache/lucene/index/MergeState$DocMap;
            areturn
         2: .line 195
      StackMap locals:
      StackMap stack:
            invokestatic java.lang.System.nanoTime:()J
            lstore 3 /* t0 */
        start local 3 // long t0
         3: .line 196
            aload 2 /* indexSort */
            aload 1 /* readers */
            invokestatic org.apache.lucene.index.MultiSorter.sort:(Lorg/apache/lucene/search/Sort;Ljava/util/List;)[Lorg/apache/lucene/index/MergeState$DocMap;
            astore 5 /* result */
        start local 5 // org.apache.lucene.index.MergeState$DocMap[] result
         4: .line 197
            aload 5 /* result */
            ifnonnull 6
         5: .line 199
            aload 0 /* this */
            aload 1 /* readers */
            invokevirtual org.apache.lucene.index.MergeState.buildDeletionDocMaps:(Ljava/util/List;)[Lorg/apache/lucene/index/MergeState$DocMap;
            areturn
         6: .line 201
      StackMap locals: long org.apache.lucene.index.MergeState$DocMap[]
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield org.apache.lucene.index.MergeState.needsIndexSort:Z
         7: .line 203
            invokestatic java.lang.System.nanoTime:()J
            lstore 6 /* t1 */
        start local 6 // long t1
         8: .line 204
            aload 0 /* this */
            getfield org.apache.lucene.index.MergeState.infoStream:Lorg/apache/lucene/util/InfoStream;
            ldc "SM"
            invokevirtual org.apache.lucene.util.InfoStream.isEnabled:(Ljava/lang/String;)Z
            ifeq 10
         9: .line 205
            aload 0 /* this */
            getfield org.apache.lucene.index.MergeState.infoStream:Lorg/apache/lucene/util/InfoStream;
            ldc "SM"
            getstatic java.util.Locale.ROOT:Ljava/util/Locale;
            ldc "%.2f msec to build merge sorted DocMaps"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            lload 6 /* t1 */
            lload 3 /* t0 */
            lsub
            l2d
            ldc 1000000.0
            ddiv
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            aastore
            invokestatic java.lang.String.format:(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
        10: .line 207
      StackMap locals: long
      StackMap stack:
            aload 5 /* result */
            areturn
        end local 6 // long t1
        end local 5 // org.apache.lucene.index.MergeState$DocMap[] result
        end local 3 // long t0
        end local 2 // org.apache.lucene.search.Sort indexSort
        end local 1 // java.util.List readers
        end local 0 // org.apache.lucene.index.MergeState this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   11     0       this  Lorg/apache/lucene/index/MergeState;
            0   11     1    readers  Ljava/util/List<Lorg/apache/lucene/index/CodecReader;>;
            0   11     2  indexSort  Lorg/apache/lucene/search/Sort;
            3   11     3         t0  J
            4   11     5     result  [Lorg/apache/lucene/index/MergeState$DocMap;
            8   11     6         t1  J
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/util/List<Lorg/apache/lucene/index/CodecReader;>;Lorg/apache/lucene/search/Sort;)[Lorg/apache/lucene/index/MergeState$DocMap;
    MethodParameters:
           Name  Flags
      readers    
      indexSort  

  private java.util.List<org.apache.lucene.index.CodecReader> maybeSortReaders(java.util.List<org.apache.lucene.index.CodecReader>, org.apache.lucene.index.SegmentInfo);
    descriptor: (Ljava/util/List;Lorg/apache/lucene/index/SegmentInfo;)Ljava/util/List;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=8, args_size=3
        start local 0 // org.apache.lucene.index.MergeState this
        start local 1 // java.util.List originalReaders
        start local 2 // org.apache.lucene.index.SegmentInfo segmentInfo
         0: .line 214
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         1: goto 4
         2: .line 215
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.index.MergeState.leafDocMaps:[Lorg/apache/lucene/index/MergeState$DocMap;
            iload 3 /* i */
            new org.apache.lucene.index.MergeState$2
            dup
            aload 0 /* this */
            invokespecial org.apache.lucene.index.MergeState$2.<init>:(Lorg/apache/lucene/index/MergeState;)V
            aastore
         3: .line 214
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
         4: iload 3 /* i */
            aload 1 /* originalReaders */
            invokeinterface java.util.List.size:()I
            if_icmplt 2
        end local 3 // int i
         5: .line 223
            aload 2 /* segmentInfo */
            invokevirtual org.apache.lucene.index.SegmentInfo.getIndexSort:()Lorg/apache/lucene/search/Sort;
            astore 3 /* indexSort */
        start local 3 // org.apache.lucene.search.Sort indexSort
         6: .line 224
            aload 3 /* indexSort */
            ifnonnull 8
         7: .line 225
            aload 1 /* originalReaders */
            areturn
         8: .line 228
      StackMap locals: org.apache.lucene.index.MergeState java.util.List org.apache.lucene.index.SegmentInfo org.apache.lucene.search.Sort
      StackMap stack:
            new java.util.ArrayList
            dup
            aload 1 /* originalReaders */
            invokeinterface java.util.List.size:()I
            invokespecial java.util.ArrayList.<init>:(I)V
            astore 4 /* readers */
        start local 4 // java.util.List readers
         9: .line 230
            aload 1 /* originalReaders */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 6
            goto 19
      StackMap locals: org.apache.lucene.index.MergeState java.util.List org.apache.lucene.index.SegmentInfo org.apache.lucene.search.Sort java.util.List top java.util.Iterator
      StackMap stack:
        10: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.apache.lucene.index.CodecReader
            astore 5 /* leaf */
        start local 5 // org.apache.lucene.index.CodecReader leaf
        11: .line 231
            aload 5 /* leaf */
            invokevirtual org.apache.lucene.index.CodecReader.getMetaData:()Lorg/apache/lucene/index/LeafMetaData;
            invokevirtual org.apache.lucene.index.LeafMetaData.getSort:()Lorg/apache/lucene/search/Sort;
            astore 7 /* segmentSort */
        start local 7 // org.apache.lucene.search.Sort segmentSort
        12: .line 232
            aload 7 /* segmentSort */
            ifnull 13
            aload 3 /* indexSort */
            aload 7 /* segmentSort */
            invokestatic org.apache.lucene.index.IndexWriter.isCongruentSort:(Lorg/apache/lucene/search/Sort;Lorg/apache/lucene/search/Sort;)Z
            ifne 18
        13: .line 233
      StackMap locals: org.apache.lucene.index.MergeState java.util.List org.apache.lucene.index.SegmentInfo org.apache.lucene.search.Sort java.util.List org.apache.lucene.index.CodecReader java.util.Iterator org.apache.lucene.search.Sort
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "index sort mismatch: merged segment has sort="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 3 /* indexSort */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
        14: .line 234
            ldc " but to-be-merged segment has sort="
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 7 /* segmentSort */
            ifnonnull 15
            ldc "null"
            goto 16
      StackMap locals: org.apache.lucene.index.MergeState java.util.List org.apache.lucene.index.SegmentInfo org.apache.lucene.search.Sort java.util.List org.apache.lucene.index.CodecReader java.util.Iterator org.apache.lucene.search.Sort
      StackMap stack: new 13 new 13 java.lang.StringBuilder
        15: aload 7 /* segmentSort */
      StackMap locals: org.apache.lucene.index.MergeState java.util.List org.apache.lucene.index.SegmentInfo org.apache.lucene.search.Sort java.util.List org.apache.lucene.index.CodecReader java.util.Iterator org.apache.lucene.search.Sort
      StackMap stack: new 13 new 13 java.lang.StringBuilder java.lang.Object
        16: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        17: .line 233
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        18: .line 236
      StackMap locals:
      StackMap stack:
            aload 4 /* readers */
            aload 5 /* leaf */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 7 // org.apache.lucene.search.Sort segmentSort
        end local 5 // org.apache.lucene.index.CodecReader leaf
        19: .line 230
      StackMap locals: org.apache.lucene.index.MergeState java.util.List org.apache.lucene.index.SegmentInfo org.apache.lucene.search.Sort java.util.List top java.util.Iterator
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 10
        20: .line 239
            aload 4 /* readers */
            areturn
        end local 4 // java.util.List readers
        end local 3 // org.apache.lucene.search.Sort indexSort
        end local 2 // org.apache.lucene.index.SegmentInfo segmentInfo
        end local 1 // java.util.List originalReaders
        end local 0 // org.apache.lucene.index.MergeState this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   21     0             this  Lorg/apache/lucene/index/MergeState;
            0   21     1  originalReaders  Ljava/util/List<Lorg/apache/lucene/index/CodecReader;>;
            0   21     2      segmentInfo  Lorg/apache/lucene/index/SegmentInfo;
            1    5     3                i  I
            6   21     3        indexSort  Lorg/apache/lucene/search/Sort;
            9   21     4          readers  Ljava/util/List<Lorg/apache/lucene/index/CodecReader;>;
           11   19     5             leaf  Lorg/apache/lucene/index/CodecReader;
           12   19     7      segmentSort  Lorg/apache/lucene/search/Sort;
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/util/List<Lorg/apache/lucene/index/CodecReader;>;Lorg/apache/lucene/index/SegmentInfo;)Ljava/util/List<Lorg/apache/lucene/index/CodecReader;>;
    MethodParameters:
                 Name  Flags
      originalReaders  
      segmentInfo      

  static org.apache.lucene.util.packed.PackedLongValues removeDeletes(int, org.apache.lucene.util.Bits);
    descriptor: (ILorg/apache/lucene/util/Bits;)Lorg/apache/lucene/util/packed/PackedLongValues;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=5, args_size=2
        start local 0 // int maxDoc
        start local 1 // org.apache.lucene.util.Bits liveDocs
         0: .line 253
            fconst_0
            invokestatic org.apache.lucene.util.packed.PackedLongValues.monotonicBuilder:(F)Lorg/apache/lucene/util/packed/PackedLongValues$Builder;
            astore 2 /* docMapBuilder */
        start local 2 // org.apache.lucene.util.packed.PackedLongValues$Builder docMapBuilder
         1: .line 254
            iconst_0
            istore 3 /* del */
        start local 3 // int del
         2: .line 255
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         3: goto 8
         4: .line 256
      StackMap locals: org.apache.lucene.util.packed.PackedLongValues$Builder int int
      StackMap stack:
            aload 2 /* docMapBuilder */
            iload 4 /* i */
            iload 3 /* del */
            isub
            i2l
            invokevirtual org.apache.lucene.util.packed.PackedLongValues$Builder.add:(J)Lorg/apache/lucene/util/packed/PackedLongValues$Builder;
            pop
         5: .line 257
            aload 1 /* liveDocs */
            iload 4 /* i */
            invokeinterface org.apache.lucene.util.Bits.get:(I)Z
            ifne 7
         6: .line 258
            iinc 3 /* del */ 1
         7: .line 255
      StackMap locals:
      StackMap stack:
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
         8: iload 4 /* i */
            iload 0 /* maxDoc */
            if_icmplt 4
        end local 4 // int i
         9: .line 261
            aload 2 /* docMapBuilder */
            invokevirtual org.apache.lucene.util.packed.PackedLongValues$Builder.build:()Lorg/apache/lucene/util/packed/PackedLongValues;
            areturn
        end local 3 // int del
        end local 2 // org.apache.lucene.util.packed.PackedLongValues$Builder docMapBuilder
        end local 1 // org.apache.lucene.util.Bits liveDocs
        end local 0 // int maxDoc
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   10     0         maxDoc  I
            0   10     1       liveDocs  Lorg/apache/lucene/util/Bits;
            1   10     2  docMapBuilder  Lorg/apache/lucene/util/packed/PackedLongValues$Builder;
            2   10     3            del  I
            3    9     4              i  I
    MethodParameters:
          Name  Flags
      maxDoc    final
      liveDocs  final
}
SourceFile: "MergeState.java"
NestMembers:
  org.apache.lucene.index.MergeState$1  org.apache.lucene.index.MergeState$2  org.apache.lucene.index.MergeState$DocMap
InnerClasses:
  org.apache.lucene.index.MergeState$1
  org.apache.lucene.index.MergeState$2
  public abstract DocMap = org.apache.lucene.index.MergeState$DocMap of org.apache.lucene.index.MergeState
  public Builder = org.apache.lucene.util.packed.PackedLongValues$Builder of org.apache.lucene.util.packed.PackedLongValues