abstract class com.google.common.util.concurrent.CollectionFuture$CollectionFutureRunningState extends com.google.common.util.concurrent.AggregateFuture<V, C>.RunningState
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.google.common.util.concurrent.CollectionFuture$CollectionFutureRunningState
super_class: com.google.common.util.concurrent.AggregateFuture$RunningState
{
private java.util.List<com.google.common.base.Optional<V>> values;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lcom/google/common/base/Optional<TV;>;>;
final com.google.common.util.concurrent.CollectionFuture this$0;
descriptor: Lcom/google/common/util/concurrent/CollectionFuture;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.google.common.collect.ImmutableCollection<? extends com.google.common.util.concurrent.ListenableFuture<? extends V>>, );
descriptor: (Lcom/google/common/util/concurrent/CollectionFuture;Lcom/google/common/collect/ImmutableCollection;Z)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield com.google.common.util.concurrent.CollectionFuture$CollectionFutureRunningState.this$0:Lcom/google/common/util/concurrent/CollectionFuture;
1: aload 0
aload 1
aload 2
iload 3
iconst_1
invokespecial com.google.common.util.concurrent.AggregateFuture$RunningState.<init>:(Lcom/google/common/util/concurrent/AggregateFuture;Lcom/google/common/collect/ImmutableCollection;ZZ)V
2: aload 0
3: aload 2
invokevirtual com.google.common.collect.ImmutableCollection.isEmpty:()Z
ifeq 5
4: invokestatic com.google.common.collect.ImmutableList.of:()Lcom/google/common/collect/ImmutableList;
goto 6
5: StackMap locals: com.google.common.util.concurrent.CollectionFuture$CollectionFutureRunningState com.google.common.util.concurrent.CollectionFuture com.google.common.collect.ImmutableCollection int
StackMap stack: com.google.common.util.concurrent.CollectionFuture$CollectionFutureRunningState
aload 2
invokevirtual com.google.common.collect.ImmutableCollection.size:()I
invokestatic com.google.common.collect.Lists.newArrayListWithCapacity:(I)Ljava/util/ArrayList;
6: StackMap locals: com.google.common.util.concurrent.CollectionFuture$CollectionFutureRunningState com.google.common.util.concurrent.CollectionFuture com.google.common.collect.ImmutableCollection int
StackMap stack: com.google.common.util.concurrent.CollectionFuture$CollectionFutureRunningState java.util.AbstractCollection
putfield com.google.common.util.concurrent.CollectionFuture$CollectionFutureRunningState.values:Ljava/util/List;
7: iconst_0
istore 4
start local 4 8: goto 11
9: StackMap locals: int
StackMap stack:
aload 0
getfield com.google.common.util.concurrent.CollectionFuture$CollectionFutureRunningState.values:Ljava/util/List;
aconst_null
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
aload 2
invokevirtual com.google.common.collect.ImmutableCollection.size:()I
if_icmplt 9
end local 4 12: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/google/common/util/concurrent/CollectionFuture$CollectionFutureRunningState;
0 13 2 futures Lcom/google/common/collect/ImmutableCollection<+Lcom/google/common/util/concurrent/ListenableFuture<+TV;>;>;
0 13 3 allMustSucceed Z
8 12 4 i I
Signature: (Lcom/google/common/collect/ImmutableCollection<+Lcom/google/common/util/concurrent/ListenableFuture<+TV;>;>;Z)V
MethodParameters:
Name Flags
this$0 final
futures
allMustSucceed
final void collectOneValue(boolean, int, );
descriptor: (ZILjava/lang/Object;)V
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.google.common.util.concurrent.CollectionFuture$CollectionFutureRunningState.values:Ljava/util/List;
astore 4
start local 4 1: aload 4
ifnull 4
2: aload 4
iload 2
aload 3
invokestatic com.google.common.base.Optional.fromNullable:(Ljava/lang/Object;)Lcom/google/common/base/Optional;
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
3: goto 8
4: StackMap locals: java.util.List
StackMap stack:
iload 1
ifne 5
aload 0
getfield com.google.common.util.concurrent.CollectionFuture$CollectionFutureRunningState.this$0:Lcom/google/common/util/concurrent/CollectionFuture;
invokevirtual com.google.common.util.concurrent.CollectionFuture.isCancelled:()Z
ifne 5
iconst_0
goto 6
StackMap locals:
StackMap stack:
5: iconst_1
StackMap locals:
StackMap stack: int
6: ldc "Future was done before all dependencies completed"
7: invokestatic com.google.common.base.Preconditions.checkState:(ZLjava/lang/Object;)V
8: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/google/common/util/concurrent/CollectionFuture$CollectionFutureRunningState;
0 9 1 allMustSucceed Z
0 9 2 index I
0 9 3 returnValue TV;
1 9 4 localValues Ljava/util/List<Lcom/google/common/base/Optional<TV;>;>;
Signature: (ZITV;)V
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
allMustSucceed
index
returnValue
final void handleAllCompleted();
descriptor: ()V
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.google.common.util.concurrent.CollectionFuture$CollectionFutureRunningState.values:Ljava/util/List;
astore 1
start local 1 1: aload 1
ifnull 4
2: aload 0
getfield com.google.common.util.concurrent.CollectionFuture$CollectionFutureRunningState.this$0:Lcom/google/common/util/concurrent/CollectionFuture;
aload 0
aload 1
invokevirtual com.google.common.util.concurrent.CollectionFuture$CollectionFutureRunningState.combine:(Ljava/util/List;)Ljava/lang/Object;
invokevirtual com.google.common.util.concurrent.CollectionFuture.set:(Ljava/lang/Object;)Z
pop
3: goto 5
4: StackMap locals: java.util.List
StackMap stack:
aload 0
getfield com.google.common.util.concurrent.CollectionFuture$CollectionFutureRunningState.this$0:Lcom/google/common/util/concurrent/CollectionFuture;
invokevirtual com.google.common.util.concurrent.CollectionFuture.isDone:()Z
invokestatic com.google.common.base.Preconditions.checkState:(Z)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/util/concurrent/CollectionFuture$CollectionFutureRunningState;
1 6 1 localValues Ljava/util/List<Lcom/google/common/base/Optional<TV;>;>;
void releaseResourcesAfterFailure();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.google.common.util.concurrent.AggregateFuture$RunningState.releaseResourcesAfterFailure:()V
1: aload 0
aconst_null
putfield com.google.common.util.concurrent.CollectionFuture$CollectionFutureRunningState.values:Ljava/util/List;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/util/concurrent/CollectionFuture$CollectionFutureRunningState;
abstract C combine(java.util.List<com.google.common.base.Optional<V>>);
descriptor: (Ljava/util/List;)Ljava/lang/Object;
flags: (0x0400) ACC_ABSTRACT
Signature: (Ljava/util/List<Lcom/google/common/base/Optional<TV;>;>;)TC;
MethodParameters:
Name Flags
values
}
Signature: Lcom/google/common/util/concurrent/AggregateFuture<TV;TC;>.RunningState;
SourceFile: "CollectionFuture.java"
NestHost: com.google.common.util.concurrent.CollectionFuture
InnerClasses:
abstract RunningState = com.google.common.util.concurrent.AggregateFuture$RunningState of com.google.common.util.concurrent.AggregateFuture
abstract CollectionFutureRunningState = com.google.common.util.concurrent.CollectionFuture$CollectionFutureRunningState of com.google.common.util.concurrent.CollectionFuture