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 // org.apache.lucene.search.TopDocs$ShardRef this
        start local 1 // int shardIndex
        start local 2 // boolean useScoreDocIndex
         0: .line 48
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 49
            aload 0 /* this */
            iload 1 /* shardIndex */
            putfield org.apache.lucene.search.TopDocs$ShardRef.shardIndex:I
         2: .line 50
            aload 0 /* this */
            iload 2 /* useScoreDocIndex */
            putfield org.apache.lucene.search.TopDocs$ShardRef.useScoreDocIndex:Z
         3: .line 51
            return
        end local 2 // boolean useScoreDocIndex
        end local 1 // int shardIndex
        end local 0 // org.apache.lucene.search.TopDocs$ShardRef this
      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 // org.apache.lucene.search.TopDocs$ShardRef this
         0: .line 55
            new java.lang.StringBuilder
            dup
            ldc "ShardRef(shardIndex="
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            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 /* this */
            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 // org.apache.lucene.search.TopDocs$ShardRef this
      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 // org.apache.lucene.search.TopDocs$ShardRef this
        start local 1 // org.apache.lucene.search.ScoreDoc scoreDoc
         0: .line 59
            aload 0 /* this */
            getfield org.apache.lucene.search.TopDocs$ShardRef.useScoreDocIndex:Z
            ifeq 4
         1: .line 60
            aload 1 /* scoreDoc */
            getfield org.apache.lucene.search.ScoreDoc.shardIndex:I
            iconst_m1
            if_icmpne 3
         2: .line 61
            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 /* this */
            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 /* this */
            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: .line 63
      StackMap locals:
      StackMap stack:
            aload 1 /* scoreDoc */
            getfield org.apache.lucene.search.ScoreDoc.shardIndex:I
            ireturn
         4: .line 66
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.search.TopDocs$ShardRef.shardIndex:I
            ireturn
        end local 1 // org.apache.lucene.search.ScoreDoc scoreDoc
        end local 0 // org.apache.lucene.search.TopDocs$ShardRef this
      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