class org.apache.lucene.index.memory.MemoryIndex$1 extends org.apache.lucene.analysis.TokenStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.lucene.index.memory.MemoryIndex$1
super_class: org.apache.lucene.analysis.TokenStream
{
private java.util.Iterator<T> iter;
descriptor: Ljava/util/Iterator;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Iterator<TT;>;
private int start;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final org.apache.lucene.analysis.tokenattributes.CharTermAttribute termAtt;
descriptor: Lorg/apache/lucene/analysis/tokenattributes/CharTermAttribute;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.analysis.tokenattributes.OffsetAttribute offsetAtt;
descriptor: Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final org.apache.lucene.index.memory.MemoryIndex this$0;
descriptor: Lorg/apache/lucene/index/memory/MemoryIndex;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(org.apache.lucene.index.memory.MemoryIndex, java.util.Collection);
descriptor: (Lorg/apache/lucene/index/memory/MemoryIndex;Ljava/util/Collection;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 // org.apache.lucene.index.memory.MemoryIndex$1 this
0: .line 339
aload 0 /* this */
aload 1
putfield org.apache.lucene.index.memory.MemoryIndex$1.this$0:Lorg/apache/lucene/index/memory/MemoryIndex;
aload 0 /* this */
invokespecial org.apache.lucene.analysis.TokenStream.<init>:()V
1: .line 340
aload 0 /* this */
aload 2
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
putfield org.apache.lucene.index.memory.MemoryIndex$1.iter:Ljava/util/Iterator;
2: .line 341
aload 0 /* this */
iconst_0
putfield org.apache.lucene.index.memory.MemoryIndex$1.start:I
3: .line 342
aload 0 /* this */
aload 0 /* this */
ldc Lorg/apache/lucene/analysis/tokenattributes/CharTermAttribute;
invokevirtual org.apache.lucene.index.memory.MemoryIndex$1.addAttribute:(Ljava/lang/Class;)Lorg/apache/lucene/util/Attribute;
checkcast org.apache.lucene.analysis.tokenattributes.CharTermAttribute
putfield org.apache.lucene.index.memory.MemoryIndex$1.termAtt:Lorg/apache/lucene/analysis/tokenattributes/CharTermAttribute;
4: .line 343
aload 0 /* this */
aload 0 /* this */
ldc Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
invokevirtual org.apache.lucene.index.memory.MemoryIndex$1.addAttribute:(Ljava/lang/Class;)Lorg/apache/lucene/util/Attribute;
checkcast org.apache.lucene.analysis.tokenattributes.OffsetAttribute
putfield org.apache.lucene.index.memory.MemoryIndex$1.offsetAtt:Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
5: .line 339
return
end local 0 // org.apache.lucene.index.memory.MemoryIndex$1 this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/index/memory/MemoryIndex$1;
MethodParameters:
Name Flags
this$0 final
val$keywords final
public boolean incrementToken();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 // org.apache.lucene.index.memory.MemoryIndex$1 this
0: .line 347
aload 0 /* this */
getfield org.apache.lucene.index.memory.MemoryIndex$1.iter:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
iconst_0
ireturn
1: .line 349
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.apache.lucene.index.memory.MemoryIndex$1.iter:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 1 /* obj */
start local 1 // java.lang.Object obj
2: .line 350
aload 1 /* obj */
ifnonnull 4
3: .line 351
new java.lang.IllegalArgumentException
dup
ldc "keyword must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: .line 353
StackMap locals: java.lang.Object
StackMap stack:
aload 1 /* obj */
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 2 /* term */
start local 2 // java.lang.String term
5: .line 354
aload 0 /* this */
invokevirtual org.apache.lucene.index.memory.MemoryIndex$1.clearAttributes:()V
6: .line 355
aload 0 /* this */
getfield org.apache.lucene.index.memory.MemoryIndex$1.termAtt:Lorg/apache/lucene/analysis/tokenattributes/CharTermAttribute;
invokeinterface org.apache.lucene.analysis.tokenattributes.CharTermAttribute.setEmpty:()Lorg/apache/lucene/analysis/tokenattributes/CharTermAttribute;
aload 2 /* term */
invokeinterface org.apache.lucene.analysis.tokenattributes.CharTermAttribute.append:(Ljava/lang/String;)Lorg/apache/lucene/analysis/tokenattributes/CharTermAttribute;
pop
7: .line 356
aload 0 /* this */
getfield org.apache.lucene.index.memory.MemoryIndex$1.offsetAtt:Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
aload 0 /* this */
getfield org.apache.lucene.index.memory.MemoryIndex$1.start:I
aload 0 /* this */
getfield org.apache.lucene.index.memory.MemoryIndex$1.start:I
aload 0 /* this */
getfield org.apache.lucene.index.memory.MemoryIndex$1.termAtt:Lorg/apache/lucene/analysis/tokenattributes/CharTermAttribute;
invokeinterface org.apache.lucene.analysis.tokenattributes.CharTermAttribute.length:()I
iadd
invokeinterface org.apache.lucene.analysis.tokenattributes.OffsetAttribute.setOffset:(II)V
8: .line 357
aload 0 /* this */
dup
getfield org.apache.lucene.index.memory.MemoryIndex$1.start:I
aload 2 /* term */
invokevirtual java.lang.String.length:()I
iconst_1
iadd
iadd
putfield org.apache.lucene.index.memory.MemoryIndex$1.start:I
9: .line 358
iconst_1
ireturn
end local 2 // java.lang.String term
end local 1 // java.lang.Object obj
end local 0 // org.apache.lucene.index.memory.MemoryIndex$1 this
LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/index/memory/MemoryIndex$1;
2 10 1 obj TT;
5 10 2 term Ljava/lang/String;
}
SourceFile: "MemoryIndex.java"
EnclosingMethod: org.apache.lucene.index.memory.MemoryIndex.keywordTokenStream:(Ljava/util/Collection;)Lorg/apache/lucene/analysis/TokenStream;
NestHost: org.apache.lucene.index.memory.MemoryIndex
InnerClasses:
org.apache.lucene.index.memory.MemoryIndex$1