public class org.glassfish.grizzly.utils.CompletionHandlerAdapter<A, B> implements org.glassfish.grizzly.CompletionHandler<B>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.utils.CompletionHandlerAdapter
super_class: java.lang.Object
{
private static final org.glassfish.grizzly.utils.GenericAdapter DIRECT_ADAPTER;
descriptor: Lorg/glassfish/grizzly/utils/GenericAdapter;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.glassfish.grizzly.utils.GenericAdapter<B, A> adapter;
descriptor: Lorg/glassfish/grizzly/utils/GenericAdapter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/glassfish/grizzly/utils/GenericAdapter<TB;TA;>;
private final org.glassfish.grizzly.impl.FutureImpl<A> future;
descriptor: Lorg/glassfish/grizzly/impl/FutureImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/glassfish/grizzly/impl/FutureImpl<TA;>;
private final org.glassfish.grizzly.CompletionHandler<A> completionHandler;
descriptor: Lorg/glassfish/grizzly/CompletionHandler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/glassfish/grizzly/CompletionHandler<TA;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.glassfish.grizzly.utils.CompletionHandlerAdapter$1
dup
invokespecial org.glassfish.grizzly.utils.CompletionHandlerAdapter$1.<init>:()V
putstatic org.glassfish.grizzly.utils.CompletionHandlerAdapter.DIRECT_ADAPTER:Lorg/glassfish/grizzly/utils/GenericAdapter;
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.glassfish.grizzly.impl.FutureImpl<A>);
descriptor: (Lorg/glassfish/grizzly/impl/FutureImpl;)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.glassfish.grizzly.utils.CompletionHandlerAdapter.<init>:(Lorg/glassfish/grizzly/impl/FutureImpl;Lorg/glassfish/grizzly/CompletionHandler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/utils/CompletionHandlerAdapter<TA;TB;>;
0 2 1 future Lorg/glassfish/grizzly/impl/FutureImpl<TA;>;
Signature: (Lorg/glassfish/grizzly/impl/FutureImpl<TA;>;)V
MethodParameters:
Name Flags
future
public void <init>(org.glassfish.grizzly.impl.FutureImpl<A>, org.glassfish.grizzly.CompletionHandler<A>);
descriptor: (Lorg/glassfish/grizzly/impl/FutureImpl;Lorg/glassfish/grizzly/CompletionHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokespecial org.glassfish.grizzly.utils.CompletionHandlerAdapter.<init>:(Lorg/glassfish/grizzly/impl/FutureImpl;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/utils/GenericAdapter;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/utils/CompletionHandlerAdapter<TA;TB;>;
0 2 1 future Lorg/glassfish/grizzly/impl/FutureImpl<TA;>;
0 2 2 completionHandler Lorg/glassfish/grizzly/CompletionHandler<TA;>;
Signature: (Lorg/glassfish/grizzly/impl/FutureImpl<TA;>;Lorg/glassfish/grizzly/CompletionHandler<TA;>;)V
MethodParameters:
Name Flags
future
completionHandler
public void <init>(org.glassfish.grizzly.impl.FutureImpl<A>, org.glassfish.grizzly.CompletionHandler<A>, org.glassfish.grizzly.utils.GenericAdapter<B, A>);
descriptor: (Lorg/glassfish/grizzly/impl/FutureImpl;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/utils/GenericAdapter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.glassfish.grizzly.utils.CompletionHandlerAdapter.future:Lorg/glassfish/grizzly/impl/FutureImpl;
2: aload 0
aload 2
putfield org.glassfish.grizzly.utils.CompletionHandlerAdapter.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
3: aload 3
ifnull 6
4: aload 0
aload 3
putfield org.glassfish.grizzly.utils.CompletionHandlerAdapter.adapter:Lorg/glassfish/grizzly/utils/GenericAdapter;
5: goto 7
6: StackMap locals: org.glassfish.grizzly.utils.CompletionHandlerAdapter org.glassfish.grizzly.impl.FutureImpl org.glassfish.grizzly.CompletionHandler org.glassfish.grizzly.utils.GenericAdapter
StackMap stack:
aload 0
invokestatic org.glassfish.grizzly.utils.CompletionHandlerAdapter.getDirectAdapter:()Lorg/glassfish/grizzly/utils/GenericAdapter;
putfield org.glassfish.grizzly.utils.CompletionHandlerAdapter.adapter:Lorg/glassfish/grizzly/utils/GenericAdapter;
7: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/grizzly/utils/CompletionHandlerAdapter<TA;TB;>;
0 8 1 future Lorg/glassfish/grizzly/impl/FutureImpl<TA;>;
0 8 2 completionHandler Lorg/glassfish/grizzly/CompletionHandler<TA;>;
0 8 3 adapter Lorg/glassfish/grizzly/utils/GenericAdapter<TB;TA;>;
Signature: (Lorg/glassfish/grizzly/impl/FutureImpl<TA;>;Lorg/glassfish/grizzly/CompletionHandler<TA;>;Lorg/glassfish/grizzly/utils/GenericAdapter<TB;TA;>;)V
MethodParameters:
Name Flags
future
completionHandler
adapter
public void cancelled();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.utils.CompletionHandlerAdapter.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
ifnull 2
1: aload 0
getfield org.glassfish.grizzly.utils.CompletionHandlerAdapter.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
invokeinterface org.glassfish.grizzly.CompletionHandler.cancelled:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.utils.CompletionHandlerAdapter.future:Lorg/glassfish/grizzly/impl/FutureImpl;
ifnull 4
3: aload 0
getfield org.glassfish.grizzly.utils.CompletionHandlerAdapter.future:Lorg/glassfish/grizzly/impl/FutureImpl;
iconst_0
invokeinterface org.glassfish.grizzly.impl.FutureImpl.cancel:(Z)Z
pop
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/utils/CompletionHandlerAdapter<TA;TB;>;
public void failed(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.utils.CompletionHandlerAdapter.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
ifnull 2
1: aload 0
getfield org.glassfish.grizzly.utils.CompletionHandlerAdapter.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
aload 1
invokeinterface org.glassfish.grizzly.CompletionHandler.failed:(Ljava/lang/Throwable;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.utils.CompletionHandlerAdapter.future:Lorg/glassfish/grizzly/impl/FutureImpl;
ifnull 4
3: aload 0
getfield org.glassfish.grizzly.utils.CompletionHandlerAdapter.future:Lorg/glassfish/grizzly/impl/FutureImpl;
aload 1
invokeinterface org.glassfish.grizzly.impl.FutureImpl.failure:(Ljava/lang/Throwable;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/utils/CompletionHandlerAdapter<TA;TB;>;
0 5 1 throwable Ljava/lang/Throwable;
MethodParameters:
Name Flags
throwable
public void completed();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.glassfish.grizzly.utils.CompletionHandlerAdapter.adapt:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 0
getfield org.glassfish.grizzly.utils.CompletionHandlerAdapter.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
ifnull 3
2: aload 0
getfield org.glassfish.grizzly.utils.CompletionHandlerAdapter.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
aload 2
invokeinterface org.glassfish.grizzly.CompletionHandler.completed:(Ljava/lang/Object;)V
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield org.glassfish.grizzly.utils.CompletionHandlerAdapter.future:Lorg/glassfish/grizzly/impl/FutureImpl;
ifnull 5
4: aload 0
getfield org.glassfish.grizzly.utils.CompletionHandlerAdapter.future:Lorg/glassfish/grizzly/impl/FutureImpl;
aload 2
invokeinterface org.glassfish.grizzly.impl.FutureImpl.result:(Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/utils/CompletionHandlerAdapter<TA;TB;>;
0 6 1 result TB;
1 6 2 adaptedResult TA;
Signature: (TB;)V
MethodParameters:
Name Flags
result
public void updated();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.glassfish.grizzly.utils.CompletionHandlerAdapter.adapt:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 0
getfield org.glassfish.grizzly.utils.CompletionHandlerAdapter.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
ifnull 3
2: aload 0
getfield org.glassfish.grizzly.utils.CompletionHandlerAdapter.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
aload 2
invokeinterface org.glassfish.grizzly.CompletionHandler.updated:(Ljava/lang/Object;)V
3: StackMap locals: java.lang.Object
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/utils/CompletionHandlerAdapter<TA;TB;>;
0 4 1 result TB;
1 4 2 adaptedResult TA;
Signature: (TB;)V
MethodParameters:
Name Flags
result
protected A adapt();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.utils.CompletionHandlerAdapter.adapter:Lorg/glassfish/grizzly/utils/GenericAdapter;
aload 1
invokeinterface org.glassfish.grizzly.utils.GenericAdapter.adapt:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/utils/CompletionHandlerAdapter<TA;TB;>;
0 1 1 result TB;
Signature: (TB;)TA;
MethodParameters:
Name Flags
result
private static <K, V> org.glassfish.grizzly.utils.GenericAdapter<K, V> getDirectAdapter();
descriptor: ()Lorg/glassfish/grizzly/utils/GenericAdapter;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.glassfish.grizzly.utils.CompletionHandlerAdapter.DIRECT_ADAPTER:Lorg/glassfish/grizzly/utils/GenericAdapter;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>()Lorg/glassfish/grizzly/utils/GenericAdapter<TK;TV;>;
}
Signature: <A:Ljava/lang/Object;B:Ljava/lang/Object;>Ljava/lang/Object;Lorg/glassfish/grizzly/CompletionHandler<TB;>;
SourceFile: "CompletionHandlerAdapter.java"
NestMembers:
org.glassfish.grizzly.utils.CompletionHandlerAdapter$1
InnerClasses:
org.glassfish.grizzly.utils.CompletionHandlerAdapter$1