class com.mongodb.operation.OperationHelper$ReferenceCountedReleasingWrappedCallback<T> implements com.mongodb.async.SingleResultCallback<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.operation.OperationHelper$ReferenceCountedReleasingWrappedCallback
super_class: java.lang.Object
{
private final com.mongodb.async.SingleResultCallback<T> wrapped;
descriptor: Lcom/mongodb/async/SingleResultCallback;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lcom/mongodb/async/SingleResultCallback<TT;>;
private final java.util.List<? extends com.mongodb.binding.ReferenceCounted> referenceCounted;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<+Lcom/mongodb/binding/ReferenceCounted;>;
void <init>(com.mongodb.async.SingleResultCallback<T>, java.util.List<? extends com.mongodb.binding.ReferenceCounted>);
descriptor: (Lcom/mongodb/async/SingleResultCallback;Ljava/util/List;)V
flags: (0x0000)
Code:
stack=3, 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 com.mongodb.operation.OperationHelper$ReferenceCountedReleasingWrappedCallback.wrapped:Lcom/mongodb/async/SingleResultCallback;
2: aload 0
ldc "referenceCounted"
aload 2
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
putfield com.mongodb.operation.OperationHelper$ReferenceCountedReleasingWrappedCallback.referenceCounted:Ljava/util/List;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/operation/OperationHelper$ReferenceCountedReleasingWrappedCallback<TT;>;
0 4 1 wrapped Lcom/mongodb/async/SingleResultCallback<TT;>;
0 4 2 referenceCounted Ljava/util/List<+Lcom/mongodb/binding/ReferenceCounted;>;
Signature: (Lcom/mongodb/async/SingleResultCallback<TT;>;Ljava/util/List<+Lcom/mongodb/binding/ReferenceCounted;>;)V
MethodParameters:
Name Flags
wrapped final
referenceCounted final
public void onResult(T, java.lang.Throwable);
descriptor: (Ljava/lang/Object;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.mongodb.operation.OperationHelper$ReferenceCountedReleasingWrappedCallback.referenceCounted:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: com.mongodb.operation.OperationHelper$ReferenceCountedReleasingWrappedCallback java.lang.Object java.lang.Throwable top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.mongodb.binding.ReferenceCounted
astore 3
start local 3 2: aload 3
ifnull 4
3: aload 3
invokeinterface com.mongodb.binding.ReferenceCounted.release:()V
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: aload 0
getfield com.mongodb.operation.OperationHelper$ReferenceCountedReleasingWrappedCallback.wrapped:Lcom/mongodb/async/SingleResultCallback;
aload 1
aload 2
invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/mongodb/operation/OperationHelper$ReferenceCountedReleasingWrappedCallback<TT;>;
0 7 1 result TT;
0 7 2 t Ljava/lang/Throwable;
2 4 3 cur Lcom/mongodb/binding/ReferenceCounted;
Signature: (TT;Ljava/lang/Throwable;)V
MethodParameters:
Name Flags
result final
t final
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lcom/mongodb/async/SingleResultCallback<TT;>;
SourceFile: "OperationHelper.java"
NestHost: com.mongodb.operation.OperationHelper
InnerClasses:
private ReferenceCountedReleasingWrappedCallback = com.mongodb.operation.OperationHelper$ReferenceCountedReleasingWrappedCallback of com.mongodb.operation.OperationHelper