class io.vertx.core.impl.future.ComposeTransformation<T, U> extends io.vertx.core.impl.future.Transformation<U> implements io.vertx.core.impl.future.Listener<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.vertx.core.impl.future.ComposeTransformation
super_class: io.vertx.core.impl.future.Transformation
{
private final java.util.function.Function<T, io.vertx.core.Future<U>> successMapper;
descriptor: Ljava/util/function/Function;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/function/Function<TT;Lio/vertx/core/Future<TU;>;>;
private final java.util.function.Function<java.lang.Throwable, io.vertx.core.Future<U>> failureMapper;
descriptor: Ljava/util/function/Function;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/function/Function<Ljava/lang/Throwable;Lio/vertx/core/Future<TU;>;>;
void <init>(io.vertx.core.impl.ContextInternal, java.util.function.Function<T, io.vertx.core.Future<U>>, java.util.function.Function<java.lang.Throwable, io.vertx.core.Future<U>>);
descriptor: (Lio/vertx/core/impl/ContextInternal;Ljava/util/function/Function;Ljava/util/function/Function;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial io.vertx.core.impl.future.Transformation.<init>:(Lio/vertx/core/impl/ContextInternal;)V
1: aload 0
aload 2
putfield io.vertx.core.impl.future.ComposeTransformation.successMapper:Ljava/util/function/Function;
2: aload 0
aload 3
putfield io.vertx.core.impl.future.ComposeTransformation.failureMapper:Ljava/util/function/Function;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/impl/future/ComposeTransformation<TT;TU;>;
0 4 1 context Lio/vertx/core/impl/ContextInternal;
0 4 2 successMapper Ljava/util/function/Function<TT;Lio/vertx/core/Future<TU;>;>;
0 4 3 failureMapper Ljava/util/function/Function<Ljava/lang/Throwable;Lio/vertx/core/Future<TU;>;>;
Signature: (Lio/vertx/core/impl/ContextInternal;Ljava/util/function/Function<TT;Lio/vertx/core/Future<TU;>;>;Ljava/util/function/Function<Ljava/lang/Throwable;Lio/vertx/core/Future<TU;>;>;)V
MethodParameters:
Name Flags
context
successMapper
failureMapper
public void onSuccess();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.impl.future.ComposeTransformation.successMapper:Ljava/util/function/Function;
aload 1
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.core.impl.future.FutureInternal
astore 2
start local 2 1: goto 5
end local 2 StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 3
start local 3 3: aload 0
aload 3
invokevirtual io.vertx.core.impl.future.ComposeTransformation.tryFail:(Ljava/lang/Throwable;)Z
pop
4: return
end local 3 start local 2 5: StackMap locals: io.vertx.core.impl.future.FutureInternal
StackMap stack:
aload 2
aload 0
invokevirtual io.vertx.core.impl.future.ComposeTransformation.newListener:()Lio/vertx/core/impl/future/Listener;
invokeinterface io.vertx.core.impl.future.FutureInternal.addListener:(Lio/vertx/core/impl/future/Listener;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/impl/future/ComposeTransformation<TT;TU;>;
0 7 1 value TT;
1 2 2 future Lio/vertx/core/impl/future/FutureInternal<TU;>;
5 7 2 future Lio/vertx/core/impl/future/FutureInternal<TU;>;
3 5 3 e Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
Signature: (TT;)V
MethodParameters:
Name Flags
value
public void onFailure(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.impl.future.ComposeTransformation.failureMapper:Ljava/util/function/Function;
aload 1
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.core.impl.future.FutureInternal
astore 2
start local 2 1: goto 5
end local 2 StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 3
start local 3 3: aload 0
aload 3
invokevirtual io.vertx.core.impl.future.ComposeTransformation.tryFail:(Ljava/lang/Throwable;)Z
pop
4: return
end local 3 start local 2 5: StackMap locals: io.vertx.core.impl.future.FutureInternal
StackMap stack:
aload 2
aload 0
invokevirtual io.vertx.core.impl.future.ComposeTransformation.newListener:()Lio/vertx/core/impl/future/Listener;
invokeinterface io.vertx.core.impl.future.FutureInternal.addListener:(Lio/vertx/core/impl/future/Listener;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/impl/future/ComposeTransformation<TT;TU;>;
0 7 1 failure Ljava/lang/Throwable;
1 2 2 future Lio/vertx/core/impl/future/FutureInternal<TU;>;
5 7 2 future Lio/vertx/core/impl/future/FutureInternal<TU;>;
3 5 3 e Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
MethodParameters:
Name Flags
failure
private io.vertx.core.impl.future.Listener<U> newListener();
descriptor: ()Lio/vertx/core/impl/future/Listener;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: new io.vertx.core.impl.future.ComposeTransformation$1
dup
aload 0
invokespecial io.vertx.core.impl.future.ComposeTransformation$1.<init>:(Lio/vertx/core/impl/future/ComposeTransformation;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/impl/future/ComposeTransformation<TT;TU;>;
Signature: ()Lio/vertx/core/impl/future/Listener<TU;>;
public void handle(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.vertx.core.AsyncResult
invokeinterface io.vertx.core.impl.future.Listener.handle:(Lio/vertx/core/AsyncResult;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <T:Ljava/lang/Object;U:Ljava/lang/Object;>Lio/vertx/core/impl/future/Transformation<TU;>;Lio/vertx/core/impl/future/Listener<TT;>;
SourceFile: "ComposeTransformation.java"
NestMembers:
io.vertx.core.impl.future.ComposeTransformation$1
InnerClasses:
io.vertx.core.impl.future.ComposeTransformation$1