final class org.apache.lucene.analysis.Analyzer$StringTokenStream extends org.apache.lucene.analysis.TokenStream
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.analysis.Analyzer$StringTokenStream
super_class: org.apache.lucene.analysis.TokenStream
{
private final java.lang.String value;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int length;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean used;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final org.apache.lucene.analysis.tokenattributes.CharTermAttribute termAttribute;
descriptor: Lorg/apache/lucene/analysis/tokenattributes/CharTermAttribute;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.analysis.tokenattributes.OffsetAttribute offsetAttribute;
descriptor: Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(org.apache.lucene.util.AttributeFactory, java.lang.String, int);
descriptor: (Lorg/apache/lucene/util/AttributeFactory;Ljava/lang/String;I)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial org.apache.lucene.analysis.TokenStream.<init>:(Lorg/apache/lucene/util/AttributeFactory;)V
1: aload 0
iconst_1
putfield org.apache.lucene.analysis.Analyzer$StringTokenStream.used:Z
2: aload 0
aload 0
ldc Lorg/apache/lucene/analysis/tokenattributes/CharTermAttribute;
invokevirtual org.apache.lucene.analysis.Analyzer$StringTokenStream.addAttribute:(Ljava/lang/Class;)Lorg/apache/lucene/util/Attribute;
checkcast org.apache.lucene.analysis.tokenattributes.CharTermAttribute
putfield org.apache.lucene.analysis.Analyzer$StringTokenStream.termAttribute:Lorg/apache/lucene/analysis/tokenattributes/CharTermAttribute;
3: aload 0
aload 0
ldc Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
invokevirtual org.apache.lucene.analysis.Analyzer$StringTokenStream.addAttribute:(Ljava/lang/Class;)Lorg/apache/lucene/util/Attribute;
checkcast org.apache.lucene.analysis.tokenattributes.OffsetAttribute
putfield org.apache.lucene.analysis.Analyzer$StringTokenStream.offsetAttribute:Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
4: aload 0
aload 2
putfield org.apache.lucene.analysis.Analyzer$StringTokenStream.value:Ljava/lang/String;
5: aload 0
iload 3
putfield org.apache.lucene.analysis.Analyzer$StringTokenStream.length:I
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/analysis/Analyzer$StringTokenStream;
0 7 1 attributeFactory Lorg/apache/lucene/util/AttributeFactory;
0 7 2 value Ljava/lang/String;
0 7 3 length I
MethodParameters:
Name Flags
attributeFactory
value
length
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield org.apache.lucene.analysis.Analyzer$StringTokenStream.used:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/analysis/Analyzer$StringTokenStream;
public boolean incrementToken();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.analysis.Analyzer$StringTokenStream.used:Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.analysis.Analyzer$StringTokenStream.clearAttributes:()V
3: aload 0
getfield org.apache.lucene.analysis.Analyzer$StringTokenStream.termAttribute:Lorg/apache/lucene/analysis/tokenattributes/CharTermAttribute;
aload 0
getfield org.apache.lucene.analysis.Analyzer$StringTokenStream.value:Ljava/lang/String;
invokeinterface org.apache.lucene.analysis.tokenattributes.CharTermAttribute.append:(Ljava/lang/String;)Lorg/apache/lucene/analysis/tokenattributes/CharTermAttribute;
pop
4: aload 0
getfield org.apache.lucene.analysis.Analyzer$StringTokenStream.offsetAttribute:Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
iconst_0
aload 0
getfield org.apache.lucene.analysis.Analyzer$StringTokenStream.length:I
invokeinterface org.apache.lucene.analysis.tokenattributes.OffsetAttribute.setOffset:(II)V
5: aload 0
iconst_1
putfield org.apache.lucene.analysis.Analyzer$StringTokenStream.used:Z
6: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/analysis/Analyzer$StringTokenStream;
public void end();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.lucene.analysis.TokenStream.end:()V
1: aload 0
getfield org.apache.lucene.analysis.Analyzer$StringTokenStream.offsetAttribute:Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
aload 0
getfield org.apache.lucene.analysis.Analyzer$StringTokenStream.length:I
aload 0
getfield org.apache.lucene.analysis.Analyzer$StringTokenStream.length:I
invokeinterface org.apache.lucene.analysis.tokenattributes.OffsetAttribute.setOffset:(II)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/analysis/Analyzer$StringTokenStream;
Exceptions:
throws java.io.IOException
}
SourceFile: "Analyzer.java"
NestHost: org.apache.lucene.analysis.Analyzer
InnerClasses:
private final StringTokenStream = org.apache.lucene.analysis.Analyzer$StringTokenStream of org.apache.lucene.analysis.Analyzer