final class org.apache.lucene.util.StrictStringTokenizer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.util.StrictStringTokenizer
super_class: java.lang.Object
{
private final java.lang.String s;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final char delimiter;
descriptor: C
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int pos;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String, char);
descriptor: (Ljava/lang/String;C)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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 0
aload 1
putfield org.apache.lucene.util.StrictStringTokenizer.s:Ljava/lang/String;
2: aload 0
iload 2
putfield org.apache.lucene.util.StrictStringTokenizer.delimiter:C
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/util/StrictStringTokenizer;
0 4 1 s Ljava/lang/String;
0 4 2 delimiter C
MethodParameters:
Name Flags
s
delimiter
public final java.lang.String nextToken();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.util.StrictStringTokenizer.pos:I
ifge 2
1: new java.lang.IllegalStateException
dup
ldc "no more tokens"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.StrictStringTokenizer.s:Ljava/lang/String;
aload 0
getfield org.apache.lucene.util.StrictStringTokenizer.delimiter:C
aload 0
getfield org.apache.lucene.util.StrictStringTokenizer.pos:I
invokevirtual java.lang.String.indexOf:(II)I
istore 1
start local 1 3: iload 1
iflt 7
4: aload 0
getfield org.apache.lucene.util.StrictStringTokenizer.s:Ljava/lang/String;
aload 0
getfield org.apache.lucene.util.StrictStringTokenizer.pos:I
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 2
start local 2 5: aload 0
iload 1
iconst_1
iadd
putfield org.apache.lucene.util.StrictStringTokenizer.pos:I
6: goto 9
end local 2 7: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.lucene.util.StrictStringTokenizer.s:Ljava/lang/String;
aload 0
getfield org.apache.lucene.util.StrictStringTokenizer.pos:I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
start local 2 8: aload 0
iconst_m1
putfield org.apache.lucene.util.StrictStringTokenizer.pos:I
9: StackMap locals: java.lang.String
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/util/StrictStringTokenizer;
3 10 1 pos1 I
5 7 2 s1 Ljava/lang/String;
8 10 2 s1 Ljava/lang/String;
public final boolean hasMoreTokens();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.util.StrictStringTokenizer.pos:I
iflt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/util/StrictStringTokenizer;
}
SourceFile: "StrictStringTokenizer.java"