public class java.io.StringBufferInputStream extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.io.StringBufferInputStream
super_class: java.io.InputStream
{
protected java.lang.String buffer;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected int pos;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int count;
descriptor: I
flags: (0x0004) ACC_PROTECTED
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.io.InputStream.<init>:()V
1: aload 0
aload 1
putfield java.io.StringBufferInputStream.buffer:Ljava/lang/String;
2: aload 0
aload 1
invokevirtual java.lang.String.length:()I
putfield java.io.StringBufferInputStream.count:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/io/StringBufferInputStream;
0 4 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public synchronized int read();
descriptor: ()I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield java.io.StringBufferInputStream.pos:I
aload 0
getfield java.io.StringBufferInputStream.count:I
if_icmpge 1
aload 0
getfield java.io.StringBufferInputStream.buffer:Ljava/lang/String;
aload 0
dup
getfield java.io.StringBufferInputStream.pos:I
dup_x1
iconst_1
iadd
putfield java.io.StringBufferInputStream.pos:I
invokevirtual java.lang.String.charAt:(I)C
sipush 255
iand
goto 2
StackMap locals:
StackMap stack:
1: iconst_m1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/io/StringBufferInputStream;
public synchronized int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=7, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
iload 2
iflt 4
iload 2
aload 1
arraylength
if_icmpgt 4
iload 3
iflt 4
3: iload 2
iload 3
iadd
aload 1
arraylength
if_icmpgt 4
iload 2
iload 3
iadd
ifge 5
4: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
aload 0
getfield java.io.StringBufferInputStream.pos:I
aload 0
getfield java.io.StringBufferInputStream.count:I
if_icmplt 7
6: iconst_m1
ireturn
7: StackMap locals:
StackMap stack:
aload 0
getfield java.io.StringBufferInputStream.count:I
aload 0
getfield java.io.StringBufferInputStream.pos:I
isub
istore 4
start local 4 8: iload 3
iload 4
if_icmple 10
9: iload 4
istore 3
10: StackMap locals: int
StackMap stack:
iload 3
ifgt 12
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack:
aload 0
getfield java.io.StringBufferInputStream.buffer:Ljava/lang/String;
astore 5
start local 5 13: iload 3
istore 6
start local 6 14: goto 16
15: StackMap locals: java.lang.String int
StackMap stack:
aload 1
iload 2
iinc 2 1
aload 5
aload 0
dup
getfield java.io.StringBufferInputStream.pos:I
dup_x1
iconst_1
iadd
putfield java.io.StringBufferInputStream.pos:I
invokevirtual java.lang.String.charAt:(I)C
i2b
bastore
16: StackMap locals:
StackMap stack:
iinc 6 -1
iload 6
ifge 15
17: iload 3
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljava/io/StringBufferInputStream;
0 18 1 b [B
0 18 2 off I
0 18 3 len I
8 18 4 avail I
13 18 5 s Ljava/lang/String;
14 18 6 cnt I
MethodParameters:
Name Flags
b
off
len
public synchronized long skip(long);
descriptor: (J)J
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: lload 1
lconst_0
lcmp
ifge 2
1: lconst_0
lreturn
2: StackMap locals:
StackMap stack:
lload 1
aload 0
getfield java.io.StringBufferInputStream.count:I
aload 0
getfield java.io.StringBufferInputStream.pos:I
isub
i2l
lcmp
ifle 4
3: aload 0
getfield java.io.StringBufferInputStream.count:I
aload 0
getfield java.io.StringBufferInputStream.pos:I
isub
i2l
lstore 1
4: StackMap locals:
StackMap stack:
aload 0
dup
getfield java.io.StringBufferInputStream.pos:I
i2l
lload 1
ladd
l2i
putfield java.io.StringBufferInputStream.pos:I
5: lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/io/StringBufferInputStream;
0 6 1 n J
MethodParameters:
Name Flags
n
public synchronized int available();
descriptor: ()I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.io.StringBufferInputStream.count:I
aload 0
getfield java.io.StringBufferInputStream.pos:I
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/io/StringBufferInputStream;
public synchronized void reset();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield java.io.StringBufferInputStream.pos:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/io/StringBufferInputStream;
}
SourceFile: "StringBufferInputStream.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()