public final class org.apache.lucene.index.Term implements java.lang.Comparable<org.apache.lucene.index.Term>, org.apache.lucene.util.Accountable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.index.Term
super_class: java.lang.Object
{
private static final long BASE_RAM_BYTES;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
java.lang.String field;
descriptor: Ljava/lang/String;
flags: (0x0000)
org.apache.lucene.util.BytesRef bytes;
descriptor: Lorg/apache/lucene/util/BytesRef;
flags: (0x0000)
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: ldc Lorg/apache/lucene/index/Term;
invokestatic org.apache.lucene.util.RamUsageEstimator.shallowSizeOfInstance:(Ljava/lang/Class;)J
1: ldc Lorg/apache/lucene/util/BytesRef;
invokestatic org.apache.lucene.util.RamUsageEstimator.shallowSizeOfInstance:(Ljava/lang/Class;)J
2: ladd
putstatic org.apache.lucene.index.Term.BASE_RAM_BYTES:J
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, org.apache.lucene.util.BytesRef);
descriptor: (Ljava/lang/String;Lorg/apache/lucene/util/BytesRef;)V
flags: (0x0001) ACC_PUBLIC
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
aload 1
putfield org.apache.lucene.index.Term.field:Ljava/lang/String;
2: aload 0
aload 2
ifnonnull 3
aconst_null
goto 4
StackMap locals: org.apache.lucene.index.Term java.lang.String org.apache.lucene.util.BytesRef
StackMap stack: org.apache.lucene.index.Term
3: aload 2
invokestatic org.apache.lucene.util.BytesRef.deepCopyOf:(Lorg/apache/lucene/util/BytesRef;)Lorg/apache/lucene/util/BytesRef;
StackMap locals: org.apache.lucene.index.Term java.lang.String org.apache.lucene.util.BytesRef
StackMap stack: org.apache.lucene.index.Term org.apache.lucene.util.BytesRef
4: putfield org.apache.lucene.index.Term.bytes:Lorg/apache/lucene/util/BytesRef;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/index/Term;
0 6 1 fld Ljava/lang/String;
0 6 2 bytes Lorg/apache/lucene/util/BytesRef;
MethodParameters:
Name Flags
fld
bytes
public void <init>(java.lang.String, org.apache.lucene.util.BytesRefBuilder);
descriptor: (Ljava/lang/String;Lorg/apache/lucene/util/BytesRefBuilder;)V
flags: (0x0001) ACC_PUBLIC
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
aload 1
putfield org.apache.lucene.index.Term.field:Ljava/lang/String;
2: aload 0
aload 2
invokevirtual org.apache.lucene.util.BytesRefBuilder.toBytesRef:()Lorg/apache/lucene/util/BytesRef;
putfield org.apache.lucene.index.Term.bytes:Lorg/apache/lucene/util/BytesRef;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/Term;
0 4 1 fld Ljava/lang/String;
0 4 2 bytesBuilder Lorg/apache/lucene/util/BytesRefBuilder;
MethodParameters:
Name Flags
fld
bytesBuilder
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
new org.apache.lucene.util.BytesRef
dup
aload 2
invokespecial org.apache.lucene.util.BytesRef.<init>:(Ljava/lang/CharSequence;)V
invokespecial org.apache.lucene.index.Term.<init>:(Ljava/lang/String;Lorg/apache/lucene/util/BytesRef;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/Term;
0 2 1 fld Ljava/lang/String;
0 2 2 text Ljava/lang/String;
MethodParameters:
Name Flags
fld
text
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
new org.apache.lucene.util.BytesRef
dup
invokespecial org.apache.lucene.util.BytesRef.<init>:()V
invokespecial org.apache.lucene.index.Term.<init>:(Ljava/lang/String;Lorg/apache/lucene/util/BytesRef;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/Term;
0 2 1 fld Ljava/lang/String;
MethodParameters:
Name Flags
fld
public final java.lang.String field();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.Term.field:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/Term;
public final java.lang.String text();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.Term.bytes:Lorg/apache/lucene/util/BytesRef;
invokestatic org.apache.lucene.index.Term.toString:(Lorg/apache/lucene/util/BytesRef;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/Term;
public static final java.lang.String toString(org.apache.lucene.util.BytesRef);
descriptor: (Lorg/apache/lucene/util/BytesRef;)Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=1
start local 0 0: getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.newDecoder:()Ljava/nio/charset/CharsetDecoder;
1: getstatic java.nio.charset.CodingErrorAction.REPORT:Ljava/nio/charset/CodingErrorAction;
invokevirtual java.nio.charset.CharsetDecoder.onMalformedInput:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;
2: getstatic java.nio.charset.CodingErrorAction.REPORT:Ljava/nio/charset/CodingErrorAction;
invokevirtual java.nio.charset.CharsetDecoder.onUnmappableCharacter:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;
3: astore 1
start local 1 4: aload 1
aload 0
getfield org.apache.lucene.util.BytesRef.bytes:[B
aload 0
getfield org.apache.lucene.util.BytesRef.offset:I
aload 0
getfield org.apache.lucene.util.BytesRef.length:I
invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
invokevirtual java.nio.charset.CharsetDecoder.decode:(Ljava/nio/ByteBuffer;)Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.toString:()Ljava/lang/String;
5: areturn
6: StackMap locals: org.apache.lucene.util.BytesRef java.nio.charset.CharsetDecoder
StackMap stack: java.nio.charset.CharacterCodingException
pop
7: aload 0
invokevirtual org.apache.lucene.util.BytesRef.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 termText Lorg/apache/lucene/util/BytesRef;
4 8 1 decoder Ljava/nio/charset/CharsetDecoder;
Exception table:
from to target type
4 5 6 Class java.nio.charset.CharacterCodingException
MethodParameters:
Name Flags
termText
public final org.apache.lucene.util.BytesRef bytes();
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.index.Term.bytes:Lorg/apache/lucene/util/BytesRef;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/Term;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.lucene.index.Term
astore 2
start local 2 7: aload 0
getfield org.apache.lucene.index.Term.field:Ljava/lang/String;
ifnonnull 10
8: aload 2
getfield org.apache.lucene.index.Term.field:Ljava/lang/String;
ifnull 12
9: iconst_0
ireturn
10: StackMap locals: org.apache.lucene.index.Term
StackMap stack:
aload 0
getfield org.apache.lucene.index.Term.field:Ljava/lang/String;
aload 2
getfield org.apache.lucene.index.Term.field:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.Term.bytes:Lorg/apache/lucene/util/BytesRef;
ifnonnull 15
13: aload 2
getfield org.apache.lucene.index.Term.bytes:Lorg/apache/lucene/util/BytesRef;
ifnull 17
14: iconst_0
ireturn
15: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.Term.bytes:Lorg/apache/lucene/util/BytesRef;
aload 2
getfield org.apache.lucene.index.Term.bytes:Lorg/apache/lucene/util/BytesRef;
invokevirtual org.apache.lucene.util.BytesRef.equals:(Ljava/lang/Object;)Z
ifne 17
16: iconst_0
ireturn
17: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/lucene/index/Term;
0 18 1 obj Ljava/lang/Object;
7 18 2 other Lorg/apache/lucene/index/Term;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield org.apache.lucene.index.Term.field:Ljava/lang/String;
ifnonnull 2
iconst_0
goto 3
StackMap locals: org.apache.lucene.index.Term int
StackMap stack: int
2: aload 0
getfield org.apache.lucene.index.Term.field:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
StackMap locals: org.apache.lucene.index.Term int
StackMap stack: int int
3: iadd
istore 1
4: bipush 31
iload 1
imul
aload 0
getfield org.apache.lucene.index.Term.bytes:Lorg/apache/lucene/util/BytesRef;
ifnonnull 5
iconst_0
goto 6
StackMap locals:
StackMap stack: int
5: aload 0
getfield org.apache.lucene.index.Term.bytes:Lorg/apache/lucene/util/BytesRef;
invokevirtual org.apache.lucene.util.BytesRef.hashCode:()I
StackMap locals: org.apache.lucene.index.Term int
StackMap stack: int int
6: iadd
istore 1
7: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/lucene/index/Term;
1 8 1 result I
public final int compareTo(org.apache.lucene.index.Term);
descriptor: (Lorg/apache/lucene/index/Term;)I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.index.Term.field:Ljava/lang/String;
aload 1
getfield org.apache.lucene.index.Term.field:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
getfield org.apache.lucene.index.Term.bytes:Lorg/apache/lucene/util/BytesRef;
aload 1
getfield org.apache.lucene.index.Term.bytes:Lorg/apache/lucene/util/BytesRef;
invokevirtual org.apache.lucene.util.BytesRef.compareTo:(Lorg/apache/lucene/util/BytesRef;)I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.Term.field:Ljava/lang/String;
aload 1
getfield org.apache.lucene.index.Term.field:Ljava/lang/String;
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/Term;
0 3 1 other Lorg/apache/lucene/index/Term;
MethodParameters:
Name Flags
other
final void set(java.lang.String, org.apache.lucene.util.BytesRef);
descriptor: (Ljava/lang/String;Lorg/apache/lucene/util/BytesRef;)V
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
putfield org.apache.lucene.index.Term.field:Ljava/lang/String;
1: aload 0
aload 2
putfield org.apache.lucene.index.Term.bytes:Lorg/apache/lucene/util/BytesRef;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/Term;
0 3 1 fld Ljava/lang/String;
0 3 2 bytes Lorg/apache/lucene/util/BytesRef;
MethodParameters:
Name Flags
fld
bytes
public final java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield org.apache.lucene.index.Term.field:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.apache.lucene.index.Term.text:()Ljava/lang/String;
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/index/Term;
public long ramBytesUsed();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic org.apache.lucene.index.Term.BASE_RAM_BYTES:J
1: aload 0
getfield org.apache.lucene.index.Term.field:Ljava/lang/String;
invokestatic org.apache.lucene.util.RamUsageEstimator.sizeOfObject:(Ljava/lang/Object;)J
2: ladd
3: aload 0
getfield org.apache.lucene.index.Term.bytes:Lorg/apache/lucene/util/BytesRef;
ifnull 4
aload 0
getfield org.apache.lucene.index.Term.bytes:Lorg/apache/lucene/util/BytesRef;
getfield org.apache.lucene.util.BytesRef.bytes:[B
arraylength
getstatic org.apache.lucene.util.RamUsageEstimator.NUM_BYTES_ARRAY_HEADER:I
iadd
i2l
invokestatic org.apache.lucene.util.RamUsageEstimator.alignObjectSize:(J)J
goto 5
StackMap locals:
StackMap stack: long
4: lconst_0
5: StackMap locals: org.apache.lucene.index.Term
StackMap stack: long long
ladd
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/index/Term;
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.apache.lucene.index.Term
invokevirtual org.apache.lucene.index.Term.compareTo:(Lorg/apache/lucene/index/Term;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/lang/Comparable<Lorg/apache/lucene/index/Term;>;Lorg/apache/lucene/util/Accountable;
SourceFile: "Term.java"