final class com.google.common.io.ByteSink$AsCharSink extends com.google.common.io.CharSink
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.io.ByteSink$AsCharSink
super_class: com.google.common.io.CharSink
{
private final java.nio.charset.Charset charset;
descriptor: Ljava/nio/charset/Charset;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final com.google.common.io.ByteSink this$0;
descriptor: Lcom/google/common/io/ByteSink;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(com.google.common.io.ByteSink, java.nio.charset.Charset);
descriptor: (Lcom/google/common/io/ByteSink;Ljava/nio/charset/Charset;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield com.google.common.io.ByteSink$AsCharSink.this$0:Lcom/google/common/io/ByteSink;
aload 0
invokespecial com.google.common.io.CharSink.<init>:()V
1: aload 0
aload 2
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.nio.charset.Charset
putfield com.google.common.io.ByteSink$AsCharSink.charset:Ljava/nio/charset/Charset;
2: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/io/ByteSink$AsCharSink;
0 3 2 charset Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
this$0 final
charset
public java.io.Writer openStream();
descriptor: ()Ljava/io/Writer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.io.OutputStreamWriter
dup
aload 0
getfield com.google.common.io.ByteSink$AsCharSink.this$0:Lcom/google/common/io/ByteSink;
invokevirtual com.google.common.io.ByteSink.openStream:()Ljava/io/OutputStream;
aload 0
getfield com.google.common.io.ByteSink$AsCharSink.charset:Ljava/nio/charset/Charset;
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;Ljava/nio/charset/Charset;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/ByteSink$AsCharSink;
Exceptions:
throws java.io.IOException
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield com.google.common.io.ByteSink$AsCharSink.this$0:Lcom/google/common/io/ByteSink;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".asCharSink("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.google.common.io.ByteSink$AsCharSink.charset:Ljava/nio/charset/Charset;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)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/ByteSink$AsCharSink;
}
SourceFile: "ByteSink.java"
NestHost: com.google.common.io.ByteSink
InnerClasses:
private final AsCharSink = com.google.common.io.ByteSink$AsCharSink of com.google.common.io.ByteSink