final class org.apache.lucene.index.FieldInfos$Builder
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.index.FieldInfos$Builder
super_class: java.lang.Object
{
private final java.util.HashMap<java.lang.String, org.apache.lucene.index.FieldInfo> byName;
descriptor: Ljava/util/HashMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/HashMap<Ljava/lang/String;Lorg/apache/lucene/index/FieldInfo;>;
final org.apache.lucene.index.FieldInfos$FieldNumbers globalFieldNumbers;
descriptor: Lorg/apache/lucene/index/FieldInfos$FieldNumbers;
flags: (0x0010) ACC_FINAL
private boolean finished;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
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: ldc Lorg/apache/lucene/index/FieldInfos;
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.FieldInfos$Builder.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.apache.lucene.index.FieldInfos$FieldNumbers);
descriptor: (Lorg/apache/lucene/index/FieldInfos$FieldNumbers;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.lucene.index.FieldInfos$Builder.byName:Ljava/util/HashMap;
2: getstatic org.apache.lucene.index.FieldInfos$Builder.$assertionsDisabled:Z
ifne 3
aload 1
ifnonnull 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: org.apache.lucene.index.FieldInfos$Builder org.apache.lucene.index.FieldInfos$FieldNumbers
StackMap stack:
aload 0
aload 1
putfield org.apache.lucene.index.FieldInfos$Builder.globalFieldNumbers:Lorg/apache/lucene/index/FieldInfos$FieldNumbers;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/index/FieldInfos$Builder;
0 5 1 globalFieldNumbers Lorg/apache/lucene/index/FieldInfos$FieldNumbers;
MethodParameters:
Name Flags
globalFieldNumbers
public void add(org.apache.lucene.index.FieldInfos);
descriptor: (Lorg/apache/lucene/index/FieldInfos;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.index.FieldInfos$Builder.$assertionsDisabled:Z
ifne 1
aload 0
invokevirtual org.apache.lucene.index.FieldInfos$Builder.assertNotFinished:()Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.lucene.index.FieldInfos.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.apache.lucene.index.FieldInfos$Builder org.apache.lucene.index.FieldInfos top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.FieldInfo
astore 2
start local 2 3: aload 0
aload 2
invokevirtual org.apache.lucene.index.FieldInfos$Builder.add:(Lorg/apache/lucene/index/FieldInfo;)Lorg/apache/lucene/index/FieldInfo;
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/index/FieldInfos$Builder;
0 6 1 other Lorg/apache/lucene/index/FieldInfos;
3 4 2 fieldInfo Lorg/apache/lucene/index/FieldInfo;
MethodParameters:
Name Flags
other
public org.apache.lucene.index.FieldInfo getOrAdd(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/lucene/index/FieldInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=16, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.lucene.index.FieldInfos$Builder.fieldInfo:(Ljava/lang/String;)Lorg/apache/lucene/index/FieldInfo;
astore 2
start local 2 1: aload 2
ifnonnull 9
2: getstatic org.apache.lucene.index.FieldInfos$Builder.$assertionsDisabled:Z
ifne 3
aload 0
invokevirtual org.apache.lucene.index.FieldInfos$Builder.assertNotFinished:()Z
ifne 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: org.apache.lucene.index.FieldInfo
StackMap stack:
aload 1
aload 0
getfield org.apache.lucene.index.FieldInfos$Builder.globalFieldNumbers:Lorg/apache/lucene/index/FieldInfos$FieldNumbers;
getfield org.apache.lucene.index.FieldInfos$FieldNumbers.softDeletesFieldName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
istore 3
start local 3 4: aload 0
getfield org.apache.lucene.index.FieldInfos$Builder.globalFieldNumbers:Lorg/apache/lucene/index/FieldInfos$FieldNumbers;
aload 1
iconst_m1
getstatic org.apache.lucene.index.IndexOptions.NONE:Lorg/apache/lucene/index/IndexOptions;
getstatic org.apache.lucene.index.DocValuesType.NONE:Lorg/apache/lucene/index/DocValuesType;
iconst_0
iconst_0
iconst_0
iload 3
invokevirtual org.apache.lucene.index.FieldInfos$FieldNumbers.addOrGet:(Ljava/lang/String;ILorg/apache/lucene/index/IndexOptions;Lorg/apache/lucene/index/DocValuesType;IIIZ)I
istore 4
start local 4 5: new org.apache.lucene.index.FieldInfo
dup
aload 1
iload 4
iconst_0
iconst_0
iconst_0
getstatic org.apache.lucene.index.IndexOptions.NONE:Lorg/apache/lucene/index/IndexOptions;
getstatic org.apache.lucene.index.DocValuesType.NONE:Lorg/apache/lucene/index/DocValuesType;
ldc -1
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
iconst_0
iconst_0
iconst_0
iload 3
invokespecial org.apache.lucene.index.FieldInfo.<init>:(Ljava/lang/String;IZZZLorg/apache/lucene/index/IndexOptions;Lorg/apache/lucene/index/DocValuesType;JLjava/util/Map;IIIZ)V
astore 2
6: getstatic org.apache.lucene.index.FieldInfos$Builder.$assertionsDisabled:Z
ifne 7
aload 0
getfield org.apache.lucene.index.FieldInfos$Builder.byName:Ljava/util/HashMap;
aload 2
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
invokevirtual java.util.HashMap.containsKey:(Ljava/lang/Object;)Z
ifeq 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
7: StackMap locals: int int
StackMap stack:
aload 0
getfield org.apache.lucene.index.FieldInfos$Builder.globalFieldNumbers:Lorg/apache/lucene/index/FieldInfos$FieldNumbers;
aload 2
getfield org.apache.lucene.index.FieldInfo.number:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 2
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
getstatic org.apache.lucene.index.DocValuesType.NONE:Lorg/apache/lucene/index/DocValuesType;
invokevirtual org.apache.lucene.index.FieldInfos$FieldNumbers.verifyConsistent:(Ljava/lang/Integer;Ljava/lang/String;Lorg/apache/lucene/index/DocValuesType;)V
8: aload 0
getfield org.apache.lucene.index.FieldInfos$Builder.byName:Ljava/util/HashMap;
aload 2
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
aload 2
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 end local 3 9: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/index/FieldInfos$Builder;
0 10 1 name Ljava/lang/String;
1 10 2 fi Lorg/apache/lucene/index/FieldInfo;
4 9 3 isSoftDeletesField Z
5 9 4 fieldNumber I
MethodParameters:
Name Flags
name
private org.apache.lucene.index.FieldInfo addOrUpdateInternal(java.lang.String, int, boolean, boolean, boolean, org.apache.lucene.index.IndexOptions, org.apache.lucene.index.DocValuesType, long, java.util.Map<java.lang.String, java.lang.String>, int, int, int, boolean);
descriptor: (Ljava/lang/String;IZZZLorg/apache/lucene/index/IndexOptions;Lorg/apache/lucene/index/DocValuesType;JLjava/util/Map;IIIZ)Lorg/apache/lucene/index/FieldInfo;
flags: (0x0002) ACC_PRIVATE
Code:
stack=16, locals=17, args_size=14
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 10 start local 11 start local 12 start local 13 start local 14 0: getstatic org.apache.lucene.index.FieldInfos$Builder.$assertionsDisabled:Z
ifne 1
aload 0
invokevirtual org.apache.lucene.index.FieldInfos$Builder.assertNotFinished:()Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 7
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "DocValuesType must not be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 10
ifnull 5
4: new java.util.HashMap
dup
aload 10
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
astore 10
5: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.lucene.index.FieldInfos$Builder.fieldInfo:(Ljava/lang/String;)Lorg/apache/lucene/index/FieldInfo;
astore 15
start local 15 6: aload 15
ifnonnull 13
7: aload 0
getfield org.apache.lucene.index.FieldInfos$Builder.globalFieldNumbers:Lorg/apache/lucene/index/FieldInfos$FieldNumbers;
aload 1
iload 2
aload 6
aload 7
iload 11
iload 12
iload 13
iload 14
invokevirtual org.apache.lucene.index.FieldInfos$FieldNumbers.addOrGet:(Ljava/lang/String;ILorg/apache/lucene/index/IndexOptions;Lorg/apache/lucene/index/DocValuesType;IIIZ)I
istore 16
start local 16 8: new org.apache.lucene.index.FieldInfo
dup
aload 1
iload 16
iload 3
iload 4
iload 5
aload 6
aload 7
lload 8
aload 10
iload 11
iload 12
iload 13
iload 14
invokespecial org.apache.lucene.index.FieldInfo.<init>:(Ljava/lang/String;IZZZLorg/apache/lucene/index/IndexOptions;Lorg/apache/lucene/index/DocValuesType;JLjava/util/Map;IIIZ)V
astore 15
9: getstatic org.apache.lucene.index.FieldInfos$Builder.$assertionsDisabled:Z
ifne 10
aload 0
getfield org.apache.lucene.index.FieldInfos$Builder.byName:Ljava/util/HashMap;
aload 15
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
invokevirtual java.util.HashMap.containsKey:(Ljava/lang/Object;)Z
ifeq 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals: org.apache.lucene.index.FieldInfo int
StackMap stack:
aload 0
getfield org.apache.lucene.index.FieldInfos$Builder.globalFieldNumbers:Lorg/apache/lucene/index/FieldInfos$FieldNumbers;
aload 15
getfield org.apache.lucene.index.FieldInfo.number:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 15
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
aload 15
invokevirtual org.apache.lucene.index.FieldInfo.getDocValuesType:()Lorg/apache/lucene/index/DocValuesType;
invokevirtual org.apache.lucene.index.FieldInfos$FieldNumbers.verifyConsistent:(Ljava/lang/Integer;Ljava/lang/String;Lorg/apache/lucene/index/DocValuesType;)V
11: aload 0
getfield org.apache.lucene.index.FieldInfos$Builder.byName:Ljava/util/HashMap;
aload 15
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
aload 15
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 16 12: goto 22
13: StackMap locals:
StackMap stack:
aload 15
iload 3
iload 4
iload 5
aload 6
aload 10
iload 11
iload 12
iload 13
invokevirtual org.apache.lucene.index.FieldInfo.update:(ZZZLorg/apache/lucene/index/IndexOptions;Ljava/util/Map;III)V
14: aload 7
getstatic org.apache.lucene.index.DocValuesType.NONE:Lorg/apache/lucene/index/DocValuesType;
if_acmpeq 22
15: aload 15
invokevirtual org.apache.lucene.index.FieldInfo.getDocValuesType:()Lorg/apache/lucene/index/DocValuesType;
getstatic org.apache.lucene.index.DocValuesType.NONE:Lorg/apache/lucene/index/DocValuesType;
if_acmpne 16
iconst_1
goto 17
StackMap locals:
StackMap stack:
16: iconst_0
StackMap locals:
StackMap stack: int
17: istore 16
start local 16 18: iload 16
ifeq 20
19: aload 0
getfield org.apache.lucene.index.FieldInfos$Builder.globalFieldNumbers:Lorg/apache/lucene/index/FieldInfos$FieldNumbers;
aload 15
getfield org.apache.lucene.index.FieldInfo.number:I
aload 1
aload 7
invokevirtual org.apache.lucene.index.FieldInfos$FieldNumbers.setDocValuesType:(ILjava/lang/String;Lorg/apache/lucene/index/DocValuesType;)V
20: StackMap locals: int
StackMap stack:
aload 15
aload 7
invokevirtual org.apache.lucene.index.FieldInfo.setDocValuesType:(Lorg/apache/lucene/index/DocValuesType;)V
21: aload 15
lload 8
invokevirtual org.apache.lucene.index.FieldInfo.setDocValuesGen:(J)V
end local 16 22: StackMap locals:
StackMap stack:
aload 15
areturn
end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/apache/lucene/index/FieldInfos$Builder;
0 23 1 name Ljava/lang/String;
0 23 2 preferredFieldNumber I
0 23 3 storeTermVector Z
0 23 4 omitNorms Z
0 23 5 storePayloads Z
0 23 6 indexOptions Lorg/apache/lucene/index/IndexOptions;
0 23 7 docValues Lorg/apache/lucene/index/DocValuesType;
0 23 8 dvGen J
0 23 10 attributes Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
0 23 11 dataDimensionCount I
0 23 12 indexDimensionCount I
0 23 13 dimensionNumBytes I
0 23 14 isSoftDeletesField Z
6 23 15 fi Lorg/apache/lucene/index/FieldInfo;
8 12 16 fieldNumber I
18 22 16 updateGlobal Z
Signature: (Ljava/lang/String;IZZZLorg/apache/lucene/index/IndexOptions;Lorg/apache/lucene/index/DocValuesType;JLjava/util/Map<Ljava/lang/String;Ljava/lang/String;>;IIIZ)Lorg/apache/lucene/index/FieldInfo;
MethodParameters:
Name Flags
name
preferredFieldNumber
storeTermVector
omitNorms
storePayloads
indexOptions
docValues
dvGen
attributes
dataDimensionCount
indexDimensionCount
dimensionNumBytes
isSoftDeletesField
public org.apache.lucene.index.FieldInfo add(org.apache.lucene.index.FieldInfo);
descriptor: (Lorg/apache/lucene/index/FieldInfo;)Lorg/apache/lucene/index/FieldInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc -1
invokevirtual org.apache.lucene.index.FieldInfos$Builder.add:(Lorg/apache/lucene/index/FieldInfo;J)Lorg/apache/lucene/index/FieldInfo;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/FieldInfos$Builder;
0 1 1 fi Lorg/apache/lucene/index/FieldInfo;
MethodParameters:
Name Flags
fi
public org.apache.lucene.index.FieldInfo add(org.apache.lucene.index.FieldInfo, long);
descriptor: (Lorg/apache/lucene/index/FieldInfo;J)Lorg/apache/lucene/index/FieldInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=15, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
aload 1
getfield org.apache.lucene.index.FieldInfo.number:I
aload 1
invokevirtual org.apache.lucene.index.FieldInfo.hasVectors:()Z
1: aload 1
invokevirtual org.apache.lucene.index.FieldInfo.omitsNorms:()Z
aload 1
invokevirtual org.apache.lucene.index.FieldInfo.hasPayloads:()Z
2: aload 1
invokevirtual org.apache.lucene.index.FieldInfo.getIndexOptions:()Lorg/apache/lucene/index/IndexOptions;
aload 1
invokevirtual org.apache.lucene.index.FieldInfo.getDocValuesType:()Lorg/apache/lucene/index/DocValuesType;
lload 2
3: aload 1
invokevirtual org.apache.lucene.index.FieldInfo.attributes:()Ljava/util/Map;
4: aload 1
invokevirtual org.apache.lucene.index.FieldInfo.getPointDataDimensionCount:()I
aload 1
invokevirtual org.apache.lucene.index.FieldInfo.getPointIndexDimensionCount:()I
aload 1
invokevirtual org.apache.lucene.index.FieldInfo.getPointNumBytes:()I
5: aload 1
invokevirtual org.apache.lucene.index.FieldInfo.isSoftDeletesField:()Z
6: invokevirtual org.apache.lucene.index.FieldInfos$Builder.addOrUpdateInternal:(Ljava/lang/String;IZZZLorg/apache/lucene/index/IndexOptions;Lorg/apache/lucene/index/DocValuesType;JLjava/util/Map;IIIZ)Lorg/apache/lucene/index/FieldInfo;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/index/FieldInfos$Builder;
0 7 1 fi Lorg/apache/lucene/index/FieldInfo;
0 7 2 dvGen J
MethodParameters:
Name Flags
fi
dvGen
public org.apache.lucene.index.FieldInfo fieldInfo(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/lucene/index/FieldInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.index.FieldInfos$Builder.byName:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.lucene.index.FieldInfo
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/FieldInfos$Builder;
0 1 1 fieldName Ljava/lang/String;
MethodParameters:
Name Flags
fieldName
private boolean assertNotFinished();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.FieldInfos$Builder.finished:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "FieldInfos.Builder was already finished; cannot add new fields"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/FieldInfos$Builder;
org.apache.lucene.index.FieldInfos finish();
descriptor: ()Lorg/apache/lucene/index/FieldInfos;
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.apache.lucene.index.FieldInfos$Builder.finished:Z
1: new org.apache.lucene.index.FieldInfos
dup
aload 0
getfield org.apache.lucene.index.FieldInfos$Builder.byName:Ljava/util/HashMap;
invokevirtual java.util.HashMap.values:()Ljava/util/Collection;
aload 0
getfield org.apache.lucene.index.FieldInfos$Builder.byName:Ljava/util/HashMap;
invokevirtual java.util.HashMap.size:()I
anewarray org.apache.lucene.index.FieldInfo
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.apache.lucene.index.FieldInfo[]
invokespecial org.apache.lucene.index.FieldInfos.<init>:([Lorg/apache/lucene/index/FieldInfo;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/FieldInfos$Builder;
}
SourceFile: "FieldInfos.java"
NestHost: org.apache.lucene.index.FieldInfos
InnerClasses:
final Builder = org.apache.lucene.index.FieldInfos$Builder of org.apache.lucene.index.FieldInfos
final FieldNumbers = org.apache.lucene.index.FieldInfos$FieldNumbers of org.apache.lucene.index.FieldInfos