public class org.springframework.scheduling.annotation.AsyncResult<V> implements org.springframework.util.concurrent.ListenableFuture<V>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.scheduling.annotation.AsyncResult
super_class: java.lang.Object
{
private final V value;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: TV;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private final java.lang.Throwable executionException;
descriptor: Ljava/lang/Throwable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void <init>();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokespecial org.springframework.scheduling.annotation.AsyncResult.<init>:(Ljava/lang/Object;Ljava/lang/Throwable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scheduling/annotation/AsyncResult<TV;>;
0 2 1 value TV;
Signature: (TV;)V
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
value
private void <init>(V, java.lang.Throwable);
descriptor: (Ljava/lang/Object;Ljava/lang/Throwable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.springframework.scheduling.annotation.AsyncResult.value:Ljava/lang/Object;
2: aload 0
aload 2
putfield org.springframework.scheduling.annotation.AsyncResult.executionException:Ljava/lang/Throwable;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/scheduling/annotation/AsyncResult<TV;>;
0 4 1 value TV;
0 4 2 ex Ljava/lang/Throwable;
Signature: (TV;Ljava/lang/Throwable;)V
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
value
ex
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 Lorg/springframework/scheduling/annotation/AsyncResult<TV;>;
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: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/scheduling/annotation/AsyncResult<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 Lorg/springframework/scheduling/annotation/AsyncResult<TV;>;
public V get();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.scheduling.annotation.AsyncResult.executionException:Ljava/lang/Throwable;
ifnull 5
1: aload 0
getfield org.springframework.scheduling.annotation.AsyncResult.executionException:Ljava/lang/Throwable;
instanceof java.util.concurrent.ExecutionException
ifeq 3
2: aload 0
getfield org.springframework.scheduling.annotation.AsyncResult.executionException:Ljava/lang/Throwable;
checkcast java.util.concurrent.ExecutionException
goto 4
3: StackMap locals:
StackMap stack:
new java.util.concurrent.ExecutionException
dup
aload 0
getfield org.springframework.scheduling.annotation.AsyncResult.executionException:Ljava/lang/Throwable;
invokespecial java.util.concurrent.ExecutionException.<init>:(Ljava/lang/Throwable;)V
4: StackMap locals:
StackMap stack: java.util.concurrent.ExecutionException
athrow
5: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.scheduling.annotation.AsyncResult.value:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/scheduling/annotation/AsyncResult<TV;>;
Exceptions:
throws java.util.concurrent.ExecutionException
Signature: ()TV;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
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 0
invokevirtual org.springframework.scheduling.annotation.AsyncResult.get:()Ljava/lang/Object;
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/scheduling/annotation/AsyncResult<TV;>;
0 1 1 timeout J
0 1 3 unit Ljava/util/concurrent/TimeUnit;
Exceptions:
throws java.util.concurrent.ExecutionException
Signature: (JLjava/util/concurrent/TimeUnit;)TV;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
timeout
unit
public void addCallback(org.springframework.util.concurrent.ListenableFutureCallback<? super V>);
descriptor: (Lorg/springframework/util/concurrent/ListenableFutureCallback;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 1
invokevirtual org.springframework.scheduling.annotation.AsyncResult.addCallback:(Lorg/springframework/util/concurrent/SuccessCallback;Lorg/springframework/util/concurrent/FailureCallback;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/scheduling/annotation/AsyncResult<TV;>;
0 2 1 callback Lorg/springframework/util/concurrent/ListenableFutureCallback<-TV;>;
Signature: (Lorg/springframework/util/concurrent/ListenableFutureCallback<-TV;>;)V
MethodParameters:
Name Flags
callback
public void addCallback(org.springframework.util.concurrent.SuccessCallback<? super V>, org.springframework.util.concurrent.FailureCallback);
descriptor: (Lorg/springframework/util/concurrent/SuccessCallback;Lorg/springframework/util/concurrent/FailureCallback;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.springframework.scheduling.annotation.AsyncResult.executionException:Ljava/lang/Throwable;
ifnull 3
1: aload 2
aload 0
getfield org.springframework.scheduling.annotation.AsyncResult.executionException:Ljava/lang/Throwable;
invokestatic org.springframework.scheduling.annotation.AsyncResult.exposedException:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
invokeinterface org.springframework.util.concurrent.FailureCallback.onFailure:(Ljava/lang/Throwable;)V
2: goto 6
3: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.springframework.scheduling.annotation.AsyncResult.value:Ljava/lang/Object;
invokeinterface org.springframework.util.concurrent.SuccessCallback.onSuccess:(Ljava/lang/Object;)V
4: goto 6
5: StackMap locals:
StackMap stack: java.lang.Throwable
pop
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/scheduling/annotation/AsyncResult<TV;>;
0 7 1 successCallback Lorg/springframework/util/concurrent/SuccessCallback<-TV;>;
0 7 2 failureCallback Lorg/springframework/util/concurrent/FailureCallback;
Exception table:
from to target type
0 4 5 Class java.lang.Throwable
Signature: (Lorg/springframework/util/concurrent/SuccessCallback<-TV;>;Lorg/springframework/util/concurrent/FailureCallback;)V
MethodParameters:
Name Flags
successCallback
failureCallback
public java.util.concurrent.CompletableFuture<V> completable();
descriptor: ()Ljava/util/concurrent/CompletableFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.scheduling.annotation.AsyncResult.executionException:Ljava/lang/Throwable;
ifnull 4
1: new java.util.concurrent.CompletableFuture
dup
invokespecial java.util.concurrent.CompletableFuture.<init>:()V
astore 1
start local 1 2: aload 1
aload 0
getfield org.springframework.scheduling.annotation.AsyncResult.executionException:Ljava/lang/Throwable;
invokestatic org.springframework.scheduling.annotation.AsyncResult.exposedException:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
invokevirtual java.util.concurrent.CompletableFuture.completeExceptionally:(Ljava/lang/Throwable;)Z
pop
3: aload 1
areturn
end local 1 4: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.scheduling.annotation.AsyncResult.value:Ljava/lang/Object;
invokestatic java.util.concurrent.CompletableFuture.completedFuture:(Ljava/lang/Object;)Ljava/util/concurrent/CompletableFuture;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/scheduling/annotation/AsyncResult<TV;>;
2 4 1 completable Ljava/util/concurrent/CompletableFuture<TV;>;
Signature: ()Ljava/util/concurrent/CompletableFuture<TV;>;
public static <V> org.springframework.util.concurrent.ListenableFuture<V> forValue(V);
descriptor: (Ljava/lang/Object;)Lorg/springframework/util/concurrent/ListenableFuture;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.springframework.scheduling.annotation.AsyncResult
dup
aload 0
aconst_null
invokespecial org.springframework.scheduling.annotation.AsyncResult.<init>:(Ljava/lang/Object;Ljava/lang/Throwable;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value TV;
Signature: <V:Ljava/lang/Object;>(TV;)Lorg/springframework/util/concurrent/ListenableFuture<TV;>;
MethodParameters:
Name Flags
value
public static <V> org.springframework.util.concurrent.ListenableFuture<V> forExecutionException(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Lorg/springframework/util/concurrent/ListenableFuture;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.springframework.scheduling.annotation.AsyncResult
dup
aconst_null
aload 0
invokespecial org.springframework.scheduling.annotation.AsyncResult.<init>:(Ljava/lang/Object;Ljava/lang/Throwable;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 ex Ljava/lang/Throwable;
Signature: <V:Ljava/lang/Object;>(Ljava/lang/Throwable;)Lorg/springframework/util/concurrent/ListenableFuture<TV;>;
MethodParameters:
Name Flags
ex
private static java.lang.Throwable exposedException(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/Throwable;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
instanceof java.util.concurrent.ExecutionException
ifeq 4
1: aload 0
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
astore 1
start local 1 2: aload 1
ifnull 4
3: aload 1
areturn
end local 1 4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 original Ljava/lang/Throwable;
2 4 1 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
original
}
Signature: <V:Ljava/lang/Object;>Ljava/lang/Object;Lorg/springframework/util/concurrent/ListenableFuture<TV;>;
SourceFile: "AsyncResult.java"