class org.apache.lucene.index.StandardDirectoryReader$2 extends org.apache.lucene.index.SegmentInfos$FindSegmentsFile<org.apache.lucene.index.DirectoryReader>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.lucene.index.StandardDirectoryReader$2
super_class: org.apache.lucene.index.SegmentInfos$FindSegmentsFile
{
void <init>(org.apache.lucene.store.Directory);
descriptor: (Lorg/apache/lucene/store/Directory;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // org.apache.lucene.index.StandardDirectoryReader$2 this
start local 1 // org.apache.lucene.store.Directory $anonymous0
0: .line 58
aload 0 /* this */
aload 1 /* $anonymous0 */
invokespecial org.apache.lucene.index.SegmentInfos$FindSegmentsFile.<init>:(Lorg/apache/lucene/store/Directory;)V
return
end local 1 // org.apache.lucene.store.Directory $anonymous0
end local 0 // org.apache.lucene.index.StandardDirectoryReader$2 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/StandardDirectoryReader$2;
0 1 1 $anonymous0 Lorg/apache/lucene/store/Directory;
MethodParameters:
Name Flags
$anonymous0
protected org.apache.lucene.index.DirectoryReader doBody(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/lucene/index/DirectoryReader;
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=8, args_size=2
start local 0 // org.apache.lucene.index.StandardDirectoryReader$2 this
start local 1 // java.lang.String segmentFileName
0: .line 61
aload 0 /* this */
getfield org.apache.lucene.index.StandardDirectoryReader$2.directory:Lorg/apache/lucene/store/Directory;
aload 1 /* segmentFileName */
invokestatic org.apache.lucene.index.SegmentInfos.readCommit:(Lorg/apache/lucene/store/Directory;Ljava/lang/String;)Lorg/apache/lucene/index/SegmentInfos;
astore 2 /* sis */
start local 2 // org.apache.lucene.index.SegmentInfos sis
1: .line 62
aload 2 /* sis */
invokevirtual org.apache.lucene.index.SegmentInfos.size:()I
anewarray org.apache.lucene.index.SegmentReader
astore 3 /* readers */
start local 3 // org.apache.lucene.index.SegmentReader[] readers
2: .line 63
iconst_0
istore 4 /* success */
start local 4 // boolean success
3: .line 65
aload 2 /* sis */
invokevirtual org.apache.lucene.index.SegmentInfos.size:()I
iconst_1
isub
istore 5 /* i */
start local 5 // int i
4: goto 7
5: .line 66
StackMap locals: org.apache.lucene.index.StandardDirectoryReader$2 java.lang.String org.apache.lucene.index.SegmentInfos org.apache.lucene.index.SegmentReader[] int int
StackMap stack:
aload 3 /* readers */
iload 5 /* i */
new org.apache.lucene.index.SegmentReader
dup
aload 2 /* sis */
iload 5 /* i */
invokevirtual org.apache.lucene.index.SegmentInfos.info:(I)Lorg/apache/lucene/index/SegmentCommitInfo;
aload 2 /* sis */
invokevirtual org.apache.lucene.index.SegmentInfos.getIndexCreatedVersionMajor:()I
getstatic org.apache.lucene.store.IOContext.READ:Lorg/apache/lucene/store/IOContext;
invokespecial org.apache.lucene.index.SegmentReader.<init>:(Lorg/apache/lucene/index/SegmentCommitInfo;ILorg/apache/lucene/store/IOContext;)V
aastore
6: .line 65
iinc 5 /* i */ -1
StackMap locals:
StackMap stack:
7: iload 5 /* i */
ifge 5
end local 5 // int i
8: .line 71
new org.apache.lucene.index.StandardDirectoryReader
dup
aload 0 /* this */
getfield org.apache.lucene.index.StandardDirectoryReader$2.directory:Lorg/apache/lucene/store/Directory;
aload 3 /* readers */
aconst_null
aload 2 /* sis */
iconst_0
iconst_0
invokespecial org.apache.lucene.index.StandardDirectoryReader.<init>:(Lorg/apache/lucene/store/Directory;[Lorg/apache/lucene/index/LeafReader;Lorg/apache/lucene/index/IndexWriter;Lorg/apache/lucene/index/SegmentInfos;ZZ)V
astore 5 /* reader */
start local 5 // org.apache.lucene.index.DirectoryReader reader
9: .line 72
iconst_1
istore 4 /* success */
10: .line 74
aload 5 /* reader */
astore 7
11: .line 76
iload 4 /* success */
ifne 13
12: .line 77
aload 3 /* readers */
invokestatic org.apache.lucene.util.IOUtils.closeWhileHandlingException:([Ljava/io/Closeable;)V
13: .line 74
StackMap locals: org.apache.lucene.index.StandardDirectoryReader$2 java.lang.String org.apache.lucene.index.SegmentInfos org.apache.lucene.index.SegmentReader[] int org.apache.lucene.index.DirectoryReader top org.apache.lucene.index.DirectoryReader
StackMap stack:
aload 7
areturn
end local 5 // org.apache.lucene.index.DirectoryReader reader
14: .line 75
StackMap locals: org.apache.lucene.index.StandardDirectoryReader$2 java.lang.String org.apache.lucene.index.SegmentInfos org.apache.lucene.index.SegmentReader[] int
StackMap stack: java.lang.Throwable
astore 6
15: .line 76
iload 4 /* success */
ifne 17
16: .line 77
aload 3 /* readers */
invokestatic org.apache.lucene.util.IOUtils.closeWhileHandlingException:([Ljava/io/Closeable;)V
17: .line 79
StackMap locals: org.apache.lucene.index.StandardDirectoryReader$2 java.lang.String org.apache.lucene.index.SegmentInfos org.apache.lucene.index.SegmentReader[] int top java.lang.Throwable
StackMap stack:
aload 6
athrow
end local 4 // boolean success
end local 3 // org.apache.lucene.index.SegmentReader[] readers
end local 2 // org.apache.lucene.index.SegmentInfos sis
end local 1 // java.lang.String segmentFileName
end local 0 // org.apache.lucene.index.StandardDirectoryReader$2 this
LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/lucene/index/StandardDirectoryReader$2;
0 18 1 segmentFileName Ljava/lang/String;
1 18 2 sis Lorg/apache/lucene/index/SegmentInfos;
2 18 3 readers [Lorg/apache/lucene/index/SegmentReader;
3 18 4 success Z
4 8 5 i I
9 14 5 reader Lorg/apache/lucene/index/DirectoryReader;
Exception table:
from to target type
3 11 14 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
segmentFileName
protected java.lang.Object doBody(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: .line 1
aload 0
aload 1
invokevirtual org.apache.lucene.index.StandardDirectoryReader$2.doBody:(Ljava/lang/String;)Lorg/apache/lucene/index/DirectoryReader;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
}
Signature: Lorg/apache/lucene/index/SegmentInfos$FindSegmentsFile<Lorg/apache/lucene/index/DirectoryReader;>;
SourceFile: "StandardDirectoryReader.java"
EnclosingMethod: org.apache.lucene.index.StandardDirectoryReader.open:(Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/IndexCommit;)Lorg/apache/lucene/index/DirectoryReader;
NestHost: org.apache.lucene.index.StandardDirectoryReader
InnerClasses:
public abstract FindSegmentsFile = org.apache.lucene.index.SegmentInfos$FindSegmentsFile of org.apache.lucene.index.SegmentInfos
org.apache.lucene.index.StandardDirectoryReader$2