class org.apache.lucene.index.NormValuesWriter
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.apache.lucene.index.NormValuesWriter
  super_class: java.lang.Object
{
  private org.apache.lucene.index.DocsWithFieldSet docsWithField;
    descriptor: Lorg/apache/lucene/index/DocsWithFieldSet;
    flags: (0x0002) ACC_PRIVATE

  private org.apache.lucene.util.packed.PackedLongValues$Builder pending;
    descriptor: Lorg/apache/lucene/util/packed/PackedLongValues$Builder;
    flags: (0x0002) ACC_PRIVATE

  private final org.apache.lucene.util.Counter iwBytesUsed;
    descriptor: Lorg/apache/lucene/util/Counter;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private long bytesUsed;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private final org.apache.lucene.index.FieldInfo fieldInfo;
    descriptor: Lorg/apache/lucene/index/FieldInfo;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private int lastDocID;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  public void <init>(org.apache.lucene.index.FieldInfo, org.apache.lucene.util.Counter);
    descriptor: (Lorg/apache/lucene/index/FieldInfo;Lorg/apache/lucene/util/Counter;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // org.apache.lucene.index.NormValuesWriter this
        start local 1 // org.apache.lucene.index.FieldInfo fieldInfo
        start local 2 // org.apache.lucene.util.Counter iwBytesUsed
         0: .line 40
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 38
            aload 0 /* this */
            iconst_m1
            putfield org.apache.lucene.index.NormValuesWriter.lastDocID:I
         2: .line 41
            aload 0 /* this */
            new org.apache.lucene.index.DocsWithFieldSet
            dup
            invokespecial org.apache.lucene.index.DocsWithFieldSet.<init>:()V
            putfield org.apache.lucene.index.NormValuesWriter.docsWithField:Lorg/apache/lucene/index/DocsWithFieldSet;
         3: .line 42
            aload 0 /* this */
            fconst_0
            invokestatic org.apache.lucene.util.packed.PackedLongValues.deltaPackedBuilder:(F)Lorg/apache/lucene/util/packed/PackedLongValues$Builder;
            putfield org.apache.lucene.index.NormValuesWriter.pending:Lorg/apache/lucene/util/packed/PackedLongValues$Builder;
         4: .line 43
            aload 0 /* this */
            aload 0 /* this */
            getfield org.apache.lucene.index.NormValuesWriter.pending:Lorg/apache/lucene/util/packed/PackedLongValues$Builder;
            invokevirtual org.apache.lucene.util.packed.PackedLongValues$Builder.ramBytesUsed:()J
            aload 0 /* this */
            getfield org.apache.lucene.index.NormValuesWriter.docsWithField:Lorg/apache/lucene/index/DocsWithFieldSet;
            invokevirtual org.apache.lucene.index.DocsWithFieldSet.ramBytesUsed:()J
            ladd
            putfield org.apache.lucene.index.NormValuesWriter.bytesUsed:J
         5: .line 44
            aload 0 /* this */
            aload 1 /* fieldInfo */
            putfield org.apache.lucene.index.NormValuesWriter.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
         6: .line 45
            aload 0 /* this */
            aload 2 /* iwBytesUsed */
            putfield org.apache.lucene.index.NormValuesWriter.iwBytesUsed:Lorg/apache/lucene/util/Counter;
         7: .line 46
            aload 2 /* iwBytesUsed */
            aload 0 /* this */
            getfield org.apache.lucene.index.NormValuesWriter.bytesUsed:J
            invokevirtual org.apache.lucene.util.Counter.addAndGet:(J)J
            pop2
         8: .line 47
            return
        end local 2 // org.apache.lucene.util.Counter iwBytesUsed
        end local 1 // org.apache.lucene.index.FieldInfo fieldInfo
        end local 0 // org.apache.lucene.index.NormValuesWriter this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    9     0         this  Lorg/apache/lucene/index/NormValuesWriter;
            0    9     1    fieldInfo  Lorg/apache/lucene/index/FieldInfo;
            0    9     2  iwBytesUsed  Lorg/apache/lucene/util/Counter;
    MethodParameters:
             Name  Flags
      fieldInfo    
      iwBytesUsed  

  public void addValue(int, long);
    descriptor: (IJ)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=3
        start local 0 // org.apache.lucene.index.NormValuesWriter this
        start local 1 // int docID
        start local 2 // long value
         0: .line 50
            iload 1 /* docID */
            aload 0 /* this */
            getfield org.apache.lucene.index.NormValuesWriter.lastDocID:I
            if_icmpgt 2
         1: .line 51
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Norm for \""
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield org.apache.lucene.index.NormValuesWriter.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
            getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "\" appears more than once in this document (only one value is allowed per field)"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 54
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.index.NormValuesWriter.pending:Lorg/apache/lucene/util/packed/PackedLongValues$Builder;
            lload 2 /* value */
            invokevirtual org.apache.lucene.util.packed.PackedLongValues$Builder.add:(J)Lorg/apache/lucene/util/packed/PackedLongValues$Builder;
            pop
         3: .line 55
            aload 0 /* this */
            getfield org.apache.lucene.index.NormValuesWriter.docsWithField:Lorg/apache/lucene/index/DocsWithFieldSet;
            iload 1 /* docID */
            invokevirtual org.apache.lucene.index.DocsWithFieldSet.add:(I)V
         4: .line 57
            aload 0 /* this */
            invokevirtual org.apache.lucene.index.NormValuesWriter.updateBytesUsed:()V
         5: .line 59
            aload 0 /* this */
            iload 1 /* docID */
            putfield org.apache.lucene.index.NormValuesWriter.lastDocID:I
         6: .line 60
            return
        end local 2 // long value
        end local 1 // int docID
        end local 0 // org.apache.lucene.index.NormValuesWriter this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    7     0   this  Lorg/apache/lucene/index/NormValuesWriter;
            0    7     1  docID  I
            0    7     2  value  J
    MethodParameters:
       Name  Flags
      docID  
      value  

  private void updateBytesUsed();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=3, args_size=1
        start local 0 // org.apache.lucene.index.NormValuesWriter this
         0: .line 63
            aload 0 /* this */
            getfield org.apache.lucene.index.NormValuesWriter.pending:Lorg/apache/lucene/util/packed/PackedLongValues$Builder;
            invokevirtual org.apache.lucene.util.packed.PackedLongValues$Builder.ramBytesUsed:()J
            lstore 1 /* newBytesUsed */
        start local 1 // long newBytesUsed
         1: .line 64
            aload 0 /* this */
            getfield org.apache.lucene.index.NormValuesWriter.iwBytesUsed:Lorg/apache/lucene/util/Counter;
            lload 1 /* newBytesUsed */
            aload 0 /* this */
            getfield org.apache.lucene.index.NormValuesWriter.bytesUsed:J
            lsub
            invokevirtual org.apache.lucene.util.Counter.addAndGet:(J)J
            pop2
         2: .line 65
            aload 0 /* this */
            lload 1 /* newBytesUsed */
            putfield org.apache.lucene.index.NormValuesWriter.bytesUsed:J
         3: .line 66
            return
        end local 1 // long newBytesUsed
        end local 0 // org.apache.lucene.index.NormValuesWriter this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    4     0          this  Lorg/apache/lucene/index/NormValuesWriter;
            1    4     1  newBytesUsed  J

  public void finish(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=0, locals=2, args_size=2
        start local 0 // org.apache.lucene.index.NormValuesWriter this
        start local 1 // int maxDoc
         0: .line 69
            return
        end local 1 // int maxDoc
        end local 0 // org.apache.lucene.index.NormValuesWriter this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0    this  Lorg/apache/lucene/index/NormValuesWriter;
            0    1     1  maxDoc  I
    MethodParameters:
        Name  Flags
      maxDoc  

  public void flush(org.apache.lucene.index.SegmentWriteState, org.apache.lucene.index.Sorter$DocMap, org.apache.lucene.codecs.NormsConsumer);
    descriptor: (Lorg/apache/lucene/index/SegmentWriteState;Lorg/apache/lucene/index/Sorter$DocMap;Lorg/apache/lucene/codecs/NormsConsumer;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=6, args_size=4
        start local 0 // org.apache.lucene.index.NormValuesWriter this
        start local 1 // org.apache.lucene.index.SegmentWriteState state
        start local 2 // org.apache.lucene.index.Sorter$DocMap sortMap
        start local 3 // org.apache.lucene.codecs.NormsConsumer normsConsumer
         0: .line 72
            aload 0 /* this */
            getfield org.apache.lucene.index.NormValuesWriter.pending:Lorg/apache/lucene/util/packed/PackedLongValues$Builder;
            invokevirtual org.apache.lucene.util.packed.PackedLongValues$Builder.build:()Lorg/apache/lucene/util/packed/PackedLongValues;
            astore 4 /* values */
        start local 4 // org.apache.lucene.util.packed.PackedLongValues values
         1: .line 74
            aload 2 /* sortMap */
            ifnull 6
         2: .line 75
            aload 1 /* state */
            getfield org.apache.lucene.index.SegmentWriteState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
            invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
            aload 2 /* sortMap */
         3: .line 76
            new org.apache.lucene.index.NormValuesWriter$BufferedNorms
            dup
            aload 4 /* values */
            aload 0 /* this */
            getfield org.apache.lucene.index.NormValuesWriter.docsWithField:Lorg/apache/lucene/index/DocsWithFieldSet;
            invokevirtual org.apache.lucene.index.DocsWithFieldSet.iterator:()Lorg/apache/lucene/search/DocIdSetIterator;
            invokespecial org.apache.lucene.index.NormValuesWriter$BufferedNorms.<init>:(Lorg/apache/lucene/util/packed/PackedLongValues;Lorg/apache/lucene/search/DocIdSetIterator;)V
         4: .line 75
            invokestatic org.apache.lucene.index.NumericDocValuesWriter.sortDocValues:(ILorg/apache/lucene/index/Sorter$DocMap;Lorg/apache/lucene/index/NumericDocValues;)Lorg/apache/lucene/index/NumericDocValuesWriter$NumericDVs;
            astore 5 /* sorted */
        start local 5 // org.apache.lucene.index.NumericDocValuesWriter$NumericDVs sorted
         5: .line 77
            goto 7
        end local 5 // org.apache.lucene.index.NumericDocValuesWriter$NumericDVs sorted
         6: .line 78
      StackMap locals: org.apache.lucene.util.packed.PackedLongValues
      StackMap stack:
            aconst_null
            astore 5 /* sorted */
        start local 5 // org.apache.lucene.index.NumericDocValuesWriter$NumericDVs sorted
         7: .line 80
      StackMap locals: org.apache.lucene.index.NumericDocValuesWriter$NumericDVs
      StackMap stack:
            aload 3 /* normsConsumer */
            aload 0 /* this */
            getfield org.apache.lucene.index.NormValuesWriter.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
         8: .line 81
            new org.apache.lucene.index.NormValuesWriter$1
            dup
            aload 0 /* this */
            aload 5 /* sorted */
            aload 4 /* values */
            invokespecial org.apache.lucene.index.NormValuesWriter$1.<init>:(Lorg/apache/lucene/index/NormValuesWriter;Lorg/apache/lucene/index/NumericDocValuesWriter$NumericDVs;Lorg/apache/lucene/util/packed/PackedLongValues;)V
         9: .line 80
            invokevirtual org.apache.lucene.codecs.NormsConsumer.addNormsField:(Lorg/apache/lucene/index/FieldInfo;Lorg/apache/lucene/codecs/NormsProducer;)V
        10: .line 107
            return
        end local 5 // org.apache.lucene.index.NumericDocValuesWriter$NumericDVs sorted
        end local 4 // org.apache.lucene.util.packed.PackedLongValues values
        end local 3 // org.apache.lucene.codecs.NormsConsumer normsConsumer
        end local 2 // org.apache.lucene.index.Sorter$DocMap sortMap
        end local 1 // org.apache.lucene.index.SegmentWriteState state
        end local 0 // org.apache.lucene.index.NormValuesWriter this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   11     0           this  Lorg/apache/lucene/index/NormValuesWriter;
            0   11     1          state  Lorg/apache/lucene/index/SegmentWriteState;
            0   11     2        sortMap  Lorg/apache/lucene/index/Sorter$DocMap;
            0   11     3  normsConsumer  Lorg/apache/lucene/codecs/NormsConsumer;
            1   11     4         values  Lorg/apache/lucene/util/packed/PackedLongValues;
            5    6     5         sorted  Lorg/apache/lucene/index/NumericDocValuesWriter$NumericDVs;
            7   11     5         sorted  Lorg/apache/lucene/index/NumericDocValuesWriter$NumericDVs;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
               Name  Flags
      state          
      sortMap        
      normsConsumer  
}
SourceFile: "NormValuesWriter.java"
NestMembers:
  org.apache.lucene.index.NormValuesWriter$1  org.apache.lucene.index.NormValuesWriter$BufferedNorms
InnerClasses:
  org.apache.lucene.index.NormValuesWriter$1
  private BufferedNorms = org.apache.lucene.index.NormValuesWriter$BufferedNorms of org.apache.lucene.index.NormValuesWriter
  NumericDVs = org.apache.lucene.index.NumericDocValuesWriter$NumericDVs of org.apache.lucene.index.NumericDocValuesWriter
  abstract DocMap = org.apache.lucene.index.Sorter$DocMap of org.apache.lucene.index.Sorter
  public Builder = org.apache.lucene.util.packed.PackedLongValues$Builder of org.apache.lucene.util.packed.PackedLongValues