final class com.mongodb.operation.DocumentHelper
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.mongodb.operation.DocumentHelper
super_class: java.lang.Object
{
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/DocumentHelper;
static void putIfTrue(org.bson.BsonDocument, java.lang.String, boolean);
descriptor: (Lorg/bson/BsonDocument;Ljava/lang/String;Z)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifeq 2
1: aload 0
aload 1
getstatic org.bson.BsonBoolean.TRUE:Lorg/bson/BsonBoolean;
invokevirtual org.bson.BsonDocument.put:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonValue;
pop
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 command Lorg/bson/BsonDocument;
0 3 1 key Ljava/lang/String;
0 3 2 condition Z
MethodParameters:
Name Flags
command final
key final
condition final
static void putIfFalse(org.bson.BsonDocument, java.lang.String, boolean);
descriptor: (Lorg/bson/BsonDocument;Ljava/lang/String;Z)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifne 2
1: aload 0
aload 1
getstatic org.bson.BsonBoolean.FALSE:Lorg/bson/BsonBoolean;
invokevirtual org.bson.BsonDocument.put:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonValue;
pop
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 command Lorg/bson/BsonDocument;
0 3 1 key Ljava/lang/String;
0 3 2 condition Z
MethodParameters:
Name Flags
command final
key final
condition final
static void putIfNotNullOrEmpty(org.bson.BsonDocument, java.lang.String, org.bson.BsonDocument);
descriptor: (Lorg/bson/BsonDocument;Ljava/lang/String;Lorg/bson/BsonDocument;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 2
aload 2
invokevirtual org.bson.BsonDocument.isEmpty:()Z
ifne 2
1: aload 0
aload 1
aload 2
invokevirtual org.bson.BsonDocument.put:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonValue;
pop
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 command Lorg/bson/BsonDocument;
0 3 1 key Ljava/lang/String;
0 3 2 documentValue Lorg/bson/BsonDocument;
MethodParameters:
Name Flags
command final
key final
documentValue final
static void putIfNotNull(org.bson.BsonDocument, java.lang.String, org.bson.BsonValue);
descriptor: (Lorg/bson/BsonDocument;Ljava/lang/String;Lorg/bson/BsonValue;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 2
1: aload 0
aload 1
aload 2
invokevirtual org.bson.BsonDocument.put:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonValue;
pop
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 command Lorg/bson/BsonDocument;
0 3 1 key Ljava/lang/String;
0 3 2 value Lorg/bson/BsonValue;
MethodParameters:
Name Flags
command final
key final
value final
static void putIfNotZero(org.bson.BsonDocument, java.lang.String, int);
descriptor: (Lorg/bson/BsonDocument;Ljava/lang/String;I)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifeq 2
1: aload 0
aload 1
new org.bson.BsonInt32
dup
iload 2
invokespecial org.bson.BsonInt32.<init>:(I)V
invokevirtual org.bson.BsonDocument.put:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonValue;
pop
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 command Lorg/bson/BsonDocument;
0 3 1 key Ljava/lang/String;
0 3 2 value I
MethodParameters:
Name Flags
command final
key final
value final
static void putIfNotZero(org.bson.BsonDocument, java.lang.String, long);
descriptor: (Lorg/bson/BsonDocument;Ljava/lang/String;J)V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: lload 2
lconst_0
lcmp
ifeq 2
1: aload 0
aload 1
new org.bson.BsonInt64
dup
lload 2
invokespecial org.bson.BsonInt64.<init>:(J)V
invokevirtual org.bson.BsonDocument.put:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonValue;
pop
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 command Lorg/bson/BsonDocument;
0 3 1 key Ljava/lang/String;
0 3 2 value J
MethodParameters:
Name Flags
command final
key final
value final
}
SourceFile: "DocumentHelper.java"