final class com.google.common.io.CharSource$ConcatenatedCharSource extends com.google.common.io.CharSource
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.io.CharSource$ConcatenatedCharSource
super_class: com.google.common.io.CharSource
{
private final java.lang.Iterable<? extends com.google.common.io.CharSource> sources;
descriptor: Ljava/lang/Iterable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Iterable<+Lcom/google/common/io/CharSource;>;
void <init>(java.lang.Iterable<? extends com.google.common.io.CharSource>);
descriptor: (Ljava/lang/Iterable;)V
flags: (0x0000)
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.Iterable
putfield com.google.common.io.CharSource$ConcatenatedCharSource.sources:Ljava/lang/Iterable;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/io/CharSource$ConcatenatedCharSource;
0 3 1 sources Ljava/lang/Iterable<+Lcom/google/common/io/CharSource;>;
Signature: (Ljava/lang/Iterable<+Lcom/google/common/io/CharSource;>;)V
MethodParameters:
Name Flags
sources
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.MultiReader
dup
aload 0
getfield com.google.common.io.CharSource$ConcatenatedCharSource.sources:Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
invokespecial com.google.common.io.MultiReader.<init>:(Ljava/util/Iterator;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/CharSource$ConcatenatedCharSource;
Exceptions:
throws java.io.IOException
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
getfield com.google.common.io.CharSource$ConcatenatedCharSource.sources:Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: com.google.common.io.CharSource$ConcatenatedCharSource top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.google.common.io.CharSource
astore 1
start local 1 2: aload 1
invokevirtual com.google.common.io.CharSource.isEmpty:()Z
ifne 4
3: iconst_0
ireturn
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/io/CharSource$ConcatenatedCharSource;
2 4 1 source Lcom/google/common/io/CharSource;
Exceptions:
throws java.io.IOException
public com.google.common.base.Optional<java.lang.Long> lengthIfKnown();
descriptor: ()Lcom/google/common/base/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aload 0
getfield com.google.common.io.CharSource$ConcatenatedCharSource.sources:Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: com.google.common.io.CharSource$ConcatenatedCharSource long top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.google.common.io.CharSource
astore 3
start local 3 3: aload 3
invokevirtual com.google.common.io.CharSource.lengthIfKnown:()Lcom/google/common/base/Optional;
astore 5
start local 5 4: aload 5
invokevirtual com.google.common.base.Optional.isPresent:()Z
ifne 6
5: invokestatic com.google.common.base.Optional.absent:()Lcom/google/common/base/Optional;
areturn
6: StackMap locals: com.google.common.io.CharSource$ConcatenatedCharSource long com.google.common.io.CharSource java.util.Iterator com.google.common.base.Optional
StackMap stack:
lload 1
aload 5
invokevirtual com.google.common.base.Optional.get:()Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
ladd
lstore 1
end local 5 end local 3 7: StackMap locals: com.google.common.io.CharSource$ConcatenatedCharSource long top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: lload 1
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 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/google/common/io/CharSource$ConcatenatedCharSource;
1 9 1 result J
3 7 3 source Lcom/google/common/io/CharSource;
4 7 5 lengthIfKnown Lcom/google/common/base/Optional<Ljava/lang/Long;>;
Signature: ()Lcom/google/common/base/Optional<Ljava/lang/Long;>;
public long length();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aload 0
getfield com.google.common.io.CharSource$ConcatenatedCharSource.sources:Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: com.google.common.io.CharSource$ConcatenatedCharSource long top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.google.common.io.CharSource
astore 3
start local 3 3: lload 1
aload 3
invokevirtual com.google.common.io.CharSource.length:()J
ladd
lstore 1
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/io/CharSource$ConcatenatedCharSource;
1 6 1 result J
3 4 3 source Lcom/google/common/io/CharSource;
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
ldc "CharSource.concat("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.google.common.io.CharSource$ConcatenatedCharSource.sources:Ljava/lang/Iterable;
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/CharSource$ConcatenatedCharSource;
}
SourceFile: "CharSource.java"
NestHost: com.google.common.io.CharSource
InnerClasses:
private final ConcatenatedCharSource = com.google.common.io.CharSource$ConcatenatedCharSource of com.google.common.io.CharSource