public class org.apache.lucene.document.Field implements org.apache.lucene.index.IndexableField
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.document.Field
super_class: java.lang.Object
{
protected final org.apache.lucene.index.IndexableFieldType type;
descriptor: Lorg/apache/lucene/index/IndexableFieldType;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected java.lang.Object fieldsData;
descriptor: Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
protected org.apache.lucene.analysis.TokenStream tokenStream;
descriptor: Lorg/apache/lucene/analysis/TokenStream;
flags: (0x0004) ACC_PROTECTED
protected void <init>(java.lang.String, org.apache.lucene.index.IndexableFieldType);
descriptor: (Ljava/lang/String;Lorg/apache/lucene/index/IndexableFieldType;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, 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 1
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "name must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.apache.lucene.document.Field java.lang.String org.apache.lucene.index.IndexableFieldType
StackMap stack:
aload 0
aload 1
putfield org.apache.lucene.document.Field.name:Ljava/lang/String;
4: aload 2
ifnonnull 6
5: new java.lang.IllegalArgumentException
dup
ldc "type must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield org.apache.lucene.document.Field.type:Lorg/apache/lucene/index/IndexableFieldType;
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/lucene/document/Field;
0 8 1 name Ljava/lang/String;
0 8 2 type Lorg/apache/lucene/index/IndexableFieldType;
MethodParameters:
Name Flags
name
type
public void <init>(java.lang.String, java.io.Reader, org.apache.lucene.index.IndexableFieldType);
descriptor: (Ljava/lang/String;Ljava/io/Reader;Lorg/apache/lucene/index/IndexableFieldType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "name must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.apache.lucene.document.Field java.lang.String java.io.Reader org.apache.lucene.index.IndexableFieldType
StackMap stack:
aload 3
ifnonnull 5
4: new java.lang.IllegalArgumentException
dup
ldc "type must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 2
ifnonnull 7
6: new java.lang.NullPointerException
dup
ldc "reader must not be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.apache.lucene.index.IndexableFieldType.stored:()Z
ifeq 9
8: new java.lang.IllegalArgumentException
dup
ldc "fields with a Reader value cannot be stored"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.apache.lucene.index.IndexableFieldType.indexOptions:()Lorg/apache/lucene/index/IndexOptions;
getstatic org.apache.lucene.index.IndexOptions.NONE:Lorg/apache/lucene/index/IndexOptions;
if_acmpeq 11
aload 3
invokeinterface org.apache.lucene.index.IndexableFieldType.tokenized:()Z
ifne 11
10: new java.lang.IllegalArgumentException
dup
ldc "non-tokenized fields must use String values"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.lucene.document.Field.name:Ljava/lang/String;
12: aload 0
aload 2
putfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
13: aload 0
aload 3
putfield org.apache.lucene.document.Field.type:Lorg/apache/lucene/index/IndexableFieldType;
14: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/lucene/document/Field;
0 15 1 name Ljava/lang/String;
0 15 2 reader Ljava/io/Reader;
0 15 3 type Lorg/apache/lucene/index/IndexableFieldType;
MethodParameters:
Name Flags
name
reader
type
public void <init>(java.lang.String, org.apache.lucene.analysis.TokenStream, org.apache.lucene.index.IndexableFieldType);
descriptor: (Ljava/lang/String;Lorg/apache/lucene/analysis/TokenStream;Lorg/apache/lucene/index/IndexableFieldType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "name must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.apache.lucene.document.Field java.lang.String org.apache.lucene.analysis.TokenStream org.apache.lucene.index.IndexableFieldType
StackMap stack:
aload 2
ifnonnull 5
4: new java.lang.NullPointerException
dup
ldc "tokenStream must not be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.apache.lucene.index.IndexableFieldType.indexOptions:()Lorg/apache/lucene/index/IndexOptions;
getstatic org.apache.lucene.index.IndexOptions.NONE:Lorg/apache/lucene/index/IndexOptions;
if_acmpeq 6
aload 3
invokeinterface org.apache.lucene.index.IndexableFieldType.tokenized:()Z
ifne 7
6: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "TokenStream fields must be indexed and tokenized"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.apache.lucene.index.IndexableFieldType.stored:()Z
ifeq 9
8: new java.lang.IllegalArgumentException
dup
ldc "TokenStream fields cannot be stored"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.lucene.document.Field.name:Ljava/lang/String;
10: aload 0
aconst_null
putfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
11: aload 0
aload 2
putfield org.apache.lucene.document.Field.tokenStream:Lorg/apache/lucene/analysis/TokenStream;
12: aload 0
aload 3
putfield org.apache.lucene.document.Field.type:Lorg/apache/lucene/index/IndexableFieldType;
13: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/lucene/document/Field;
0 14 1 name Ljava/lang/String;
0 14 2 tokenStream Lorg/apache/lucene/analysis/TokenStream;
0 14 3 type Lorg/apache/lucene/index/IndexableFieldType;
MethodParameters:
Name Flags
name
tokenStream
type
public void <init>(java.lang.String, byte[], org.apache.lucene.index.IndexableFieldType);
descriptor: (Ljava/lang/String;[BLorg/apache/lucene/index/IndexableFieldType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iconst_0
aload 2
arraylength
aload 3
invokespecial org.apache.lucene.document.Field.<init>:(Ljava/lang/String;[BIILorg/apache/lucene/index/IndexableFieldType;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/document/Field;
0 2 1 name Ljava/lang/String;
0 2 2 value [B
0 2 3 type Lorg/apache/lucene/index/IndexableFieldType;
MethodParameters:
Name Flags
name
value
type
public void <init>(java.lang.String, byte[], int, int, org.apache.lucene.index.IndexableFieldType);
descriptor: (Ljava/lang/String;[BIILorg/apache/lucene/index/IndexableFieldType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
ifnull 1
new org.apache.lucene.util.BytesRef
dup
aload 2
iload 3
iload 4
invokespecial org.apache.lucene.util.BytesRef.<init>:([BII)V
goto 2
StackMap locals: uninitialized-this java.lang.String byte[] int int org.apache.lucene.index.IndexableFieldType
StackMap stack: uninitialized-this java.lang.String
1: aconst_null
StackMap locals: uninitialized-this java.lang.String byte[] int int org.apache.lucene.index.IndexableFieldType
StackMap stack: uninitialized-this java.lang.String org.apache.lucene.util.BytesRef
2: aload 5
invokespecial org.apache.lucene.document.Field.<init>:(Ljava/lang/String;Lorg/apache/lucene/util/BytesRef;Lorg/apache/lucene/index/IndexableFieldType;)V
3: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/document/Field;
0 4 1 name Ljava/lang/String;
0 4 2 value [B
0 4 3 offset I
0 4 4 length I
0 4 5 type Lorg/apache/lucene/index/IndexableFieldType;
MethodParameters:
Name Flags
name
value
offset
length
type
public void <init>(java.lang.String, org.apache.lucene.util.BytesRef, org.apache.lucene.index.IndexableFieldType);
descriptor: (Ljava/lang/String;Lorg/apache/lucene/util/BytesRef;Lorg/apache/lucene/index/IndexableFieldType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "name must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.apache.lucene.document.Field java.lang.String org.apache.lucene.util.BytesRef org.apache.lucene.index.IndexableFieldType
StackMap stack:
aload 2
ifnonnull 5
4: new java.lang.IllegalArgumentException
dup
ldc "bytes must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 3
ifnonnull 7
6: new java.lang.IllegalArgumentException
dup
ldc "type must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.lucene.document.Field.name:Ljava/lang/String;
8: aload 0
aload 2
putfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
9: aload 0
aload 3
putfield org.apache.lucene.document.Field.type:Lorg/apache/lucene/index/IndexableFieldType;
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/lucene/document/Field;
0 11 1 name Ljava/lang/String;
0 11 2 bytes Lorg/apache/lucene/util/BytesRef;
0 11 3 type Lorg/apache/lucene/index/IndexableFieldType;
MethodParameters:
Name Flags
name
bytes
type
public void <init>(java.lang.String, java.lang.CharSequence, org.apache.lucene.index.IndexableFieldType);
descriptor: (Ljava/lang/String;Ljava/lang/CharSequence;Lorg/apache/lucene/index/IndexableFieldType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "name must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.apache.lucene.document.Field java.lang.String java.lang.CharSequence org.apache.lucene.index.IndexableFieldType
StackMap stack:
aload 2
ifnonnull 5
4: new java.lang.IllegalArgumentException
dup
ldc "value must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 3
ifnonnull 7
6: new java.lang.IllegalArgumentException
dup
ldc "type must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.apache.lucene.index.IndexableFieldType.stored:()Z
ifne 9
aload 3
invokeinterface org.apache.lucene.index.IndexableFieldType.indexOptions:()Lorg/apache/lucene/index/IndexOptions;
getstatic org.apache.lucene.index.IndexOptions.NONE:Lorg/apache/lucene/index/IndexOptions;
if_acmpne 9
8: new java.lang.IllegalArgumentException
dup
ldc "it doesn't make sense to have a field that is neither indexed nor stored"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.lucene.document.Field.name:Ljava/lang/String;
10: aload 0
aload 2
putfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
11: aload 0
aload 3
putfield org.apache.lucene.document.Field.type:Lorg/apache/lucene/index/IndexableFieldType;
12: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/lucene/document/Field;
0 13 1 name Ljava/lang/String;
0 13 2 value Ljava/lang/CharSequence;
0 13 3 type Lorg/apache/lucene/index/IndexableFieldType;
MethodParameters:
Name Flags
name
value
type
public java.lang.String stringValue();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
instanceof java.lang.CharSequence
ifne 1
aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
instanceof java.lang.Number
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/document/Field;
public java.lang.CharSequence getCharSequenceValue();
descriptor: ()Ljava/lang/CharSequence;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
instanceof java.lang.CharSequence
ifeq 2
1: aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
checkcast java.lang.CharSequence
goto 3
StackMap locals:
StackMap stack:
2: aload 0
invokevirtual org.apache.lucene.document.Field.stringValue:()Ljava/lang/String;
3: StackMap locals:
StackMap stack: java.lang.CharSequence
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/document/Field;
public java.io.Reader readerValue();
descriptor: ()Ljava/io/Reader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
instanceof java.io.Reader
ifeq 1
aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
checkcast java.io.Reader
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: java.io.Reader
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/document/Field;
public org.apache.lucene.analysis.TokenStream tokenStreamValue();
descriptor: ()Lorg/apache/lucene/analysis/TokenStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.document.Field.tokenStream:Lorg/apache/lucene/analysis/TokenStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/document/Field;
public void setStringValue(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
instanceof java.lang.String
ifne 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "cannot change value type from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " to String"
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
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
ldc "value must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/document/Field;
0 6 1 value Ljava/lang/String;
MethodParameters:
Name Flags
value
public void setReaderValue(java.io.Reader);
descriptor: (Ljava/io/Reader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
instanceof java.io.Reader
ifne 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "cannot change value type from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " to Reader"
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
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/document/Field;
0 4 1 value Ljava/io/Reader;
MethodParameters:
Name Flags
value
public void setBytesValue(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.apache.lucene.util.BytesRef
dup
aload 1
invokespecial org.apache.lucene.util.BytesRef.<init>:([B)V
invokevirtual org.apache.lucene.document.Field.setBytesValue:(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/document/Field;
0 2 1 value [B
MethodParameters:
Name Flags
value
public void setBytesValue(org.apache.lucene.util.BytesRef);
descriptor: (Lorg/apache/lucene/util/BytesRef;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
instanceof org.apache.lucene.util.BytesRef
ifne 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "cannot change value type from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " to BytesRef"
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
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.document.Field.type:Lorg/apache/lucene/index/IndexableFieldType;
invokeinterface org.apache.lucene.index.IndexableFieldType.indexOptions:()Lorg/apache/lucene/index/IndexOptions;
getstatic org.apache.lucene.index.IndexOptions.NONE:Lorg/apache/lucene/index/IndexOptions;
if_acmpeq 4
3: new java.lang.IllegalArgumentException
dup
ldc "cannot set a BytesRef value on an indexed field"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
ifnonnull 6
5: new java.lang.IllegalArgumentException
dup
ldc "value must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/lucene/document/Field;
0 8 1 value Lorg/apache/lucene/util/BytesRef;
MethodParameters:
Name Flags
value
public void setByteValue(byte);
descriptor: (B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
instanceof java.lang.Byte
ifne 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "cannot change value type from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " to Byte"
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
2: StackMap locals:
StackMap stack:
aload 0
iload 1
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
putfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/document/Field;
0 4 1 value B
MethodParameters:
Name Flags
value
public void setShortValue(short);
descriptor: (S)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
instanceof java.lang.Short
ifne 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "cannot change value type from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " to Short"
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
2: StackMap locals:
StackMap stack:
aload 0
iload 1
invokestatic java.lang.Short.valueOf:(S)Ljava/lang/Short;
putfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/document/Field;
0 4 1 value S
MethodParameters:
Name Flags
value
public void setIntValue(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
instanceof java.lang.Integer
ifne 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "cannot change value type from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " to Integer"
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
2: StackMap locals:
StackMap stack:
aload 0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/document/Field;
0 4 1 value I
MethodParameters:
Name Flags
value
public void setLongValue(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
instanceof java.lang.Long
ifne 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "cannot change value type from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " to Long"
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
2: StackMap locals:
StackMap stack:
aload 0
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
putfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/document/Field;
0 4 1 value J
MethodParameters:
Name Flags
value
public void setFloatValue(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
instanceof java.lang.Float
ifne 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "cannot change value type from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " to Float"
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
2: StackMap locals:
StackMap stack:
aload 0
fload 1
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
putfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/document/Field;
0 4 1 value F
MethodParameters:
Name Flags
value
public void setDoubleValue(double);
descriptor: (D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
instanceof java.lang.Double
ifne 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "cannot change value type from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " to Double"
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
2: StackMap locals:
StackMap stack:
aload 0
dload 1
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
putfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/document/Field;
0 4 1 value D
MethodParameters:
Name Flags
value
public void setTokenStream(org.apache.lucene.analysis.TokenStream);
descriptor: (Lorg/apache/lucene/analysis/TokenStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.document.Field.type:Lorg/apache/lucene/index/IndexableFieldType;
invokeinterface org.apache.lucene.index.IndexableFieldType.indexOptions:()Lorg/apache/lucene/index/IndexOptions;
getstatic org.apache.lucene.index.IndexOptions.NONE:Lorg/apache/lucene/index/IndexOptions;
if_acmpeq 1
aload 0
getfield org.apache.lucene.document.Field.type:Lorg/apache/lucene/index/IndexableFieldType;
invokeinterface org.apache.lucene.index.IndexableFieldType.tokenized:()Z
ifne 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "TokenStream fields must be indexed and tokenized"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.lucene.document.Field.tokenStream:Lorg/apache/lucene/analysis/TokenStream;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/document/Field;
0 4 1 tokenStream Lorg/apache/lucene/analysis/TokenStream;
MethodParameters:
Name Flags
tokenStream
public java.lang.String name();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.document.Field.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/document/Field;
public java.lang.Number numericValue();
descriptor: ()Ljava/lang/Number;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
instanceof java.lang.Number
ifeq 2
1: aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
checkcast java.lang.Number
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/document/Field;
public org.apache.lucene.util.BytesRef binaryValue();
descriptor: ()Lorg/apache/lucene/util/BytesRef;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
instanceof org.apache.lucene.util.BytesRef
ifeq 2
1: aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
checkcast org.apache.lucene.util.BytesRef
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/document/Field;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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
aload 0
getfield org.apache.lucene.document.Field.type:Lorg/apache/lucene/index/IndexableFieldType;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
bipush 60
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
3: aload 1
aload 0
getfield org.apache.lucene.document.Field.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 1
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
5: aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
ifnull 7
6: aload 1
aload 0
getfield org.apache.lucene.document.Field.fieldsData:Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
7: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
bipush 62
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
8: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/document/Field;
1 9 1 result Ljava/lang/StringBuilder;
public org.apache.lucene.index.IndexableFieldType fieldType();
descriptor: ()Lorg/apache/lucene/index/IndexableFieldType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.document.Field.type:Lorg/apache/lucene/index/IndexableFieldType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/document/Field;
public org.apache.lucene.analysis.TokenStream tokenStream(org.apache.lucene.analysis.Analyzer, org.apache.lucene.analysis.TokenStream);
descriptor: (Lorg/apache/lucene/analysis/Analyzer;Lorg/apache/lucene/analysis/TokenStream;)Lorg/apache/lucene/analysis/TokenStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.apache.lucene.document.Field.fieldType:()Lorg/apache/lucene/index/IndexableFieldType;
invokeinterface org.apache.lucene.index.IndexableFieldType.indexOptions:()Lorg/apache/lucene/index/IndexOptions;
getstatic org.apache.lucene.index.IndexOptions.NONE:Lorg/apache/lucene/index/IndexOptions;
if_acmpne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.document.Field.fieldType:()Lorg/apache/lucene/index/IndexableFieldType;
invokeinterface org.apache.lucene.index.IndexableFieldType.tokenized:()Z
ifne 14
3: aload 0
invokevirtual org.apache.lucene.document.Field.stringValue:()Ljava/lang/String;
ifnull 8
4: aload 2
instanceof org.apache.lucene.document.Field$StringTokenStream
ifne 6
5: new org.apache.lucene.document.Field$StringTokenStream
dup
invokespecial org.apache.lucene.document.Field$StringTokenStream.<init>:()V
astore 2
6: StackMap locals:
StackMap stack:
aload 2
checkcast org.apache.lucene.document.Field$StringTokenStream
aload 0
invokevirtual org.apache.lucene.document.Field.stringValue:()Ljava/lang/String;
invokevirtual org.apache.lucene.document.Field$StringTokenStream.setValue:(Ljava/lang/String;)V
7: aload 2
areturn
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.document.Field.binaryValue:()Lorg/apache/lucene/util/BytesRef;
ifnull 13
9: aload 2
instanceof org.apache.lucene.document.Field$BinaryTokenStream
ifne 11
10: new org.apache.lucene.document.Field$BinaryTokenStream
dup
invokespecial org.apache.lucene.document.Field$BinaryTokenStream.<init>:()V
astore 2
11: StackMap locals:
StackMap stack:
aload 2
checkcast org.apache.lucene.document.Field$BinaryTokenStream
aload 0
invokevirtual org.apache.lucene.document.Field.binaryValue:()Lorg/apache/lucene/util/BytesRef;
invokevirtual org.apache.lucene.document.Field$BinaryTokenStream.setValue:(Lorg/apache/lucene/util/BytesRef;)V
12: aload 2
areturn
13: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Non-Tokenized Fields must have a String value"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.document.Field.tokenStream:Lorg/apache/lucene/analysis/TokenStream;
ifnull 16
15: aload 0
getfield org.apache.lucene.document.Field.tokenStream:Lorg/apache/lucene/analysis/TokenStream;
areturn
16: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.document.Field.readerValue:()Ljava/io/Reader;
ifnull 18
17: aload 1
aload 0
invokevirtual org.apache.lucene.document.Field.name:()Ljava/lang/String;
aload 0
invokevirtual org.apache.lucene.document.Field.readerValue:()Ljava/io/Reader;
invokevirtual org.apache.lucene.analysis.Analyzer.tokenStream:(Ljava/lang/String;Ljava/io/Reader;)Lorg/apache/lucene/analysis/TokenStream;
areturn
18: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.document.Field.stringValue:()Ljava/lang/String;
ifnull 20
19: aload 1
aload 0
invokevirtual org.apache.lucene.document.Field.name:()Ljava/lang/String;
aload 0
invokevirtual org.apache.lucene.document.Field.stringValue:()Ljava/lang/String;
invokevirtual org.apache.lucene.analysis.Analyzer.tokenStream:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/lucene/analysis/TokenStream;
areturn
20: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Field must have either TokenStream, String, Reader or Number value; got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/apache/lucene/document/Field;
0 21 1 analyzer Lorg/apache/lucene/analysis/Analyzer;
0 21 2 reuse Lorg/apache/lucene/analysis/TokenStream;
MethodParameters:
Name Flags
analyzer
reuse
}
SourceFile: "Field.java"
NestMembers:
org.apache.lucene.document.Field$BinaryTokenStream org.apache.lucene.document.Field$Store org.apache.lucene.document.Field$StringTokenStream
InnerClasses:
private final BinaryTokenStream = org.apache.lucene.document.Field$BinaryTokenStream of org.apache.lucene.document.Field
public final Store = org.apache.lucene.document.Field$Store of org.apache.lucene.document.Field
private final StringTokenStream = org.apache.lucene.document.Field$StringTokenStream of org.apache.lucene.document.Field