class com.google.common.io.CharSource$CharSequenceCharSource extends com.google.common.io.CharSource
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.google.common.io.CharSource$CharSequenceCharSource
super_class: com.google.common.io.CharSource
{
private static final com.google.common.base.Splitter LINE_SPLITTER;
descriptor: Lcom/google/common/base/Splitter;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected final java.lang.CharSequence seq;
descriptor: Ljava/lang/CharSequence;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "\r\n|\n|\r"
invokestatic com.google.common.base.Splitter.onPattern:(Ljava/lang/String;)Lcom/google/common/base/Splitter;
putstatic com.google.common.io.CharSource$CharSequenceCharSource.LINE_SPLITTER:Lcom/google/common/base/Splitter;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.google.common.io.CharSource.<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.CharSource$CharSequenceCharSource.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/CharSource$CharSequenceCharSource;
0 3 1 seq Ljava/lang/CharSequence;
MethodParameters:
Name Flags
seq
public java.io.Reader openStream();
descriptor: ()Ljava/io/Reader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.io.CharSequenceReader
dup
aload 0
getfield com.google.common.io.CharSource$CharSequenceCharSource.seq:Ljava/lang/CharSequence;
invokespecial com.google.common.io.CharSequenceReader.<init>:(Ljava/lang/CharSequence;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/CharSource$CharSequenceCharSource;
public java.lang.String read();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.io.CharSource$CharSequenceCharSource.seq:Ljava/lang/CharSequence;
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/CharSource$CharSequenceCharSource;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.io.CharSource$CharSequenceCharSource.seq:Ljava/lang/CharSequence;
invokeinterface java.lang.CharSequence.length:()I
ifne 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/CharSource$CharSequenceCharSource;
public long length();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.io.CharSource$CharSequenceCharSource.seq:Ljava/lang/CharSequence;
invokeinterface java.lang.CharSequence.length:()I
i2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/CharSource$CharSequenceCharSource;
public com.google.common.base.Optional<java.lang.Long> lengthIfKnown();
descriptor: ()Lcom/google/common/base/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.io.CharSource$CharSequenceCharSource.seq:Ljava/lang/CharSequence;
invokeinterface java.lang.CharSequence.length:()I
i2l
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokestatic com.google.common.base.Optional.of:(Ljava/lang/Object;)Lcom/google/common/base/Optional;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/CharSource$CharSequenceCharSource;
Signature: ()Lcom/google/common/base/Optional<Ljava/lang/Long;>;
private java.util.Iterator<java.lang.String> linesIterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.io.CharSource$CharSequenceCharSource$1
dup
aload 0
invokespecial com.google.common.io.CharSource$CharSequenceCharSource$1.<init>:(Lcom/google/common/io/CharSource$CharSequenceCharSource;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/CharSource$CharSequenceCharSource;
Signature: ()Ljava/util/Iterator<Ljava/lang/String;>;
public java.util.stream.Stream<java.lang.String> lines();
descriptor: ()Ljava/util/stream/Stream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.io.CharSource$CharSequenceCharSource.linesIterator:()Ljava/util/Iterator;
invokestatic com.google.common.collect.Streams.stream:(Ljava/util/Iterator;)Ljava/util/stream/Stream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/CharSource$CharSequenceCharSource;
Signature: ()Ljava/util/stream/Stream<Ljava/lang/String;>;
public java.lang.String readFirstLine();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.io.CharSource$CharSequenceCharSource.linesIterator:()Ljava/util/Iterator;
astore 1
start local 1 1: aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 2
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
goto 3
StackMap locals: java.util.Iterator
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/io/CharSource$CharSequenceCharSource;
1 4 1 lines Ljava/util/Iterator<Ljava/lang/String;>;
public com.google.common.collect.ImmutableList<java.lang.String> readLines();
descriptor: ()Lcom/google/common/collect/ImmutableList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.io.CharSource$CharSequenceCharSource.linesIterator:()Ljava/util/Iterator;
invokestatic com.google.common.collect.ImmutableList.copyOf:(Ljava/util/Iterator;)Lcom/google/common/collect/ImmutableList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/CharSource$CharSequenceCharSource;
Signature: ()Lcom/google/common/collect/ImmutableList<Ljava/lang/String;>;
public <T> T readLines(com.google.common.io.LineProcessor<T>);
descriptor: (Lcom/google/common/io/LineProcessor;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.common.io.CharSource$CharSequenceCharSource.linesIterator:()Ljava/util/Iterator;
astore 2
start local 2 1: goto 4
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 1
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
invokeinterface com.google.common.io.LineProcessor.processLine:(Ljava/lang/String;)Z
ifne 4
3: goto 5
4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: StackMap locals:
StackMap stack:
aload 1
invokeinterface com.google.common.io.LineProcessor.getResult:()Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/io/CharSource$CharSequenceCharSource;
0 6 1 processor Lcom/google/common/io/LineProcessor<TT;>;
1 6 2 lines Ljava/util/Iterator<Ljava/lang/String;>;
Exceptions:
throws java.io.IOException
Signature: <T:Ljava/lang/Object;>(Lcom/google/common/io/LineProcessor<TT;>;)TT;
MethodParameters:
Name Flags
processor
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "CharSource.wrap("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.google.common.io.CharSource$CharSequenceCharSource.seq:Ljava/lang/CharSequence;
bipush 30
ldc "..."
invokestatic com.google.common.base.Ascii.truncate:(Ljava/lang/CharSequence;ILjava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/CharSource$CharSequenceCharSource;
}
SourceFile: "CharSource.java"
NestHost: com.google.common.io.CharSource
InnerClasses:
private CharSequenceCharSource = com.google.common.io.CharSource$CharSequenceCharSource of com.google.common.io.CharSource
com.google.common.io.CharSource$CharSequenceCharSource$1