public class org.apache.lucene.search.TermStatistics
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.search.TermStatistics
super_class: java.lang.Object
{
private final org.apache.lucene.util.BytesRef term;
descriptor: Lorg/apache/lucene/util/BytesRef;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long docFreq;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long totalTermFreq;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.apache.lucene.util.BytesRef, long, long);
descriptor: (Lorg/apache/lucene/util/BytesRef;JJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: lload 2
lconst_0
lcmp
ifgt 4
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "docFreq must be positive, docFreq: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 2
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: org.apache.lucene.search.TermStatistics org.apache.lucene.util.BytesRef long long
StackMap stack:
lload 4
lconst_0
lcmp
ifgt 6
5: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "totalTermFreq must be positive, totalTermFreq: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 4
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
lload 4
lload 2
lcmp
ifge 8
7: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "totalTermFreq must be at least docFreq, totalTermFreq: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 4
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ", docFreq: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 2
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.lucene.search.TermStatistics.term:Lorg/apache/lucene/util/BytesRef;
9: aload 0
lload 2
putfield org.apache.lucene.search.TermStatistics.docFreq:J
10: aload 0
lload 4
putfield org.apache.lucene.search.TermStatistics.totalTermFreq:J
11: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/lucene/search/TermStatistics;
0 12 1 term Lorg/apache/lucene/util/BytesRef;
0 12 2 docFreq J
0 12 4 totalTermFreq J
MethodParameters:
Name Flags
term
docFreq
totalTermFreq
public final org.apache.lucene.util.BytesRef term();
descriptor: ()Lorg/apache/lucene/util/BytesRef;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.TermStatistics.term:Lorg/apache/lucene/util/BytesRef;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/TermStatistics;
public final long docFreq();
descriptor: ()J
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.TermStatistics.docFreq:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/TermStatistics;
public final long totalTermFreq();
descriptor: ()J
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.TermStatistics.totalTermFreq:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/TermStatistics;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "term="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
3: aload 1
aload 0
invokevirtual org.apache.lucene.search.TermStatistics.term:()Lorg/apache/lucene/util/BytesRef;
invokestatic org.apache.lucene.index.Term.toString:(Lorg/apache/lucene/util/BytesRef;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 1
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
5: aload 1
ldc ",docFreq="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 1
aload 0
invokevirtual org.apache.lucene.search.TermStatistics.docFreq:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
7: aload 1
ldc ",totalTermFreq="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 1
aload 0
invokevirtual org.apache.lucene.search.TermStatistics.totalTermFreq:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
9: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/search/TermStatistics;
1 10 1 sb Ljava/lang/StringBuilder;
}
SourceFile: "TermStatistics.java"