class com.google.common.io.ByteSource$AsCharSource extends com.google.common.io.CharSource
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.google.common.io.ByteSource$AsCharSource
super_class: com.google.common.io.CharSource
{
final java.nio.charset.Charset charset;
descriptor: Ljava/nio/charset/Charset;
flags: (0x0010) ACC_FINAL
final com.google.common.io.ByteSource this$0;
descriptor: Lcom/google/common/io/ByteSource;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.google.common.io.ByteSource, java.nio.charset.Charset);
descriptor: (Lcom/google/common/io/ByteSource;Ljava/nio/charset/Charset;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield com.google.common.io.ByteSource$AsCharSource.this$0:Lcom/google/common/io/ByteSource;
aload 0
invokespecial com.google.common.io.CharSource.<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.ByteSource$AsCharSource.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/ByteSource$AsCharSource;
0 3 2 charset Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
this$0 final
charset
public com.google.common.io.ByteSource asByteSource(java.nio.charset.Charset);
descriptor: (Ljava/nio/charset/Charset;)Lcom/google/common/io/ByteSource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield com.google.common.io.ByteSource$AsCharSource.charset:Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
getfield com.google.common.io.ByteSource$AsCharSource.this$0:Lcom/google/common/io/ByteSource;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial com.google.common.io.CharSource.asByteSource:(Ljava/nio/charset/Charset;)Lcom/google/common/io/ByteSource;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/io/ByteSource$AsCharSource;
0 3 1 charset Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
charset
public java.io.Reader openStream();
descriptor: ()Ljava/io/Reader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.io.InputStreamReader
dup
aload 0
getfield com.google.common.io.ByteSource$AsCharSource.this$0:Lcom/google/common/io/ByteSource;
invokevirtual com.google.common.io.ByteSource.openStream:()Ljava/io/InputStream;
aload 0
getfield com.google.common.io.ByteSource$AsCharSource.charset:Ljava/nio/charset/Charset;
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/ByteSource$AsCharSource;
Exceptions:
throws java.io.IOException
public java.lang.String read();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.String
dup
aload 0
getfield com.google.common.io.ByteSource$AsCharSource.this$0:Lcom/google/common/io/ByteSource;
invokevirtual com.google.common.io.ByteSource.read:()[B
aload 0
getfield com.google.common.io.ByteSource$AsCharSource.charset:Ljava/nio/charset/Charset;
invokespecial java.lang.String.<init>:([BLjava/nio/charset/Charset;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/ByteSource$AsCharSource;
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.ByteSource$AsCharSource.this$0:Lcom/google/common/io/ByteSource;
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 ".asCharSource("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.google.common.io.ByteSource$AsCharSource.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/ByteSource$AsCharSource;
}
SourceFile: "ByteSource.java"
NestHost: com.google.common.io.ByteSource
InnerClasses:
AsCharSource = com.google.common.io.ByteSource$AsCharSource of com.google.common.io.ByteSource