final class com.mongodb.operation.OperationReadConcernHelper
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.mongodb.operation.OperationReadConcernHelper
super_class: java.lang.Object
{
static void appendReadConcernToCommand(com.mongodb.session.SessionContext, org.bson.BsonDocument);
descriptor: (Lcom/mongodb/session/SessionContext;Lorg/bson/BsonDocument;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: ldc "commandDocument"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: ldc "sessionContext"
aload 0
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
invokeinterface com.mongodb.session.SessionContext.hasActiveTransaction:()Z
ifeq 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
invokestatic com.mongodb.internal.connection.ReadConcernHelper.getReadConcernDocument:(Lcom/mongodb/session/SessionContext;)Lorg/bson/BsonDocument;
astore 2
start local 2 5: aload 2
invokevirtual org.bson.BsonDocument.isEmpty:()Z
ifne 7
6: aload 1
ldc "readConcern"
aload 2
invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
pop
7: StackMap locals: org.bson.BsonDocument
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 sessionContext Lcom/mongodb/session/SessionContext;
0 8 1 commandDocument Lorg/bson/BsonDocument;
5 8 2 readConcernDocument Lorg/bson/BsonDocument;
MethodParameters:
Name Flags
sessionContext final
commandDocument final
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/operation/OperationReadConcernHelper;
}
SourceFile: "OperationReadConcernHelper.java"