public final class com.google.common.util.concurrent.JdkFutureAdapters
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.util.concurrent.JdkFutureAdapters
super_class: java.lang.Object
{
public static <V> com.google.common.util.concurrent.ListenableFuture<V> listenInPoolThread(java.util.concurrent.Future<V>);
descriptor: (Ljava/util/concurrent/Future;)Lcom/google/common/util/concurrent/ListenableFuture;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
instanceof com.google.common.util.concurrent.ListenableFuture
ifeq 2
1: aload 0
checkcast com.google.common.util.concurrent.ListenableFuture
areturn
2: StackMap locals:
StackMap stack:
new com.google.common.util.concurrent.JdkFutureAdapters$ListenableFutureAdapter
dup
aload 0
invokespecial com.google.common.util.concurrent.JdkFutureAdapters$ListenableFutureAdapter.<init>:(Ljava/util/concurrent/Future;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 future Ljava/util/concurrent/Future<TV;>;
Signature: <V:Ljava/lang/Object;>(Ljava/util/concurrent/Future<TV;>;)Lcom/google/common/util/concurrent/ListenableFuture<TV;>;
MethodParameters:
Name Flags
future
public static <V> com.google.common.util.concurrent.ListenableFuture<V> listenInPoolThread(java.util.concurrent.Future<V>, java.util.concurrent.Executor);
descriptor: (Ljava/util/concurrent/Future;Ljava/util/concurrent/Executor;)Lcom/google/common/util/concurrent/ListenableFuture;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
instanceof com.google.common.util.concurrent.ListenableFuture
ifeq 3
2: aload 0
checkcast com.google.common.util.concurrent.ListenableFuture
areturn
3: StackMap locals:
StackMap stack:
new com.google.common.util.concurrent.JdkFutureAdapters$ListenableFutureAdapter
dup
aload 0
aload 1
invokespecial com.google.common.util.concurrent.JdkFutureAdapters$ListenableFutureAdapter.<init>:(Ljava/util/concurrent/Future;Ljava/util/concurrent/Executor;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 future Ljava/util/concurrent/Future<TV;>;
0 4 1 executor Ljava/util/concurrent/Executor;
Signature: <V:Ljava/lang/Object;>(Ljava/util/concurrent/Future<TV;>;Ljava/util/concurrent/Executor;)Lcom/google/common/util/concurrent/ListenableFuture<TV;>;
MethodParameters:
Name Flags
future
executor
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: 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/JdkFutureAdapters;
}
SourceFile: "JdkFutureAdapters.java"
NestMembers:
com.google.common.util.concurrent.JdkFutureAdapters$ListenableFutureAdapter com.google.common.util.concurrent.JdkFutureAdapters$ListenableFutureAdapter$1
InnerClasses:
private ListenableFutureAdapter = com.google.common.util.concurrent.JdkFutureAdapters$ListenableFutureAdapter of com.google.common.util.concurrent.JdkFutureAdapters
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()
com.google.common.annotations.GwtIncompatible()