final class org.apache.lucene.document.Field$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.document.Field$StringTokenStream
super_class: org.apache.lucene.analysis.TokenStream
{
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
private boolean used;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String value;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.lucene.analysis.TokenStream.<init>:()V
1: aload 0
aload 0
ldc Lorg/apache/lucene/analysis/tokenattributes/CharTermAttribute;
invokevirtual org.apache.lucene.document.Field$StringTokenStream.addAttribute:(Ljava/lang/Class;)Lorg/apache/lucene/util/Attribute;
checkcast org.apache.lucene.analysis.tokenattributes.CharTermAttribute
putfield org.apache.lucene.document.Field$StringTokenStream.termAttribute:Lorg/apache/lucene/analysis/tokenattributes/CharTermAttribute;
2: aload 0
aload 0
ldc Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
invokevirtual org.apache.lucene.document.Field$StringTokenStream.addAttribute:(Ljava/lang/Class;)Lorg/apache/lucene/util/Attribute;
checkcast org.apache.lucene.analysis.tokenattributes.OffsetAttribute
putfield org.apache.lucene.document.Field$StringTokenStream.offsetAttribute:Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
3: aload 0
iconst_1
putfield org.apache.lucene.document.Field$StringTokenStream.used:Z
4: aload 0
aconst_null
putfield org.apache.lucene.document.Field$StringTokenStream.value:Ljava/lang/String;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/document/Field$StringTokenStream;
void setValue(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.lucene.document.Field$StringTokenStream.value:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/document/Field$StringTokenStream;
0 2 1 value Ljava/lang/String;
MethodParameters:
Name Flags
value
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.document.Field$StringTokenStream.used:Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.document.Field$StringTokenStream.clearAttributes:()V
3: aload 0
getfield org.apache.lucene.document.Field$StringTokenStream.termAttribute:Lorg/apache/lucene/analysis/tokenattributes/CharTermAttribute;
aload 0
getfield org.apache.lucene.document.Field$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.document.Field$StringTokenStream.offsetAttribute:Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
iconst_0
aload 0
getfield org.apache.lucene.document.Field$StringTokenStream.value:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
invokeinterface org.apache.lucene.analysis.tokenattributes.OffsetAttribute.setOffset:(II)V
5: aload 0
iconst_1
putfield org.apache.lucene.document.Field$StringTokenStream.used:Z
6: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/document/Field$StringTokenStream;
public void end();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokespecial org.apache.lucene.analysis.TokenStream.end:()V
1: aload 0
getfield org.apache.lucene.document.Field$StringTokenStream.value:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
istore 1
start local 1 2: aload 0
getfield org.apache.lucene.document.Field$StringTokenStream.offsetAttribute:Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
iload 1
iload 1
invokeinterface org.apache.lucene.analysis.tokenattributes.OffsetAttribute.setOffset:(II)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/document/Field$StringTokenStream;
2 4 1 finalOffset I
Exceptions:
throws java.io.IOException
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.document.Field$StringTokenStream.used:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/document/Field$StringTokenStream;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield org.apache.lucene.document.Field$StringTokenStream.value:Ljava/lang/String;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/document/Field$StringTokenStream;
}
SourceFile: "Field.java"
NestHost: org.apache.lucene.document.Field
InnerClasses:
private final StringTokenStream = org.apache.lucene.document.Field$StringTokenStream of org.apache.lucene.document.Field