class com.google.common.util.concurrent.Futures$2 implements java.util.concurrent.Future<O>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.google.common.util.concurrent.Futures$2
super_class: java.lang.Object
{
private final java.util.concurrent.Future val$input;
descriptor: Ljava/util/concurrent/Future;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final com.google.common.base.Function val$function;
descriptor: Lcom/google/common/base/Function;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.util.concurrent.Future, com.google.common.base.Function);
descriptor: (Ljava/util/concurrent/Future;Lcom/google/common/base/Function;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield com.google.common.util.concurrent.Futures$2.val$input:Ljava/util/concurrent/Future;
aload 0
aload 2
putfield com.google.common.util.concurrent.Futures$2.val$function:Lcom/google/common/base/Function;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/Futures$2;
MethodParameters:
Name Flags
val$input final
val$function final
public boolean cancel(boolean);
descriptor: (Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.util.concurrent.Futures$2.val$input:Ljava/util/concurrent/Future;
iload 1
invokeinterface java.util.concurrent.Future.cancel:(Z)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/Futures$2;
0 1 1 mayInterruptIfRunning Z
MethodParameters:
Name Flags
mayInterruptIfRunning
public boolean isCancelled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.util.concurrent.Futures$2.val$input:Ljava/util/concurrent/Future;
invokeinterface java.util.concurrent.Future.isCancelled:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/Futures$2;
public boolean isDone();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.util.concurrent.Futures$2.val$input:Ljava/util/concurrent/Future;
invokeinterface java.util.concurrent.Future.isDone:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/Futures$2;
public O get();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield com.google.common.util.concurrent.Futures$2.val$input:Ljava/util/concurrent/Future;
invokeinterface java.util.concurrent.Future.get:()Ljava/lang/Object;
invokevirtual com.google.common.util.concurrent.Futures$2.applyTransformation:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/Futures$2;
Exceptions:
throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
Signature: ()TO;
public O get(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
aload 0
getfield com.google.common.util.concurrent.Futures$2.val$input:Ljava/util/concurrent/Future;
lload 1
aload 3
invokeinterface java.util.concurrent.Future.get:(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
invokevirtual com.google.common.util.concurrent.Futures$2.applyTransformation:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/Futures$2;
0 1 1 timeout J
0 1 3 unit Ljava/util/concurrent/TimeUnit;
Exceptions:
throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
Signature: (JLjava/util/concurrent/TimeUnit;)TO;
MethodParameters:
Name Flags
timeout
unit
private O applyTransformation();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.util.concurrent.Futures$2.val$function:Lcom/google/common/base/Function;
aload 1
invokeinterface com.google.common.base.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 3: new java.util.concurrent.ExecutionException
dup
aload 2
invokespecial java.util.concurrent.ExecutionException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/util/concurrent/Futures$2;
0 4 1 input TI;
3 4 2 t Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
Exceptions:
throws java.util.concurrent.ExecutionException
Signature: (TI;)TO;
MethodParameters:
Name Flags
input
}
Signature: Ljava/lang/Object;Ljava/util/concurrent/Future<TO;>;
SourceFile: "Futures.java"
EnclosingMethod: com.google.common.util.concurrent.Futures.lazyTransform:(Ljava/util/concurrent/Future;Lcom/google/common/base/Function;)Ljava/util/concurrent/Future;
NestHost: com.google.common.util.concurrent.Futures
InnerClasses:
com.google.common.util.concurrent.Futures$2