class com.mongodb.client.model.Updates$PushUpdate<TItem> extends com.mongodb.client.model.Updates$WithEachUpdate<TItem>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.client.model.Updates$PushUpdate
super_class: com.mongodb.client.model.Updates$WithEachUpdate
{
private final com.mongodb.client.model.PushOptions options;
descriptor: Lcom/mongodb/client/model/PushOptions;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.lang.String, java.util.List<TItem>, com.mongodb.client.model.PushOptions);
descriptor: (Ljava/lang/String;Ljava/util/List;Lcom/mongodb/client/model/PushOptions;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
ldc "$push"
invokespecial com.mongodb.client.model.Updates$WithEachUpdate.<init>:(Ljava/lang/String;Ljava/util/List;Ljava/lang/String;)V
1: aload 0
ldc "options"
aload 3
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.client.model.PushOptions
putfield com.mongodb.client.model.Updates$PushUpdate.options:Lcom/mongodb/client/model/PushOptions;
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/client/model/Updates$PushUpdate<TTItem;>;
0 3 1 fieldName Ljava/lang/String;
0 3 2 values Ljava/util/List<TTItem;>;
0 3 3 options Lcom/mongodb/client/model/PushOptions;
Signature: (Ljava/lang/String;Ljava/util/List<TTItem;>;Lcom/mongodb/client/model/PushOptions;)V
MethodParameters:
Name Flags
fieldName final
values final
options final
protected <TDocument> void writeAdditionalFields(org.bson.BsonDocumentWriter, java.lang.Class<TDocument>, org.bson.codecs.configuration.CodecRegistry);
descriptor: (Lorg/bson/BsonDocumentWriter;Ljava/lang/Class;Lorg/bson/codecs/configuration/CodecRegistry;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.mongodb.client.model.Updates$PushUpdate.options:Lcom/mongodb/client/model/PushOptions;
invokevirtual com.mongodb.client.model.PushOptions.getPosition:()Ljava/lang/Integer;
astore 4
start local 4 1: aload 4
ifnull 3
2: aload 1
ldc "$position"
aload 4
invokevirtual java.lang.Integer.intValue:()I
invokevirtual org.bson.BsonDocumentWriter.writeInt32:(Ljava/lang/String;I)V
3: StackMap locals: java.lang.Integer
StackMap stack:
aload 0
getfield com.mongodb.client.model.Updates$PushUpdate.options:Lcom/mongodb/client/model/PushOptions;
invokevirtual com.mongodb.client.model.PushOptions.getSlice:()Ljava/lang/Integer;
astore 5
start local 5 4: aload 5
ifnull 6
5: aload 1
ldc "$slice"
aload 5
invokevirtual java.lang.Integer.intValue:()I
invokevirtual org.bson.BsonDocumentWriter.writeInt32:(Ljava/lang/String;I)V
6: StackMap locals: java.lang.Integer
StackMap stack:
aload 0
getfield com.mongodb.client.model.Updates$PushUpdate.options:Lcom/mongodb/client/model/PushOptions;
invokevirtual com.mongodb.client.model.PushOptions.getSort:()Ljava/lang/Integer;
astore 6
start local 6 7: aload 6
ifnull 10
8: aload 1
ldc "$sort"
aload 6
invokevirtual java.lang.Integer.intValue:()I
invokevirtual org.bson.BsonDocumentWriter.writeInt32:(Ljava/lang/String;I)V
9: goto 14
10: StackMap locals: java.lang.Integer
StackMap stack:
aload 0
getfield com.mongodb.client.model.Updates$PushUpdate.options:Lcom/mongodb/client/model/PushOptions;
invokevirtual com.mongodb.client.model.PushOptions.getSortDocument:()Lorg/bson/conversions/Bson;
astore 7
start local 7 11: aload 7
ifnull 14
12: aload 1
ldc "$sort"
invokevirtual org.bson.BsonDocumentWriter.writeName:(Ljava/lang/String;)V
13: aload 1
aload 7
aload 3
invokestatic com.mongodb.client.model.BuildersHelper.encodeValue:(Lorg/bson/BsonDocumentWriter;Ljava/lang/Object;Lorg/bson/codecs/configuration/CodecRegistry;)V
end local 7 14: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/mongodb/client/model/Updates$PushUpdate<TTItem;>;
0 15 1 writer Lorg/bson/BsonDocumentWriter;
0 15 2 tDocumentClass Ljava/lang/Class<TTDocument;>;
0 15 3 codecRegistry Lorg/bson/codecs/configuration/CodecRegistry;
1 15 4 position Ljava/lang/Integer;
4 15 5 slice Ljava/lang/Integer;
7 15 6 sort Ljava/lang/Integer;
11 14 7 sortDocument Lorg/bson/conversions/Bson;
Signature: <TDocument:Ljava/lang/Object;>(Lorg/bson/BsonDocumentWriter;Ljava/lang/Class<TTDocument;>;Lorg/bson/codecs/configuration/CodecRegistry;)V
MethodParameters:
Name Flags
writer final
tDocumentClass final
codecRegistry final
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial com.mongodb.client.model.Updates$WithEachUpdate.equals:(Ljava/lang/Object;)Z
ifne 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 1
checkcast com.mongodb.client.model.Updates$PushUpdate
astore 2
start local 2 7: aload 0
getfield com.mongodb.client.model.Updates$PushUpdate.options:Lcom/mongodb/client/model/PushOptions;
aload 2
getfield com.mongodb.client.model.Updates$PushUpdate.options:Lcom/mongodb/client/model/PushOptions;
invokevirtual com.mongodb.client.model.PushOptions.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/mongodb/client/model/Updates$PushUpdate<TTItem;>;
0 8 1 o Ljava/lang/Object;
7 8 2 that Lcom/mongodb/client/model/Updates$PushUpdate<*>;
MethodParameters:
Name Flags
o final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokespecial com.mongodb.client.model.Updates$WithEachUpdate.hashCode:()I
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.client.model.Updates$PushUpdate.options:Lcom/mongodb/client/model/PushOptions;
invokevirtual com.mongodb.client.model.PushOptions.hashCode:()I
iadd
istore 1
2: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/client/model/Updates$PushUpdate<TTItem;>;
1 3 1 result I
protected java.lang.String additionalFieldsToString();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc ", options="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.mongodb.client.model.Updates$PushUpdate.options:Lcom/mongodb/client/model/PushOptions;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/Updates$PushUpdate<TTItem;>;
}
Signature: <TItem:Ljava/lang/Object;>Lcom/mongodb/client/model/Updates$WithEachUpdate<TTItem;>;
SourceFile: "Updates.java"
NestHost: com.mongodb.client.model.Updates
InnerClasses:
private PushUpdate = com.mongodb.client.model.Updates$PushUpdate of com.mongodb.client.model.Updates
private WithEachUpdate = com.mongodb.client.model.Updates$WithEachUpdate of com.mongodb.client.model.Updates