class io.vertx.core.impl.future.FutureImpl<T> extends io.vertx.core.impl.future.FutureBase<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.vertx.core.impl.future.FutureImpl
super_class: io.vertx.core.impl.future.FutureBase
{
private static final java.lang.Object NULL_VALUE;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.lang.Object value;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private io.vertx.core.impl.future.Listener<T> listener;
descriptor: Lio/vertx/core/impl/future/Listener;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/impl/future/Listener<TT;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic io.vertx.core.impl.future.FutureImpl.NULL_VALUE:Ljava/lang/Object;
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 io.vertx.core.impl.future.FutureBase.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/impl/future/FutureImpl<TT;>;
void <init>(io.vertx.core.impl.ContextInternal);
descriptor: (Lio/vertx/core/impl/ContextInternal;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial io.vertx.core.impl.future.FutureBase.<init>:(Lio/vertx/core/impl/ContextInternal;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/impl/future/FutureImpl<TT;>;
0 2 1 context Lio/vertx/core/impl/ContextInternal;
MethodParameters:
Name Flags
context
public synchronized T result();
descriptor: ()Ljava/lang/Object;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.impl.future.FutureImpl.value:Ljava/lang/Object;
instanceof java.lang.Throwable
ifeq 1
aconst_null
goto 3
StackMap locals:
StackMap stack:
1: aload 0
getfield io.vertx.core.impl.future.FutureImpl.value:Ljava/lang/Object;
getstatic io.vertx.core.impl.future.FutureImpl.NULL_VALUE:Ljava/lang/Object;
if_acmpne 2
aconst_null
goto 3
StackMap locals:
StackMap stack:
2: aload 0
getfield io.vertx.core.impl.future.FutureImpl.value:Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/impl/future/FutureImpl<TT;>;
Signature: ()TT;
public synchronized java.lang.Throwable cause();
descriptor: ()Ljava/lang/Throwable;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.impl.future.FutureImpl.value:Ljava/lang/Object;
instanceof java.lang.Throwable
ifeq 1
aload 0
getfield io.vertx.core.impl.future.FutureImpl.value:Ljava/lang/Object;
checkcast java.lang.Throwable
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: java.lang.Throwable
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/impl/future/FutureImpl<TT;>;
public synchronized boolean succeeded();
descriptor: ()Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.impl.future.FutureImpl.value:Ljava/lang/Object;
ifnull 1
aload 0
getfield io.vertx.core.impl.future.FutureImpl.value:Ljava/lang/Object;
instanceof java.lang.Throwable
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/impl/future/FutureImpl<TT;>;
public synchronized boolean failed();
descriptor: ()Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.impl.future.FutureImpl.value:Ljava/lang/Object;
instanceof java.lang.Throwable
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/impl/future/FutureImpl<TT;>;
public synchronized boolean isComplete();
descriptor: ()Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.impl.future.FutureImpl.value:Ljava/lang/Object;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/impl/future/FutureImpl<TT;>;
public io.vertx.core.Future<T> onSuccess(io.vertx.core.Handler<T>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "No null handler accepted"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
new io.vertx.core.impl.future.FutureImpl$1
dup
aload 0
aload 1
invokespecial io.vertx.core.impl.future.FutureImpl$1.<init>:(Lio/vertx/core/impl/future/FutureImpl;Lio/vertx/core/Handler;)V
invokevirtual io.vertx.core.impl.future.FutureImpl.addListener:(Lio/vertx/core/impl/future/Listener;)V
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/impl/future/FutureImpl<TT;>;
0 3 1 handler Lio/vertx/core/Handler<TT;>;
Signature: (Lio/vertx/core/Handler<TT;>;)Lio/vertx/core/Future<TT;>;
MethodParameters:
Name Flags
handler
public io.vertx.core.Future<T> onFailure(io.vertx.core.Handler<java.lang.Throwable>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "No null handler accepted"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
new io.vertx.core.impl.future.FutureImpl$2
dup
aload 0
aload 1
invokespecial io.vertx.core.impl.future.FutureImpl$2.<init>:(Lio/vertx/core/impl/future/FutureImpl;Lio/vertx/core/Handler;)V
invokevirtual io.vertx.core.impl.future.FutureImpl.addListener:(Lio/vertx/core/impl/future/Listener;)V
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/impl/future/FutureImpl<TT;>;
0 3 1 handler Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
Signature: (Lio/vertx/core/Handler<Ljava/lang/Throwable;>;)Lio/vertx/core/Future<TT;>;
MethodParameters:
Name Flags
handler
public io.vertx.core.Future<T> onComplete(io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "No null handler accepted"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 1
instanceof io.vertx.core.impl.future.Listener
ifeq 4
2: aload 1
checkcast io.vertx.core.impl.future.Listener
astore 2
start local 2 3: goto 5
end local 2 4: StackMap locals:
StackMap stack:
new io.vertx.core.impl.future.FutureImpl$3
dup
aload 0
aload 1
invokespecial io.vertx.core.impl.future.FutureImpl$3.<init>:(Lio/vertx/core/impl/future/FutureImpl;Lio/vertx/core/Handler;)V
astore 2
start local 2 5: StackMap locals: io.vertx.core.impl.future.Listener
StackMap stack:
aload 0
aload 2
invokevirtual io.vertx.core.impl.future.FutureImpl.addListener:(Lio/vertx/core/impl/future/Listener;)V
6: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/impl/future/FutureImpl<TT;>;
0 7 1 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;
3 4 2 listener Lio/vertx/core/impl/future/Listener<TT;>;
5 7 2 listener Lio/vertx/core/impl/future/Listener<TT;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;)Lio/vertx/core/Future<TT;>;
MethodParameters:
Name Flags
handler
public void addListener(io.vertx.core.impl.future.Listener<T>);
descriptor: (Lio/vertx/core/impl/future/Listener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 3
monitorenter
1: aload 0
getfield io.vertx.core.impl.future.FutureImpl.value:Ljava/lang/Object;
astore 2
start local 2 2: aload 2
ifnonnull 15
3: aload 0
getfield io.vertx.core.impl.future.FutureImpl.listener:Lio/vertx/core/impl/future/Listener;
ifnonnull 6
4: aload 0
aload 1
putfield io.vertx.core.impl.future.FutureImpl.listener:Lio/vertx/core/impl/future/Listener;
5: goto 13
6: StackMap locals: java.lang.Object io.vertx.core.impl.future.FutureImpl
StackMap stack:
aload 0
getfield io.vertx.core.impl.future.FutureImpl.listener:Lio/vertx/core/impl/future/Listener;
instanceof io.vertx.core.impl.future.FutureImpl$ListenerArray
ifeq 9
7: aload 0
getfield io.vertx.core.impl.future.FutureImpl.listener:Lio/vertx/core/impl/future/Listener;
checkcast io.vertx.core.impl.future.FutureImpl$ListenerArray
astore 4
start local 4 8: goto 12
end local 4 9: StackMap locals:
StackMap stack:
new io.vertx.core.impl.future.FutureImpl$ListenerArray
dup
invokespecial io.vertx.core.impl.future.FutureImpl$ListenerArray.<init>:()V
astore 4
start local 4 10: aload 4
aload 0
getfield io.vertx.core.impl.future.FutureImpl.listener:Lio/vertx/core/impl/future/Listener;
invokevirtual io.vertx.core.impl.future.FutureImpl$ListenerArray.add:(Ljava/lang/Object;)Z
pop
11: aload 0
aload 4
putfield io.vertx.core.impl.future.FutureImpl.listener:Lio/vertx/core/impl/future/Listener;
12: StackMap locals: io.vertx.core.impl.future.FutureImpl$ListenerArray
StackMap stack:
aload 4
aload 1
invokevirtual io.vertx.core.impl.future.FutureImpl$ListenerArray.add:(Ljava/lang/Object;)Z
pop
end local 4 13: StackMap locals:
StackMap stack:
aload 3
monitorexit
14: return
15: StackMap locals:
StackMap stack:
aload 3
monitorexit
16: goto 19
end local 2 StackMap locals: io.vertx.core.impl.future.FutureImpl io.vertx.core.impl.future.Listener top io.vertx.core.impl.future.FutureImpl
StackMap stack: java.lang.Throwable
17: aload 3
monitorexit
18: athrow
start local 2 19: StackMap locals: io.vertx.core.impl.future.FutureImpl io.vertx.core.impl.future.Listener java.lang.Object
StackMap stack:
aload 2
instanceof java.lang.Throwable
ifeq 22
20: aload 0
aload 2
checkcast java.lang.Throwable
aload 1
invokevirtual io.vertx.core.impl.future.FutureImpl.emitFailure:(Ljava/lang/Throwable;Lio/vertx/core/impl/future/Listener;)V
21: goto 25
22: StackMap locals:
StackMap stack:
aload 2
getstatic io.vertx.core.impl.future.FutureImpl.NULL_VALUE:Ljava/lang/Object;
if_acmpne 24
23: aconst_null
astore 2
24: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 1
invokevirtual io.vertx.core.impl.future.FutureImpl.emitSuccess:(Ljava/lang/Object;Lio/vertx/core/impl/future/Listener;)V
25: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lio/vertx/core/impl/future/FutureImpl<TT;>;
0 26 1 listener Lio/vertx/core/impl/future/Listener<TT;>;
2 17 2 v Ljava/lang/Object;
19 26 2 v Ljava/lang/Object;
8 9 4 listeners Lio/vertx/core/impl/future/FutureImpl$ListenerArray<TT;>;
10 13 4 listeners Lio/vertx/core/impl/future/FutureImpl$ListenerArray<TT;>;
Exception table:
from to target type
1 14 17 any
15 16 17 any
17 18 17 any
Signature: (Lio/vertx/core/impl/future/Listener<TT;>;)V
MethodParameters:
Name Flags
listener
public boolean tryComplete();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 3
monitorenter
1: aload 0
getfield io.vertx.core.impl.future.FutureImpl.value:Ljava/lang/Object;
ifnull 4
2: aload 3
monitorexit
3: iconst_0
ireturn
4: StackMap locals: io.vertx.core.impl.future.FutureImpl java.lang.Object top io.vertx.core.impl.future.FutureImpl
StackMap stack:
aload 0
aload 1
ifnonnull 5
getstatic io.vertx.core.impl.future.FutureImpl.NULL_VALUE:Ljava/lang/Object;
goto 6
StackMap locals:
StackMap stack: io.vertx.core.impl.future.FutureImpl
5: aload 1
StackMap locals: io.vertx.core.impl.future.FutureImpl java.lang.Object top io.vertx.core.impl.future.FutureImpl
StackMap stack: io.vertx.core.impl.future.FutureImpl java.lang.Object
6: putfield io.vertx.core.impl.future.FutureImpl.value:Ljava/lang/Object;
7: aload 0
getfield io.vertx.core.impl.future.FutureImpl.listener:Lio/vertx/core/impl/future/Listener;
astore 2
start local 2 8: aload 0
aconst_null
putfield io.vertx.core.impl.future.FutureImpl.listener:Lio/vertx/core/impl/future/Listener;
9: aload 3
monitorexit
10: goto 13
end local 2 StackMap locals:
StackMap stack: java.lang.Throwable
11: aload 3
monitorexit
12: athrow
start local 2 13: StackMap locals: io.vertx.core.impl.future.FutureImpl java.lang.Object io.vertx.core.impl.future.Listener
StackMap stack:
aload 2
ifnull 15
14: aload 0
aload 1
aload 2
invokevirtual io.vertx.core.impl.future.FutureImpl.emitSuccess:(Ljava/lang/Object;Lio/vertx/core/impl/future/Listener;)V
15: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lio/vertx/core/impl/future/FutureImpl<TT;>;
0 16 1 result TT;
8 11 2 l Lio/vertx/core/impl/future/Listener<TT;>;
13 16 2 l Lio/vertx/core/impl/future/Listener<TT;>;
Exception table:
from to target type
1 3 11 any
4 10 11 any
11 12 11 any
Signature: (TT;)Z
MethodParameters:
Name Flags
result
public boolean tryFail(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new io.vertx.core.impl.NoStackTraceThrowable
dup
aconst_null
invokespecial io.vertx.core.impl.NoStackTraceThrowable.<init>:(Ljava/lang/String;)V
astore 1
2: StackMap locals:
StackMap stack:
aload 0
dup
astore 3
monitorenter
3: aload 0
getfield io.vertx.core.impl.future.FutureImpl.value:Ljava/lang/Object;
ifnull 6
4: aload 3
monitorexit
5: iconst_0
ireturn
6: StackMap locals: io.vertx.core.impl.future.FutureImpl java.lang.Throwable top io.vertx.core.impl.future.FutureImpl
StackMap stack:
aload 0
aload 1
putfield io.vertx.core.impl.future.FutureImpl.value:Ljava/lang/Object;
7: aload 0
getfield io.vertx.core.impl.future.FutureImpl.listener:Lio/vertx/core/impl/future/Listener;
astore 2
start local 2 8: aload 0
aconst_null
putfield io.vertx.core.impl.future.FutureImpl.listener:Lio/vertx/core/impl/future/Listener;
9: aload 3
monitorexit
10: goto 13
end local 2 StackMap locals:
StackMap stack: java.lang.Throwable
11: aload 3
monitorexit
12: athrow
start local 2 13: StackMap locals: io.vertx.core.impl.future.FutureImpl java.lang.Throwable io.vertx.core.impl.future.Listener
StackMap stack:
aload 2
ifnull 15
14: aload 0
aload 1
aload 2
invokevirtual io.vertx.core.impl.future.FutureImpl.emitFailure:(Ljava/lang/Throwable;Lio/vertx/core/impl/future/Listener;)V
15: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lio/vertx/core/impl/future/FutureImpl<TT;>;
0 16 1 cause Ljava/lang/Throwable;
8 11 2 l Lio/vertx/core/impl/future/Listener<TT;>;
13 16 2 l Lio/vertx/core/impl/future/Listener<TT;>;
Exception table:
from to target type
3 5 11 any
6 10 11 any
11 12 11 any
MethodParameters:
Name Flags
cause
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
getfield io.vertx.core.impl.future.FutureImpl.value:Ljava/lang/Object;
instanceof java.lang.Throwable
ifeq 4
2: new java.lang.StringBuilder
dup
ldc "Future{cause="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield io.vertx.core.impl.future.FutureImpl.value:Ljava/lang/Object;
checkcast java.lang.Throwable
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "}"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
monitorexit
3: areturn
4: StackMap locals: io.vertx.core.impl.future.FutureImpl
StackMap stack:
aload 0
getfield io.vertx.core.impl.future.FutureImpl.value:Ljava/lang/Object;
ifnull 9
5: new java.lang.StringBuilder
dup
ldc "Future{result="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield io.vertx.core.impl.future.FutureImpl.value:Ljava/lang/Object;
getstatic io.vertx.core.impl.future.FutureImpl.NULL_VALUE:Ljava/lang/Object;
if_acmpne 6
ldc "null"
goto 7
StackMap locals:
StackMap stack: java.lang.StringBuilder
6: aload 0
getfield io.vertx.core.impl.future.FutureImpl.value:Ljava/lang/Object;
StackMap locals: io.vertx.core.impl.future.FutureImpl io.vertx.core.impl.future.FutureImpl
StackMap stack: java.lang.StringBuilder java.lang.Object
7: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "}"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
monitorexit
8: areturn
9: StackMap locals:
StackMap stack:
aload 1
monitorexit
10: ldc "Future{unresolved}"
areturn
11: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
12: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/vertx/core/impl/future/FutureImpl<TT;>;
Exception table:
from to target type
1 3 11 any
4 8 11 any
9 10 11 any
11 12 11 any
}
Signature: <T:Ljava/lang/Object;>Lio/vertx/core/impl/future/FutureBase<TT;>;
SourceFile: "FutureImpl.java"
NestMembers:
io.vertx.core.impl.future.FutureImpl$1 io.vertx.core.impl.future.FutureImpl$2 io.vertx.core.impl.future.FutureImpl$3 io.vertx.core.impl.future.FutureImpl$ListenerArray
InnerClasses:
io.vertx.core.impl.future.FutureImpl$1
io.vertx.core.impl.future.FutureImpl$2
io.vertx.core.impl.future.FutureImpl$3
private ListenerArray = io.vertx.core.impl.future.FutureImpl$ListenerArray of io.vertx.core.impl.future.FutureImpl