public final class io.netty.util.internal.PromiseNotificationUtil
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.util.internal.PromiseNotificationUtil
super_class: java.lang.Object
{
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 Lio/netty/util/internal/PromiseNotificationUtil;
public static void tryCancel(io.netty.util.concurrent.Promise<?>, io.netty.util.internal.logging.InternalLogger);
descriptor: (Lio/netty/util/concurrent/Promise;Lio/netty/util/internal/logging/InternalLogger;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
invokeinterface io.netty.util.concurrent.Promise.cancel:(Z)Z
ifne 9
aload 1
ifnull 9
1: aload 0
invokeinterface io.netty.util.concurrent.Promise.cause:()Ljava/lang/Throwable;
astore 2
start local 2 2: aload 2
ifnonnull 5
3: aload 1
ldc "Failed to cancel promise because it has succeeded already: {}"
aload 0
invokeinterface io.netty.util.internal.logging.InternalLogger.warn:(Ljava/lang/String;Ljava/lang/Object;)V
4: goto 9
5: StackMap locals: java.lang.Throwable
StackMap stack:
aload 1
6: ldc "Failed to cancel promise because it has failed already: {}, unnotified cause:"
7: aload 0
aload 2
8: invokeinterface io.netty.util.internal.logging.InternalLogger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 2 9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 p Lio/netty/util/concurrent/Promise<*>;
0 10 1 logger Lio/netty/util/internal/logging/InternalLogger;
2 9 2 err Ljava/lang/Throwable;
Signature: (Lio/netty/util/concurrent/Promise<*>;Lio/netty/util/internal/logging/InternalLogger;)V
MethodParameters:
Name Flags
p
logger
public static <V> void trySuccess(io.netty.util.concurrent.Promise<? super V>, V, io.netty.util.internal.logging.InternalLogger);
descriptor: (Lio/netty/util/concurrent/Promise;Ljava/lang/Object;Lio/netty/util/internal/logging/InternalLogger;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokeinterface io.netty.util.concurrent.Promise.trySuccess:(Ljava/lang/Object;)Z
ifne 9
aload 2
ifnull 9
1: aload 0
invokeinterface io.netty.util.concurrent.Promise.cause:()Ljava/lang/Throwable;
astore 3
start local 3 2: aload 3
ifnonnull 5
3: aload 2
ldc "Failed to mark a promise as success because it has succeeded already: {}"
aload 0
invokeinterface io.netty.util.internal.logging.InternalLogger.warn:(Ljava/lang/String;Ljava/lang/Object;)V
4: goto 9
5: StackMap locals: java.lang.Throwable
StackMap stack:
aload 2
6: ldc "Failed to mark a promise as success because it has failed already: {}, unnotified cause:"
7: aload 0
aload 3
8: invokeinterface io.netty.util.internal.logging.InternalLogger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 3 9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 p Lio/netty/util/concurrent/Promise<-TV;>;
0 10 1 result TV;
0 10 2 logger Lio/netty/util/internal/logging/InternalLogger;
2 9 3 err Ljava/lang/Throwable;
Signature: <V:Ljava/lang/Object;>(Lio/netty/util/concurrent/Promise<-TV;>;TV;Lio/netty/util/internal/logging/InternalLogger;)V
MethodParameters:
Name Flags
p
result
logger
public static void tryFailure(io.netty.util.concurrent.Promise<?>, java.lang.Throwable, io.netty.util.internal.logging.InternalLogger);
descriptor: (Lio/netty/util/concurrent/Promise;Ljava/lang/Throwable;Lio/netty/util/internal/logging/InternalLogger;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokeinterface io.netty.util.concurrent.Promise.tryFailure:(Ljava/lang/Throwable;)Z
ifne 9
aload 2
ifnull 9
1: aload 0
invokeinterface io.netty.util.concurrent.Promise.cause:()Ljava/lang/Throwable;
astore 3
start local 3 2: aload 3
ifnonnull 5
3: aload 2
ldc "Failed to mark a promise as failure because it has succeeded already: {}"
aload 0
aload 1
invokeinterface io.netty.util.internal.logging.InternalLogger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
4: goto 9
5: StackMap locals: java.lang.Throwable
StackMap stack:
aload 2
6: ldc "Failed to mark a promise as failure because it has failed already: {}, unnotified cause: {}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
7: aload 0
aastore
dup
iconst_1
aload 3
invokestatic io.netty.util.internal.ThrowableUtil.stackTraceToString:(Ljava/lang/Throwable;)Ljava/lang/String;
aastore
dup
iconst_2
aload 1
aastore
8: invokeinterface io.netty.util.internal.logging.InternalLogger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 3 9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 p Lio/netty/util/concurrent/Promise<*>;
0 10 1 cause Ljava/lang/Throwable;
0 10 2 logger Lio/netty/util/internal/logging/InternalLogger;
2 9 3 err Ljava/lang/Throwable;
Signature: (Lio/netty/util/concurrent/Promise<*>;Ljava/lang/Throwable;Lio/netty/util/internal/logging/InternalLogger;)V
MethodParameters:
Name Flags
p
cause
logger
}
SourceFile: "PromiseNotificationUtil.java"