public final class org.apache.lucene.document.Document implements java.lang.Iterable<org.apache.lucene.index.IndexableField>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.document.Document
super_class: java.lang.Object
{
private final java.util.List<org.apache.lucene.index.IndexableField> fields;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/lucene/index/IndexableField;>;
private static final java.lang.String[] NO_STRINGS;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
anewarray java.lang.String
putstatic org.apache.lucene.document.Document.NO_STRINGS:[Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.lucene.document.Document.fields:Ljava/util/List;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/document/Document;
public java.util.Iterator<org.apache.lucene.index.IndexableField> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.document.Document.fields:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/document/Document;
Signature: ()Ljava/util/Iterator<Lorg/apache/lucene/index/IndexableField;>;
public final void add(org.apache.lucene.index.IndexableField);
descriptor: (Lorg/apache/lucene/index/IndexableField;)V
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.document.Document.fields:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/document/Document;
0 2 1 field Lorg/apache/lucene/index/IndexableField;
MethodParameters:
Name Flags
field
public final void removeField(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.document.Document.fields:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
start local 2 1: goto 6
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.IndexableField
astore 3
start local 3 3: aload 3
invokeinterface org.apache.lucene.index.IndexableField.name:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: aload 2
invokeinterface java.util.Iterator.remove:()V
5: return
end local 3 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
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/Document;
0 8 1 name Ljava/lang/String;
1 8 2 it Ljava/util/Iterator<Lorg/apache/lucene/index/IndexableField;>;
3 6 3 field Lorg/apache/lucene/index/IndexableField;
MethodParameters:
Name Flags
name
public final void removeFields(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.document.Document.fields:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
start local 2 1: goto 5
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.IndexableField
astore 3
start local 3 3: aload 3
invokeinterface org.apache.lucene.index.IndexableField.name:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: aload 2
invokeinterface java.util.Iterator.remove:()V
end local 3 5: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/document/Document;
0 7 1 name Ljava/lang/String;
1 7 2 it Ljava/util/Iterator<Lorg/apache/lucene/index/IndexableField;>;
3 5 3 field Lorg/apache/lucene/index/IndexableField;
MethodParameters:
Name Flags
name
public final org.apache.lucene.util.BytesRef[] getBinaryValues(java.lang.String);
descriptor: (Ljava/lang/String;)[Lorg/apache/lucene/util/BytesRef;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 0
getfield org.apache.lucene.document.Document.fields:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: org.apache.lucene.document.Document java.lang.String java.util.List top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.IndexableField
astore 3
start local 3 3: aload 3
invokeinterface org.apache.lucene.index.IndexableField.name:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
4: aload 3
invokeinterface org.apache.lucene.index.IndexableField.binaryValue:()Lorg/apache/lucene/util/BytesRef;
astore 5
start local 5 5: aload 5
ifnull 7
6: aload 2
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: aload 2
aload 2
invokeinterface java.util.List.size:()I
anewarray org.apache.lucene.util.BytesRef
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.apache.lucene.util.BytesRef[]
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/document/Document;
0 9 1 name Ljava/lang/String;
1 9 2 result Ljava/util/List<Lorg/apache/lucene/util/BytesRef;>;
3 7 3 field Lorg/apache/lucene/index/IndexableField;
5 7 5 bytes Lorg/apache/lucene/util/BytesRef;
MethodParameters:
Name Flags
name
public final org.apache.lucene.util.BytesRef getBinaryValue(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/lucene/util/BytesRef;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.document.Document.fields:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: org.apache.lucene.document.Document java.lang.String top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.IndexableField
astore 2
start local 2 2: aload 2
invokeinterface org.apache.lucene.index.IndexableField.name:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
3: aload 2
invokeinterface org.apache.lucene.index.IndexableField.binaryValue:()Lorg/apache/lucene/util/BytesRef;
astore 4
start local 4 4: aload 4
ifnull 6
5: aload 4
areturn
end local 4 end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
7: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/lucene/document/Document;
0 8 1 name Ljava/lang/String;
2 6 2 field Lorg/apache/lucene/index/IndexableField;
4 6 4 bytes Lorg/apache/lucene/util/BytesRef;
MethodParameters:
Name Flags
name
public final org.apache.lucene.index.IndexableField getField(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/lucene/index/IndexableField;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.document.Document.fields:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.apache.lucene.document.Document java.lang.String top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.IndexableField
astore 2
start local 2 2: aload 2
invokeinterface org.apache.lucene.index.IndexableField.name:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 2
areturn
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/document/Document;
0 6 1 name Ljava/lang/String;
2 4 2 field Lorg/apache/lucene/index/IndexableField;
MethodParameters:
Name Flags
name
public org.apache.lucene.index.IndexableField[] getFields(java.lang.String);
descriptor: (Ljava/lang/String;)[Lorg/apache/lucene/index/IndexableField;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 0
getfield org.apache.lucene.document.Document.fields:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: org.apache.lucene.document.Document java.lang.String java.util.List top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.IndexableField
astore 3
start local 3 3: aload 3
invokeinterface org.apache.lucene.index.IndexableField.name:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aload 2
aload 2
invokeinterface java.util.List.size:()I
anewarray org.apache.lucene.index.IndexableField
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.apache.lucene.index.IndexableField[]
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/document/Document;
0 7 1 name Ljava/lang/String;
1 7 2 result Ljava/util/List<Lorg/apache/lucene/index/IndexableField;>;
3 5 3 field Lorg/apache/lucene/index/IndexableField;
MethodParameters:
Name Flags
name
public final java.util.List<org.apache.lucene.index.IndexableField> getFields();
descriptor: ()Ljava/util/List;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.document.Document.fields:Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/document/Document;
Signature: ()Ljava/util/List<Lorg/apache/lucene/index/IndexableField;>;
public final java.lang.String[] getValues(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 0
getfield org.apache.lucene.document.Document.fields:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: org.apache.lucene.document.Document java.lang.String java.util.List top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.IndexableField
astore 3
start local 3 3: aload 3
invokeinterface org.apache.lucene.index.IndexableField.name:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
aload 3
invokeinterface org.apache.lucene.index.IndexableField.stringValue:()Ljava/lang/String;
ifnull 5
4: aload 2
aload 3
invokeinterface org.apache.lucene.index.IndexableField.stringValue:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aload 2
invokeinterface java.util.List.size:()I
ifne 8
7: getstatic org.apache.lucene.document.Document.NO_STRINGS:[Ljava/lang/String;
areturn
8: StackMap locals: org.apache.lucene.document.Document java.lang.String java.util.List
StackMap stack:
aload 2
aload 2
invokeinterface java.util.List.size:()I
anewarray java.lang.String
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/document/Document;
0 9 1 name Ljava/lang/String;
1 9 2 result Ljava/util/List<Ljava/lang/String;>;
3 5 3 field Lorg/apache/lucene/index/IndexableField;
MethodParameters:
Name Flags
name
public final java.lang.String get(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.document.Document.fields:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.apache.lucene.document.Document java.lang.String top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.IndexableField
astore 2
start local 2 2: aload 2
invokeinterface org.apache.lucene.index.IndexableField.name:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
aload 2
invokeinterface org.apache.lucene.index.IndexableField.stringValue:()Ljava/lang/String;
ifnull 4
3: aload 2
invokeinterface org.apache.lucene.index.IndexableField.stringValue:()Ljava/lang/String;
areturn
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/document/Document;
0 6 1 name Ljava/lang/String;
2 4 2 field Lorg/apache/lucene/index/IndexableField;
MethodParameters:
Name Flags
name
public final java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=4, 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 "Document<"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: iconst_0
istore 2
start local 2 3: goto 9
4: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 0
getfield org.apache.lucene.document.Document.fields:Ljava/util/List;
iload 2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.lucene.index.IndexableField
astore 3
start local 3 5: aload 1
aload 3
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: iload 2
aload 0
getfield org.apache.lucene.document.Document.fields:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
if_icmpeq 8
7: aload 1
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 3 8: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
aload 0
getfield org.apache.lucene.document.Document.fields:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 4
end local 2 10: aload 1
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/lucene/document/Document;
1 12 1 buffer Ljava/lang/StringBuilder;
3 10 2 i I
5 8 3 field Lorg/apache/lucene/index/IndexableField;
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.document.Document.fields:Ljava/util/List;
invokeinterface java.util.List.clear:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/document/Document;
}
Signature: Ljava/lang/Object;Ljava/lang/Iterable<Lorg/apache/lucene/index/IndexableField;>;
SourceFile: "Document.java"