final class com.google.common.io.CharSequenceReader extends java.io.Reader
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.io.CharSequenceReader
super_class: java.io.Reader
{
private java.lang.CharSequence seq;
descriptor: Ljava/lang/CharSequence;
flags: (0x0002) ACC_PRIVATE
private int pos;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int mark;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)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.Reader.<init>:()V
1: aload 0
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.CharSequence
putfield com.google.common.io.CharSequenceReader.seq:Ljava/lang/CharSequence;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/io/CharSequenceReader;
0 3 1 seq Ljava/lang/CharSequence;
MethodParameters:
Name Flags
seq
private void checkOpen();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.io.CharSequenceReader.seq:Ljava/lang/CharSequence;
ifnonnull 2
1: new java.io.IOException
dup
ldc "reader closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/io/CharSequenceReader;
Exceptions:
throws java.io.IOException
private boolean hasRemaining();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.io.CharSequenceReader.remaining:()I
ifle 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 Lcom/google/common/io/CharSequenceReader;
private int remaining();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.io.CharSequenceReader.seq:Ljava/lang/CharSequence;
invokeinterface java.lang.CharSequence.length:()I
aload 0
getfield com.google.common.io.CharSequenceReader.pos:I
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/CharSequenceReader;
public synchronized int read(java.nio.CharBuffer);
descriptor: (Ljava/nio/CharBuffer;)I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual com.google.common.io.CharSequenceReader.checkOpen:()V
2: aload 0
invokevirtual com.google.common.io.CharSequenceReader.hasRemaining:()Z
ifne 4
3: iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.CharBuffer.remaining:()I
aload 0
invokevirtual com.google.common.io.CharSequenceReader.remaining:()I
invokestatic java.lang.Math.min:(II)I
istore 2
start local 2 5: iconst_0
istore 3
start local 3 6: goto 9
7: StackMap locals: int int
StackMap stack:
aload 1
aload 0
getfield com.google.common.io.CharSequenceReader.seq:Ljava/lang/CharSequence;
aload 0
dup
getfield com.google.common.io.CharSequenceReader.pos:I
dup_x1
iconst_1
iadd
putfield com.google.common.io.CharSequenceReader.pos:I
invokeinterface java.lang.CharSequence.charAt:(I)C
invokevirtual java.nio.CharBuffer.put:(C)Ljava/nio/CharBuffer;
pop
8: iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
iload 2
if_icmplt 7
end local 3 10: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/google/common/io/CharSequenceReader;
0 11 1 target Ljava/nio/CharBuffer;
5 11 2 charsToRead I
6 10 3 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
target
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
invokevirtual com.google.common.io.CharSequenceReader.checkOpen:()V
1: aload 0
invokevirtual com.google.common.io.CharSequenceReader.hasRemaining:()Z
ifeq 2
aload 0
getfield com.google.common.io.CharSequenceReader.seq:Ljava/lang/CharSequence;
aload 0
dup
getfield com.google.common.io.CharSequenceReader.pos:I
dup_x1
iconst_1
iadd
putfield com.google.common.io.CharSequenceReader.pos:I
invokeinterface java.lang.CharSequence.charAt:(I)C
goto 3
StackMap locals:
StackMap stack:
2: iconst_m1
StackMap locals:
StackMap stack: int
3: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/io/CharSequenceReader;
Exceptions:
throws java.io.IOException
public synchronized int read(char[], int, int);
descriptor: ([CII)I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=7, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
iload 2
iload 3
iadd
aload 1
arraylength
invokestatic com.google.common.base.Preconditions.checkPositionIndexes:(III)V
1: aload 0
invokevirtual com.google.common.io.CharSequenceReader.checkOpen:()V
2: aload 0
invokevirtual com.google.common.io.CharSequenceReader.hasRemaining:()Z
ifne 4
3: iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
iload 3
aload 0
invokevirtual com.google.common.io.CharSequenceReader.remaining:()I
invokestatic java.lang.Math.min:(II)I
istore 4
start local 4 5: iconst_0
istore 5
start local 5 6: goto 9
7: StackMap locals: int int
StackMap stack:
aload 1
iload 2
iload 5
iadd
aload 0
getfield com.google.common.io.CharSequenceReader.seq:Ljava/lang/CharSequence;
aload 0
dup
getfield com.google.common.io.CharSequenceReader.pos:I
dup_x1
iconst_1
iadd
putfield com.google.common.io.CharSequenceReader.pos:I
invokeinterface java.lang.CharSequence.charAt:(I)C
castore
8: iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
iload 4
if_icmplt 7
end local 5 10: iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/google/common/io/CharSequenceReader;
0 11 1 cbuf [C
0 11 2 off I
0 11 3 len I
5 11 4 charsToRead I
6 10 5 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cbuf
off
len
public synchronized long skip(long);
descriptor: (J)J
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: lload 1
lconst_0
lcmp
iflt 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "n (%s) may not be negative"
lload 1
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;J)V
3: aload 0
invokevirtual com.google.common.io.CharSequenceReader.checkOpen:()V
4: aload 0
invokevirtual com.google.common.io.CharSequenceReader.remaining:()I
i2l
lload 1
invokestatic java.lang.Math.min:(JJ)J
l2i
istore 3
start local 3 5: aload 0
dup
getfield com.google.common.io.CharSequenceReader.pos:I
iload 3
iadd
putfield com.google.common.io.CharSequenceReader.pos:I
6: iload 3
i2l
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/io/CharSequenceReader;
0 7 1 n J
5 7 3 charsToSkip I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n
public synchronized boolean ready();
descriptor: ()Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.io.CharSequenceReader.checkOpen:()V
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/io/CharSequenceReader;
Exceptions:
throws java.io.IOException
public boolean markSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/CharSequenceReader;
public synchronized void mark(int);
descriptor: (I)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "readAheadLimit (%s) may not be negative"
iload 1
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;I)V
3: aload 0
invokevirtual com.google.common.io.CharSequenceReader.checkOpen:()V
4: aload 0
aload 0
getfield com.google.common.io.CharSequenceReader.pos:I
putfield com.google.common.io.CharSequenceReader.mark:I
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/io/CharSequenceReader;
0 6 1 readAheadLimit I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
readAheadLimit
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
invokevirtual com.google.common.io.CharSequenceReader.checkOpen:()V
1: aload 0
aload 0
getfield com.google.common.io.CharSequenceReader.mark:I
putfield com.google.common.io.CharSequenceReader.pos:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/io/CharSequenceReader;
Exceptions:
throws java.io.IOException
public synchronized void close();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield com.google.common.io.CharSequenceReader.seq:Ljava/lang/CharSequence;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/io/CharSequenceReader;
Exceptions:
throws java.io.IOException
}
SourceFile: "CharSequenceReader.java"
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()