abstract class com.google.common.util.concurrent.ImmediateFuture<V> extends com.google.common.util.concurrent.FluentFuture<V>
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.google.common.util.concurrent.ImmediateFuture
super_class: com.google.common.util.concurrent.FluentFuture
{
private static final java.util.logging.Logger log;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/google/common/util/concurrent/ImmediateFuture;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
putstatic com.google.common.util.concurrent.ImmediateFuture.log:Ljava/util/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.google.common.util.concurrent.FluentFuture.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/ImmediateFuture<TV;>;
public void addListener(java.lang.Runnable, java.util.concurrent.Executor);
descriptor: (Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "Runnable was null."
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 2
ldc "Executor was null."
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 2
aload 1
invokeinterface java.util.concurrent.Executor.execute:(Ljava/lang/Runnable;)V
3: goto 10
StackMap locals:
StackMap stack: java.lang.RuntimeException
4: astore 3
start local 3 5: getstatic com.google.common.util.concurrent.ImmediateFuture.log:Ljava/util/logging/Logger;
6: getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
7: new java.lang.StringBuilder
dup
ldc "RuntimeException while executing runnable "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " with executor "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: aload 3
9: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/google/common/util/concurrent/ImmediateFuture<TV;>;
0 11 1 listener Ljava/lang/Runnable;
0 11 2 executor Ljava/util/concurrent/Executor;
5 10 3 e Ljava/lang/RuntimeException;
Exception table:
from to target type
2 3 4 Class java.lang.RuntimeException
MethodParameters:
Name Flags
listener
executor
public boolean cancel(boolean);
descriptor: (Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/ImmediateFuture<TV;>;
0 1 1 mayInterruptIfRunning Z
MethodParameters:
Name Flags
mayInterruptIfRunning
public abstract V get();
descriptor: ()Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.util.concurrent.ExecutionException
Signature: ()TV;
public V get(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 3
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual com.google.common.util.concurrent.ImmediateFuture.get:()Ljava/lang/Object;
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/util/concurrent/ImmediateFuture<TV;>;
0 2 1 timeout J
0 2 3 unit Ljava/util/concurrent/TimeUnit;
Exceptions:
throws java.util.concurrent.ExecutionException
Signature: (JLjava/util/concurrent/TimeUnit;)TV;
MethodParameters:
Name Flags
timeout
unit
public boolean isCancelled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/ImmediateFuture<TV;>;
public boolean isDone();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/ImmediateFuture<TV;>;
}
Signature: <V:Ljava/lang/Object;>Lcom/google/common/util/concurrent/FluentFuture<TV;>;
SourceFile: "ImmediateFuture.java"
NestMembers:
com.google.common.util.concurrent.ImmediateFuture$ImmediateCancelledFuture com.google.common.util.concurrent.ImmediateFuture$ImmediateFailedCheckedFuture com.google.common.util.concurrent.ImmediateFuture$ImmediateFailedFuture com.google.common.util.concurrent.ImmediateFuture$ImmediateSuccessfulCheckedFuture com.google.common.util.concurrent.ImmediateFuture$ImmediateSuccessfulFuture
InnerClasses:
final ImmediateCancelledFuture = com.google.common.util.concurrent.ImmediateFuture$ImmediateCancelledFuture of com.google.common.util.concurrent.ImmediateFuture
ImmediateFailedCheckedFuture = com.google.common.util.concurrent.ImmediateFuture$ImmediateFailedCheckedFuture of com.google.common.util.concurrent.ImmediateFuture
final ImmediateFailedFuture = com.google.common.util.concurrent.ImmediateFuture$ImmediateFailedFuture of com.google.common.util.concurrent.ImmediateFuture
ImmediateSuccessfulCheckedFuture = com.google.common.util.concurrent.ImmediateFuture$ImmediateSuccessfulCheckedFuture of com.google.common.util.concurrent.ImmediateFuture
ImmediateSuccessfulFuture = com.google.common.util.concurrent.ImmediateFuture$ImmediateSuccessfulFuture of com.google.common.util.concurrent.ImmediateFuture
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(emulated = true)