class com.google.common.io.CharSource$StringCharSource extends com.google.common.io.CharSource$CharSequenceCharSource
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.google.common.io.CharSource$StringCharSource
super_class: com.google.common.io.CharSource$CharSequenceCharSource
{
protected void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 // com.google.common.io.CharSource$StringCharSource this
start local 1 // java.lang.String seq
0: .line 629
aload 0 /* this */
aload 1 /* seq */
invokespecial com.google.common.io.CharSource$CharSequenceCharSource.<init>:(Ljava/lang/CharSequence;)V
1: .line 630
return
end local 1 // java.lang.String seq
end local 0 // com.google.common.io.CharSource$StringCharSource this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/io/CharSource$StringCharSource;
0 2 1 seq Ljava/lang/String;
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 // com.google.common.io.CharSource$StringCharSource this
0: .line 634
new java.io.StringReader
dup
aload 0 /* this */
getfield com.google.common.io.CharSource$StringCharSource.seq:Ljava/lang/CharSequence;
checkcast java.lang.String
invokespecial java.io.StringReader.<init>:(Ljava/lang/String;)V
areturn
end local 0 // com.google.common.io.CharSource$StringCharSource this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/CharSource$StringCharSource;
public long copyTo(java.lang.Appendable);
descriptor: (Ljava/lang/Appendable;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // com.google.common.io.CharSource$StringCharSource this
start local 1 // java.lang.Appendable appendable
0: .line 639
aload 1 /* appendable */
aload 0 /* this */
getfield com.google.common.io.CharSource$StringCharSource.seq:Ljava/lang/CharSequence;
invokeinterface java.lang.Appendable.append:(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
pop
1: .line 640
aload 0 /* this */
getfield com.google.common.io.CharSource$StringCharSource.seq:Ljava/lang/CharSequence;
invokeinterface java.lang.CharSequence.length:()I
i2l
lreturn
end local 1 // java.lang.Appendable appendable
end local 0 // com.google.common.io.CharSource$StringCharSource this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/io/CharSource$StringCharSource;
0 2 1 appendable Ljava/lang/Appendable;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
appendable
public long copyTo(com.google.common.io.CharSink);
descriptor: (Lcom/google/common/io/CharSink;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=2
start local 0 // com.google.common.io.CharSource$StringCharSource this
start local 1 // com.google.common.io.CharSink sink
0: .line 645
aload 1 /* sink */
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: .line 646
invokestatic com.google.common.io.Closer.create:()Lcom/google/common/io/Closer;
astore 2 /* closer */
start local 2 // com.google.common.io.Closer closer
2: .line 648
aload 2 /* closer */
aload 1 /* sink */
invokevirtual com.google.common.io.CharSink.openStream:()Ljava/io/Writer;
invokevirtual com.google.common.io.Closer.register:(Ljava/io/Closeable;)Ljava/io/Closeable;
checkcast java.io.Writer
astore 3 /* writer */
start local 3 // java.io.Writer writer
3: .line 649
aload 3 /* writer */
aload 0 /* this */
getfield com.google.common.io.CharSource$StringCharSource.seq:Ljava/lang/CharSequence;
checkcast java.lang.String
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
4: .line 650
aload 0 /* this */
getfield com.google.common.io.CharSource$StringCharSource.seq:Ljava/lang/CharSequence;
invokeinterface java.lang.CharSequence.length:()I
i2l
lstore 5
5: .line 654
aload 2 /* closer */
invokevirtual com.google.common.io.Closer.close:()V
6: .line 650
lload 5
lreturn
end local 3 // java.io.Writer writer
7: .line 651
StackMap locals: com.google.common.io.CharSource$StringCharSource com.google.common.io.CharSink com.google.common.io.Closer
StackMap stack: java.lang.Throwable
astore 3 /* e */
start local 3 // java.lang.Throwable e
8: .line 652
aload 2 /* closer */
aload 3 /* e */
invokevirtual com.google.common.io.Closer.rethrow:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 3 // java.lang.Throwable e
9: .line 653
StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
10: .line 654
aload 2 /* closer */
invokevirtual com.google.common.io.Closer.close:()V
11: .line 655
aload 4
athrow
end local 2 // com.google.common.io.Closer closer
end local 1 // com.google.common.io.CharSink sink
end local 0 // com.google.common.io.CharSource$StringCharSource this
LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/google/common/io/CharSource$StringCharSource;
0 12 1 sink Lcom/google/common/io/CharSink;
2 12 2 closer Lcom/google/common/io/Closer;
3 7 3 writer Ljava/io/Writer;
8 9 3 e Ljava/lang/Throwable;
Exception table:
from to target type
2 5 7 Class java.lang.Throwable
2 5 9 any
7 9 9 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
sink
}
SourceFile: "CharSource.java"
NestHost: com.google.common.io.CharSource
InnerClasses:
private CharSequenceCharSource = com.google.common.io.CharSource$CharSequenceCharSource of com.google.common.io.CharSource
private StringCharSource = com.google.common.io.CharSource$StringCharSource of com.google.common.io.CharSource