class com.mongodb.operation.FindOperation$3 implements com.mongodb.async.SingleResultCallback<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.operation.FindOperation$3
super_class: java.lang.Object
{
private final com.mongodb.async.SingleResultCallback val$callback;
descriptor: Lcom/mongodb/async/SingleResultCallback;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(com.mongodb.async.SingleResultCallback);
descriptor: (Lcom/mongodb/async/SingleResultCallback;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield com.mongodb.operation.FindOperation$3.val$callback:Lcom/mongodb/async/SingleResultCallback;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/FindOperation$3;
MethodParameters:
Name Flags
val$callback final
public void onResult(T, java.lang.Throwable);
descriptor: (Ljava/lang/Object;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 10
1: aload 2
instanceof com.mongodb.MongoCommandException
ifeq 8
2: aload 2
checkcast com.mongodb.MongoCommandException
astore 3
start local 3 3: aload 0
getfield com.mongodb.operation.FindOperation$3.val$callback:Lcom/mongodb/async/SingleResultCallback;
aload 1
new com.mongodb.MongoQueryException
dup
aload 3
invokevirtual com.mongodb.MongoCommandException.getServerAddress:()Lcom/mongodb/ServerAddress;
4: aload 3
invokevirtual com.mongodb.MongoCommandException.getErrorCode:()I
5: aload 3
invokevirtual com.mongodb.MongoCommandException.getErrorMessage:()Ljava/lang/String;
invokespecial com.mongodb.MongoQueryException.<init>:(Lcom/mongodb/ServerAddress;ILjava/lang/String;)V
6: invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 3 7: goto 11
8: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.operation.FindOperation$3.val$callback:Lcom/mongodb/async/SingleResultCallback;
aload 1
aload 2
invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
9: goto 11
10: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.operation.FindOperation$3.val$callback:Lcom/mongodb/async/SingleResultCallback;
aload 1
aconst_null
invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/mongodb/operation/FindOperation$3;
0 12 1 result TT;
0 12 2 t Ljava/lang/Throwable;
3 7 3 commandException Lcom/mongodb/MongoCommandException;
Signature: (TT;Ljava/lang/Throwable;)V
MethodParameters:
Name Flags
result final
t final
}
Signature: Ljava/lang/Object;Lcom/mongodb/async/SingleResultCallback<TT;>;
SourceFile: "FindOperation.java"
EnclosingMethod: com.mongodb.operation.FindOperation.exceptionTransformingCallback:(Lcom/mongodb/async/SingleResultCallback;)Lcom/mongodb/async/SingleResultCallback;
NestHost: com.mongodb.operation.FindOperation
InnerClasses:
com.mongodb.operation.FindOperation$3