final class org.apache.lucene.analysis.ReusableStringReader extends java.io.Reader
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.analysis.ReusableStringReader
super_class: java.io.Reader
{
private int pos;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int size;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String s;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.io.Reader.<init>:()V
1: aload 0
iconst_0
putfield org.apache.lucene.analysis.ReusableStringReader.pos:I
aload 0
iconst_0
putfield org.apache.lucene.analysis.ReusableStringReader.size:I
2: aload 0
aconst_null
putfield org.apache.lucene.analysis.ReusableStringReader.s:Ljava/lang/String;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/analysis/ReusableStringReader;
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.analysis.ReusableStringReader.s:Ljava/lang/String;
1: aload 0
aload 1
invokevirtual java.lang.String.length:()I
putfield org.apache.lucene.analysis.ReusableStringReader.size:I
2: aload 0
iconst_0
putfield org.apache.lucene.analysis.ReusableStringReader.pos:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/analysis/ReusableStringReader;
0 4 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.analysis.ReusableStringReader.pos:I
aload 0
getfield org.apache.lucene.analysis.ReusableStringReader.size:I
if_icmpge 2
1: aload 0
getfield org.apache.lucene.analysis.ReusableStringReader.s:Ljava/lang/String;
aload 0
dup
getfield org.apache.lucene.analysis.ReusableStringReader.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.analysis.ReusableStringReader.pos:I
invokevirtual java.lang.String.charAt:(I)C
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.lucene.analysis.ReusableStringReader.s:Ljava/lang/String;
3: iconst_m1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/analysis/ReusableStringReader;
public int read(char[], int, int);
descriptor: ([CII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.lucene.analysis.ReusableStringReader.pos:I
aload 0
getfield org.apache.lucene.analysis.ReusableStringReader.size:I
if_icmpge 5
1: iload 3
aload 0
getfield org.apache.lucene.analysis.ReusableStringReader.size:I
aload 0
getfield org.apache.lucene.analysis.ReusableStringReader.pos:I
isub
invokestatic java.lang.Math.min:(II)I
istore 3
2: aload 0
getfield org.apache.lucene.analysis.ReusableStringReader.s:Ljava/lang/String;
aload 0
getfield org.apache.lucene.analysis.ReusableStringReader.pos:I
aload 0
getfield org.apache.lucene.analysis.ReusableStringReader.pos:I
iload 3
iadd
aload 1
iload 2
invokevirtual java.lang.String.getChars:(II[CI)V
3: aload 0
dup
getfield org.apache.lucene.analysis.ReusableStringReader.pos:I
iload 3
iadd
putfield org.apache.lucene.analysis.ReusableStringReader.pos:I
4: iload 3
ireturn
5: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.lucene.analysis.ReusableStringReader.s:Ljava/lang/String;
6: iconst_m1
ireturn
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/ReusableStringReader;
0 7 1 c [C
0 7 2 off I
0 7 3 len I
MethodParameters:
Name Flags
c
off
len
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.apache.lucene.analysis.ReusableStringReader.size:I
putfield org.apache.lucene.analysis.ReusableStringReader.pos:I
1: aload 0
aconst_null
putfield org.apache.lucene.analysis.ReusableStringReader.s:Ljava/lang/String;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/analysis/ReusableStringReader;
}
SourceFile: "ReusableStringReader.java"