public class org.antlr.runtime.ANTLRReaderStream extends org.antlr.runtime.ANTLRStringStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.antlr.runtime.ANTLRReaderStream
super_class: org.antlr.runtime.ANTLRStringStream
{
public static final int READ_BUFFER_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1024
public static final int INITIAL_BUFFER_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1024
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.antlr.runtime.ANTLRStringStream.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/antlr/runtime/ANTLRReaderStream;
public void <init>(java.io.Reader);
descriptor: (Ljava/io/Reader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
sipush 1024
sipush 1024
invokespecial org.antlr.runtime.ANTLRReaderStream.<init>:(Ljava/io/Reader;II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/antlr/runtime/ANTLRReaderStream;
0 2 1 r Ljava/io/Reader;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
r
public void <init>(java.io.Reader, int);
descriptor: (Ljava/io/Reader;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
sipush 1024
invokespecial org.antlr.runtime.ANTLRReaderStream.<init>:(Ljava/io/Reader;II)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/antlr/runtime/ANTLRReaderStream;
0 2 1 r Ljava/io/Reader;
0 2 2 size I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
r
size
public void <init>(java.io.Reader, int, int);
descriptor: (Ljava/io/Reader;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial org.antlr.runtime.ANTLRStringStream.<init>:()V
1: aload 0
aload 1
iload 2
iload 3
invokevirtual org.antlr.runtime.ANTLRReaderStream.load:(Ljava/io/Reader;II)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/antlr/runtime/ANTLRReaderStream;
0 3 1 r Ljava/io/Reader;
0 3 2 size I
0 3 3 readChunkSize I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
r
size
readChunkSize
public void load(java.io.Reader, int, int);
descriptor: (Ljava/io/Reader;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
iload 2
ifgt 4
3: sipush 1024
istore 2
4: StackMap locals:
StackMap stack:
iload 3
ifgt 6
5: sipush 1024
istore 3
6: StackMap locals:
StackMap stack:
aload 0
iload 2
newarray 5
putfield org.antlr.runtime.ANTLRReaderStream.data:[C
7: iconst_0
istore 5
start local 5 8: StackMap locals: org.antlr.runtime.ANTLRReaderStream java.io.Reader int int top int
StackMap stack:
iload 5
iload 3
iadd
aload 0
getfield org.antlr.runtime.ANTLRReaderStream.data:[C
arraylength
if_icmple 12
9: aload 0
getfield org.antlr.runtime.ANTLRReaderStream.data:[C
arraylength
iconst_2
imul
newarray 5
astore 6
start local 6 10: aload 0
getfield org.antlr.runtime.ANTLRReaderStream.data:[C
iconst_0
aload 6
iconst_0
aload 0
getfield org.antlr.runtime.ANTLRReaderStream.data:[C
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
11: aload 0
aload 6
putfield org.antlr.runtime.ANTLRReaderStream.data:[C
end local 6 12: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.antlr.runtime.ANTLRReaderStream.data:[C
iload 5
iload 3
invokevirtual java.io.Reader.read:([CII)I
istore 4
start local 4 13: iload 5
iload 4
iadd
istore 5
14: iload 4
iconst_m1
if_icmpne 8
15: aload 0
iload 5
iconst_1
iadd
putfield org.antlr.runtime.ANTLRStringStream.n:I
end local 5 end local 4 16: goto 20
17: StackMap locals: org.antlr.runtime.ANTLRReaderStream java.io.Reader int int
StackMap stack: java.lang.Throwable
astore 7
18: aload 1
invokevirtual java.io.Reader.close:()V
19: aload 7
athrow
20: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.Reader.close:()V
21: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/antlr/runtime/ANTLRReaderStream;
0 22 1 r Ljava/io/Reader;
0 22 2 size I
0 22 3 readChunkSize I
13 16 4 numRead I
8 16 5 p I
10 12 6 newdata [C
Exception table:
from to target type
6 17 17 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
r
size
readChunkSize
}
SourceFile: "ANTLRReaderStream.java"