public final class org.apache.lucene.index.SegmentInfo
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.index.SegmentInfo
super_class: java.lang.Object
{
public static final int NO;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -1
public static final int YES;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
private int maxDoc;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public final org.apache.lucene.store.Directory dir;
descriptor: Lorg/apache/lucene/store/Directory;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
private boolean isCompoundFile;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final byte[] id;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.apache.lucene.codecs.Codec codec;
descriptor: Lorg/apache/lucene/codecs/Codec;
flags: (0x0002) ACC_PRIVATE
private java.util.Map<java.lang.String, java.lang.String> diagnostics;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
private java.util.Map<java.lang.String, java.lang.String> attributes;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
private final org.apache.lucene.search.Sort indexSort;
descriptor: Lorg/apache/lucene/search/Sort;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.util.Version version;
descriptor: Lorg/apache/lucene/util/Version;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
org.apache.lucene.util.Version minVersion;
descriptor: Lorg/apache/lucene/util/Version;
flags: (0x0000)
private java.util.Set<java.lang.String> setFiles;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljava/lang/String;>;
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/SegmentInfo;
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.SegmentInfo.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
void setDiagnostics(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new java.util.HashMap
dup
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
putfield org.apache.lucene.index.SegmentInfo.diagnostics:Ljava/util/Map;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/SegmentInfo;
0 2 1 diagnostics Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
diagnostics
public java.util.Map<java.lang.String, java.lang.String> getDiagnostics();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.SegmentInfo.diagnostics:Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/SegmentInfo;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public void <init>(org.apache.lucene.store.Directory, org.apache.lucene.util.Version, org.apache.lucene.util.Version, java.lang.String, int, boolean, org.apache.lucene.codecs.Codec, java.util.Map<java.lang.String, java.lang.String>, byte[], java.util.Map<java.lang.String, java.lang.String>, org.apache.lucene.search.Sort);
descriptor: (Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/util/Version;Lorg/apache/lucene/util/Version;Ljava/lang/String;IZLorg/apache/lucene/codecs/Codec;Ljava/util/Map;[BLjava/util/Map;Lorg/apache/lucene/search/Sort;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=12, args_size=12
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 9 start local 10 start local 11 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: getstatic org.apache.lucene.index.SegmentInfo.$assertionsDisabled:Z
ifne 2
aload 1
instanceof org.apache.lucene.store.TrackingDirectoryWrapper
ifeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.apache.lucene.index.SegmentInfo org.apache.lucene.store.Directory org.apache.lucene.util.Version org.apache.lucene.util.Version java.lang.String int int org.apache.lucene.codecs.Codec java.util.Map byte[] java.util.Map org.apache.lucene.search.Sort
StackMap stack:
aload 0
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.lucene.store.Directory
putfield org.apache.lucene.index.SegmentInfo.dir:Lorg/apache/lucene/store/Directory;
3: aload 0
aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.lucene.util.Version
putfield org.apache.lucene.index.SegmentInfo.version:Lorg/apache/lucene/util/Version;
4: aload 0
aload 3
putfield org.apache.lucene.index.SegmentInfo.minVersion:Lorg/apache/lucene/util/Version;
5: aload 0
aload 4
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
putfield org.apache.lucene.index.SegmentInfo.name:Ljava/lang/String;
6: aload 0
iload 5
putfield org.apache.lucene.index.SegmentInfo.maxDoc:I
7: aload 0
iload 6
putfield org.apache.lucene.index.SegmentInfo.isCompoundFile:Z
8: aload 0
aload 7
putfield org.apache.lucene.index.SegmentInfo.codec:Lorg/apache/lucene/codecs/Codec;
9: aload 0
new java.util.HashMap
dup
aload 8
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
putfield org.apache.lucene.index.SegmentInfo.diagnostics:Ljava/util/Map;
10: aload 0
aload 9
putfield org.apache.lucene.index.SegmentInfo.id:[B
11: aload 9
arraylength
bipush 16
if_icmpeq 13
12: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "invalid id: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokestatic java.util.Arrays.toString:([B)Ljava/lang/String;
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
13: StackMap locals:
StackMap stack:
aload 0
new java.util.HashMap
dup
aload 10
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
putfield org.apache.lucene.index.SegmentInfo.attributes:Ljava/util/Map;
14: aload 0
aload 11
putfield org.apache.lucene.index.SegmentInfo.indexSort:Lorg/apache/lucene/search/Sort;
15: return
end local 11 end local 10 end local 9 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 16 0 this Lorg/apache/lucene/index/SegmentInfo;
0 16 1 dir Lorg/apache/lucene/store/Directory;
0 16 2 version Lorg/apache/lucene/util/Version;
0 16 3 minVersion Lorg/apache/lucene/util/Version;
0 16 4 name Ljava/lang/String;
0 16 5 maxDoc I
0 16 6 isCompoundFile Z
0 16 7 codec Lorg/apache/lucene/codecs/Codec;
0 16 8 diagnostics Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
0 16 9 id [B
0 16 10 attributes Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
0 16 11 indexSort Lorg/apache/lucene/search/Sort;
Signature: (Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/util/Version;Lorg/apache/lucene/util/Version;Ljava/lang/String;IZLorg/apache/lucene/codecs/Codec;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;[BLjava/util/Map<Ljava/lang/String;Ljava/lang/String;>;Lorg/apache/lucene/search/Sort;)V
MethodParameters:
Name Flags
dir
version
minVersion
name
maxDoc
isCompoundFile
codec
diagnostics
id
attributes
indexSort
void setUseCompoundFile(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.lucene.index.SegmentInfo.isCompoundFile:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/SegmentInfo;
0 2 1 isCompoundFile Z
MethodParameters:
Name Flags
isCompoundFile
public boolean getUseCompoundFile();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.SegmentInfo.isCompoundFile:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/SegmentInfo;
public void setCodec(org.apache.lucene.codecs.Codec);
descriptor: (Lorg/apache/lucene/codecs/Codec;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.index.SegmentInfo.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.index.SegmentInfo.codec:Lorg/apache/lucene/codecs/Codec;
ifnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "codec must be non-null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.lucene.index.SegmentInfo.codec:Lorg/apache/lucene/codecs/Codec;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/index/SegmentInfo;
0 5 1 codec Lorg/apache/lucene/codecs/Codec;
MethodParameters:
Name Flags
codec
public org.apache.lucene.codecs.Codec getCodec();
descriptor: ()Lorg/apache/lucene/codecs/Codec;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.SegmentInfo.codec:Lorg/apache/lucene/codecs/Codec;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/SegmentInfo;
public int maxDoc();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.SegmentInfo.maxDoc:I
iconst_m1
if_icmpne 2
1: new java.lang.IllegalStateException
dup
ldc "maxDoc isn't set yet"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.SegmentInfo.maxDoc:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/SegmentInfo;
void setMaxDoc(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.index.SegmentInfo.maxDoc:I
iconst_m1
if_icmpeq 2
1: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "maxDoc was already set: this.maxDoc="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.index.SegmentInfo.maxDoc:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " vs maxDoc="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.apache.lucene.index.SegmentInfo.maxDoc:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/SegmentInfo;
0 4 1 maxDoc I
MethodParameters:
Name Flags
maxDoc
public java.util.Set<java.lang.String> files();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.SegmentInfo.setFiles:Ljava/util/Set;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "files were not computed yet; segment="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.index.SegmentInfo.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " maxDoc="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.SegmentInfo.maxDoc:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.SegmentInfo.setFiles:Ljava/util/Set;
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/SegmentInfo;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.apache.lucene.index.SegmentInfo.toString:(I)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/SegmentInfo;
public java.lang.String toString(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: aload 2
aload 0
getfield org.apache.lucene.index.SegmentInfo.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.SegmentInfo.version:Lorg/apache/lucene/util/Version;
ifnonnull 2
ldc "?"
goto 3
StackMap locals: org.apache.lucene.index.SegmentInfo int java.lang.StringBuilder
StackMap stack: java.lang.StringBuilder
2: aload 0
getfield org.apache.lucene.index.SegmentInfo.version:Lorg/apache/lucene/util/Version;
StackMap locals: org.apache.lucene.index.SegmentInfo int java.lang.StringBuilder
StackMap stack: java.lang.StringBuilder java.lang.Object
3: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
4: aload 0
invokevirtual org.apache.lucene.index.SegmentInfo.getUseCompoundFile:()Z
ifeq 5
bipush 99
goto 6
StackMap locals:
StackMap stack:
5: bipush 67
StackMap locals:
StackMap stack: int
6: istore 3
start local 3 7: aload 2
iload 3
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
8: aload 2
aload 0
getfield org.apache.lucene.index.SegmentInfo.maxDoc:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
9: iload 1
ifeq 11
10: aload 2
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
11: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.lucene.index.SegmentInfo.indexSort:Lorg/apache/lucene/search/Sort;
ifnull 15
12: aload 2
ldc ":[indexSort="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: aload 2
aload 0
getfield org.apache.lucene.index.SegmentInfo.indexSort:Lorg/apache/lucene/search/Sort;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
14: aload 2
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
15: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.SegmentInfo.diagnostics:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifne 19
16: aload 2
ldc ":[diagnostics="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
17: aload 2
aload 0
getfield org.apache.lucene.index.SegmentInfo.diagnostics:Ljava/util/Map;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
18: aload 2
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
19: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.SegmentInfo.attributes:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifne 23
20: aload 2
ldc ":[attributes="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
21: aload 2
aload 0
getfield org.apache.lucene.index.SegmentInfo.attributes:Ljava/util/Map;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
22: aload 2
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
23: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/apache/lucene/index/SegmentInfo;
0 24 1 delCount I
1 24 2 s Ljava/lang/StringBuilder;
7 24 3 cfs C
MethodParameters:
Name Flags
delCount
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 1
instanceof org.apache.lucene.index.SegmentInfo
ifeq 5
2: aload 1
checkcast org.apache.lucene.index.SegmentInfo
astore 2
start local 2 3: aload 2
getfield org.apache.lucene.index.SegmentInfo.dir:Lorg/apache/lucene/store/Directory;
aload 0
getfield org.apache.lucene.index.SegmentInfo.dir:Lorg/apache/lucene/store/Directory;
if_acmpne 4
aload 2
getfield org.apache.lucene.index.SegmentInfo.name:Ljava/lang/String;
aload 0
getfield org.apache.lucene.index.SegmentInfo.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
iconst_1
ireturn
StackMap locals: org.apache.lucene.index.SegmentInfo
StackMap stack:
4: iconst_0
ireturn
end local 2 5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/index/SegmentInfo;
0 6 1 obj Ljava/lang/Object;
3 5 2 other Lorg/apache/lucene/index/SegmentInfo;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.SegmentInfo.dir:Lorg/apache/lucene/store/Directory;
invokevirtual java.lang.Object.hashCode:()I
aload 0
getfield org.apache.lucene.index.SegmentInfo.name:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/SegmentInfo;
public org.apache.lucene.util.Version getVersion();
descriptor: ()Lorg/apache/lucene/util/Version;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.SegmentInfo.version:Lorg/apache/lucene/util/Version;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/SegmentInfo;
public org.apache.lucene.util.Version getMinVersion();
descriptor: ()Lorg/apache/lucene/util/Version;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.SegmentInfo.minVersion:Lorg/apache/lucene/util/Version;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/SegmentInfo;
public byte[] getId();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.SegmentInfo.id:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/SegmentInfo;
public void setFiles(java.util.Collection<java.lang.String>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield org.apache.lucene.index.SegmentInfo.setFiles:Ljava/util/Set;
1: aload 0
aload 1
invokevirtual org.apache.lucene.index.SegmentInfo.addFiles:(Ljava/util/Collection;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/SegmentInfo;
0 3 1 files Ljava/util/Collection<Ljava/lang/String;>;
Signature: (Ljava/util/Collection<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
files
public void addFiles(java.util.Collection<java.lang.String>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.lucene.index.SegmentInfo.checkFileNames:(Ljava/util/Collection;)V
1: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.apache.lucene.index.SegmentInfo java.util.Collection top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 3: aload 0
getfield org.apache.lucene.index.SegmentInfo.setFiles:Ljava/util/Set;
aload 0
aload 2
invokevirtual org.apache.lucene.index.SegmentInfo.namedForThisSegment:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
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/SegmentInfo;
0 6 1 files Ljava/util/Collection<Ljava/lang/String;>;
3 4 2 f Ljava/lang/String;
Signature: (Ljava/util/Collection<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
files
public void addFile(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
invokevirtual org.apache.lucene.index.SegmentInfo.checkFileNames:(Ljava/util/Collection;)V
1: aload 0
getfield org.apache.lucene.index.SegmentInfo.setFiles:Ljava/util/Set;
aload 0
aload 1
invokevirtual org.apache.lucene.index.SegmentInfo.namedForThisSegment:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/SegmentInfo;
0 3 1 file Ljava/lang/String;
MethodParameters:
Name Flags
file
private void checkFileNames(java.util.Collection<java.lang.String>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.index.IndexFileNames.CODEC_FILE_PATTERN:Ljava/util/regex/Pattern;
ldc ""
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 2
start local 2 1: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: org.apache.lucene.index.SegmentInfo java.util.Collection java.util.regex.Matcher top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 3: aload 2
aload 3
invokevirtual java.util.regex.Matcher.reset:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
pop
4: aload 2
invokevirtual java.util.regex.Matcher.matches:()Z
ifne 6
5: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "invalid codec filename '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "', must match: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic org.apache.lucene.index.IndexFileNames.CODEC_FILE_PATTERN:Ljava/util/regex/Pattern;
invokevirtual java.util.regex.Pattern.pattern:()Ljava/lang/String;
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
6: StackMap locals: org.apache.lucene.index.SegmentInfo java.util.Collection java.util.regex.Matcher java.lang.String java.util.Iterator
StackMap stack:
aload 3
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
ldc ".tmp"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 8
7: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "invalid codec filename '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "', cannot end with .tmp extension"
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
end local 3 8: StackMap locals: org.apache.lucene.index.SegmentInfo java.util.Collection java.util.regex.Matcher top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/index/SegmentInfo;
0 10 1 files Ljava/util/Collection<Ljava/lang/String;>;
1 10 2 m Ljava/util/regex/Matcher;
3 8 3 file Ljava/lang/String;
Signature: (Ljava/util/Collection<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
files
java.lang.String namedForThisSegment(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
aload 0
getfield org.apache.lucene.index.SegmentInfo.name:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokestatic org.apache.lucene.index.IndexFileNames.stripSegmentName:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/SegmentInfo;
0 1 1 file Ljava/lang/String;
MethodParameters:
Name Flags
file
public java.lang.String getAttribute(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
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.SegmentInfo.attributes:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/SegmentInfo;
0 1 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key
public java.lang.String putAttribute(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new java.util.HashMap
dup
aload 0
getfield org.apache.lucene.index.SegmentInfo.attributes:Ljava/util/Map;
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
astore 3
start local 3 1: aload 3
aload 1
aload 2
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 2: aload 0
aload 3
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
putfield org.apache.lucene.index.SegmentInfo.attributes:Ljava/util/Map;
3: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/SegmentInfo;
0 4 1 key Ljava/lang/String;
0 4 2 value Ljava/lang/String;
1 4 3 newMap Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;
2 4 4 oldValue Ljava/lang/String;
MethodParameters:
Name Flags
key
value
public java.util.Map<java.lang.String, java.lang.String> getAttributes();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.SegmentInfo.attributes:Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/SegmentInfo;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public org.apache.lucene.search.Sort getIndexSort();
descriptor: ()Lorg/apache/lucene/search/Sort;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.SegmentInfo.indexSort:Lorg/apache/lucene/search/Sort;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/SegmentInfo;
}
SourceFile: "SegmentInfo.java"