final class org.apache.lucene.search.TopDocs$ShardRef
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.search.TopDocs$ShardRef
super_class: java.lang.Object
{
final int shardIndex;
descriptor: I
flags: (0x0010) ACC_FINAL
final boolean useScoreDocIndex;
descriptor: Z
flags: (0x0010) ACC_FINAL
int hitIndex;
descriptor: I
flags: (0x0000)
void <init>(int, boolean);
descriptor: (IZ)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield org.apache.lucene.search.TopDocs$ShardRef.shardIndex:I
2: aload 0
iload 2
putfield org.apache.lucene.search.TopDocs$ShardRef.useScoreDocIndex:Z
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/search/TopDocs$ShardRef;
0 4 1 shardIndex I
0 4 2 useScoreDocIndex Z
MethodParameters:
Name Flags
shardIndex
useScoreDocIndex
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "ShardRef(shardIndex="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.search.TopDocs$ShardRef.shardIndex:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " hitIndex="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.search.TopDocs$ShardRef.hitIndex:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/TopDocs$ShardRef;
int getShardIndex(org.apache.lucene.search.ScoreDoc);
descriptor: (Lorg/apache/lucene/search/ScoreDoc;)I
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.search.TopDocs$ShardRef.useScoreDocIndex:Z
ifeq 4
1: aload 1
getfield org.apache.lucene.search.ScoreDoc.shardIndex:I
iconst_m1
if_icmpne 3
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "setShardIndex is false but TopDocs["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.search.TopDocs$ShardRef.shardIndex:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "].scoreDocs["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.search.TopDocs$ShardRef.hitIndex:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "] is not set"
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
3: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.lucene.search.ScoreDoc.shardIndex:I
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.TopDocs$ShardRef.shardIndex:I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/search/TopDocs$ShardRef;
0 5 1 scoreDoc Lorg/apache/lucene/search/ScoreDoc;
MethodParameters:
Name Flags
scoreDoc
}
SourceFile: "TopDocs.java"
NestHost: org.apache.lucene.search.TopDocs
InnerClasses:
private final ShardRef = org.apache.lucene.search.TopDocs$ShardRef of org.apache.lucene.search.TopDocs