final class io.netty.util.concurrent.PromiseTask$RunnableAdapter<T> implements java.util.concurrent.Callable<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.util.concurrent.PromiseTask$RunnableAdapter
super_class: java.lang.Object
{
final java.lang.Runnable task;
descriptor: Ljava/lang/Runnable;
flags: (0x0010) ACC_FINAL
final T result;
descriptor: Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
Signature: TT;
void <init>(java.lang.Runnable, );
descriptor: (Ljava/lang/Runnable;Ljava/lang/Object;)V
flags: (0x0000)
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 io.netty.util.concurrent.PromiseTask$RunnableAdapter.task:Ljava/lang/Runnable;
2: aload 0
aload 2
putfield io.netty.util.concurrent.PromiseTask$RunnableAdapter.result:Ljava/lang/Object;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/util/concurrent/PromiseTask$RunnableAdapter<TT;>;
0 4 1 task Ljava/lang/Runnable;
0 4 2 result TT;
Signature: (Ljava/lang/Runnable;TT;)V
MethodParameters:
Name Flags
task
result
public T call();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.util.concurrent.PromiseTask$RunnableAdapter.task:Ljava/lang/Runnable;
invokeinterface java.lang.Runnable.run:()V
1: aload 0
getfield io.netty.util.concurrent.PromiseTask$RunnableAdapter.result:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/util/concurrent/PromiseTask$RunnableAdapter<TT;>;
Signature: ()TT;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Callable(task: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield io.netty.util.concurrent.PromiseTask$RunnableAdapter.task:Ljava/lang/Runnable;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", result: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.netty.util.concurrent.PromiseTask$RunnableAdapter.result:Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/util/concurrent/PromiseTask$RunnableAdapter<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/concurrent/Callable<TT;>;
SourceFile: "PromiseTask.java"
NestHost: io.netty.util.concurrent.PromiseTask
InnerClasses:
private final RunnableAdapter = io.netty.util.concurrent.PromiseTask$RunnableAdapter of io.netty.util.concurrent.PromiseTask