public final class org.apache.lucene.index.ReaderUtil
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.index.ReaderUtil
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 // org.apache.lucene.index.ReaderUtil this
0: .line 28
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.apache.lucene.index.ReaderUtil this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/ReaderUtil;
public static org.apache.lucene.index.IndexReaderContext getTopLevelContext(org.apache.lucene.index.IndexReaderContext);
descriptor: (Lorg/apache/lucene/index/IndexReaderContext;)Lorg/apache/lucene/index/IndexReaderContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.apache.lucene.index.IndexReaderContext context
0: .line 35
goto 2
1: .line 36
StackMap locals:
StackMap stack:
aload 0 /* context */
getfield org.apache.lucene.index.IndexReaderContext.parent:Lorg/apache/lucene/index/CompositeReaderContext;
astore 0 /* context */
2: .line 35
StackMap locals:
StackMap stack:
aload 0 /* context */
getfield org.apache.lucene.index.IndexReaderContext.parent:Lorg/apache/lucene/index/CompositeReaderContext;
ifnonnull 1
3: .line 38
aload 0 /* context */
areturn
end local 0 // org.apache.lucene.index.IndexReaderContext context
LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Lorg/apache/lucene/index/IndexReaderContext;
MethodParameters:
Name Flags
context
public static int subIndex(int, int[]);
descriptor: (I[I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=2
start local 0 // int n
start local 1 // int[] docStarts
0: .line 47
aload 1 /* docStarts */
arraylength
istore 2 /* size */
start local 2 // int size
1: .line 48
iconst_0
istore 3 /* lo */
start local 3 // int lo
2: .line 49
iload 2 /* size */
iconst_1
isub
istore 4 /* hi */
start local 4 // int hi
3: .line 50
goto 13
4: .line 51
StackMap locals: int int int
StackMap stack:
iload 3 /* lo */
iload 4 /* hi */
iadd
iconst_1
iushr
istore 5 /* mid */
start local 5 // int mid
5: .line 52
aload 1 /* docStarts */
iload 5 /* mid */
iaload
istore 6 /* midValue */
start local 6 // int midValue
6: .line 53
iload 0 /* n */
iload 6 /* midValue */
if_icmpge 8
7: .line 54
iload 5 /* mid */
iconst_1
isub
istore 4 /* hi */
goto 13
8: .line 55
StackMap locals: int int
StackMap stack:
iload 0 /* n */
iload 6 /* midValue */
if_icmple 11
9: .line 56
iload 5 /* mid */
iconst_1
iadd
istore 3 /* lo */
goto 13
10: .line 59
StackMap locals:
StackMap stack:
iinc 5 /* mid */ 1
11: .line 58
StackMap locals:
StackMap stack:
iload 5 /* mid */
iconst_1
iadd
iload 2 /* size */
if_icmpge 12
aload 1 /* docStarts */
iload 5 /* mid */
iconst_1
iadd
iaload
iload 6 /* midValue */
if_icmpeq 10
12: .line 61
StackMap locals:
StackMap stack:
iload 5 /* mid */
ireturn
end local 6 // int midValue
end local 5 // int mid
13: .line 50
StackMap locals:
StackMap stack:
iload 4 /* hi */
iload 3 /* lo */
if_icmpge 4
14: .line 64
iload 4 /* hi */
ireturn
end local 4 // int hi
end local 3 // int lo
end local 2 // int size
end local 1 // int[] docStarts
end local 0 // int n
LocalVariableTable:
Start End Slot Name Signature
0 15 0 n I
0 15 1 docStarts [I
1 15 2 size I
2 15 3 lo I
3 15 4 hi I
5 13 5 mid I
6 13 6 midValue I
MethodParameters:
Name Flags
n
docStarts
public static int subIndex(int, java.util.List<org.apache.lucene.index.LeafReaderContext>);
descriptor: (ILjava/util/List;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=2
start local 0 // int n
start local 1 // java.util.List leaves
0: .line 73
aload 1 /* leaves */
invokeinterface java.util.List.size:()I
istore 2 /* size */
start local 2 // int size
1: .line 74
iconst_0
istore 3 /* lo */
start local 3 // int lo
2: .line 75
iload 2 /* size */
iconst_1
isub
istore 4 /* hi */
start local 4 // int hi
3: .line 76
goto 13
4: .line 77
StackMap locals: int int int
StackMap stack:
iload 3 /* lo */
iload 4 /* hi */
iadd
iconst_1
iushr
istore 5 /* mid */
start local 5 // int mid
5: .line 78
aload 1 /* leaves */
iload 5 /* mid */
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.lucene.index.LeafReaderContext
getfield org.apache.lucene.index.LeafReaderContext.docBase:I
istore 6 /* midValue */
start local 6 // int midValue
6: .line 79
iload 0 /* n */
iload 6 /* midValue */
if_icmpge 8
7: .line 80
iload 5 /* mid */
iconst_1
isub
istore 4 /* hi */
goto 13
8: .line 81
StackMap locals: int int
StackMap stack:
iload 0 /* n */
iload 6 /* midValue */
if_icmple 11
9: .line 82
iload 5 /* mid */
iconst_1
iadd
istore 3 /* lo */
goto 13
10: .line 85
StackMap locals:
StackMap stack:
iinc 5 /* mid */ 1
11: .line 84
StackMap locals:
StackMap stack:
iload 5 /* mid */
iconst_1
iadd
iload 2 /* size */
if_icmpge 12
aload 1 /* leaves */
iload 5 /* mid */
iconst_1
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.lucene.index.LeafReaderContext
getfield org.apache.lucene.index.LeafReaderContext.docBase:I
iload 6 /* midValue */
if_icmpeq 10
12: .line 87
StackMap locals:
StackMap stack:
iload 5 /* mid */
ireturn
end local 6 // int midValue
end local 5 // int mid
13: .line 76
StackMap locals:
StackMap stack:
iload 4 /* hi */
iload 3 /* lo */
if_icmpge 4
14: .line 90
iload 4 /* hi */
ireturn
end local 4 // int hi
end local 3 // int lo
end local 2 // int size
end local 1 // java.util.List leaves
end local 0 // int n
LocalVariableTable:
Start End Slot Name Signature
0 15 0 n I
0 15 1 leaves Ljava/util/List<Lorg/apache/lucene/index/LeafReaderContext;>;
1 15 2 size I
2 15 3 lo I
3 15 4 hi I
5 13 5 mid I
6 13 6 midValue I
Signature: (ILjava/util/List<Lorg/apache/lucene/index/LeafReaderContext;>;)I
MethodParameters:
Name Flags
n
leaves
}
SourceFile: "ReaderUtil.java"