class com.mongodb.client.model.Updates$CompositeUpdate implements org.bson.conversions.Bson
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.client.model.Updates$CompositeUpdate
super_class: java.lang.Object
{
private final java.util.List<? extends org.bson.conversions.Bson> updates;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<+Lorg/bson/conversions/Bson;>;
void <init>(java.util.List<? extends org.bson.conversions.Bson>);
descriptor: (Ljava/util/List;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.mongodb.client.model.Updates$CompositeUpdate.updates:Ljava/util/List;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/client/model/Updates$CompositeUpdate;
0 3 1 updates Ljava/util/List<+Lorg/bson/conversions/Bson;>;
Signature: (Ljava/util/List<+Lorg/bson/conversions/Bson;>;)V
MethodParameters:
Name Flags
updates final
public <TDocument> org.bson.BsonDocument toBsonDocument(java.lang.Class<TDocument>, org.bson.codecs.configuration.CodecRegistry);
descriptor: (Ljava/lang/Class;Lorg/bson/codecs/configuration/CodecRegistry;)Lorg/bson/BsonDocument;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=13, args_size=3
start local 0 start local 1 start local 2 0: new org.bson.BsonDocument
dup
invokespecial org.bson.BsonDocument.<init>:()V
astore 3
start local 3 1: aload 0
getfield com.mongodb.client.model.Updates$CompositeUpdate.updates:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 18
StackMap locals: com.mongodb.client.model.Updates$CompositeUpdate java.lang.Class org.bson.codecs.configuration.CodecRegistry org.bson.BsonDocument top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.bson.conversions.Bson
astore 4
start local 4 3: aload 4
aload 1
aload 2
invokeinterface org.bson.conversions.Bson.toBsonDocument:(Ljava/lang/Class;Lorg/bson/codecs/configuration/CodecRegistry;)Lorg/bson/BsonDocument;
astore 6
start local 6 4: aload 6
invokevirtual org.bson.BsonDocument.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 17
StackMap locals: com.mongodb.client.model.Updates$CompositeUpdate java.lang.Class org.bson.codecs.configuration.CodecRegistry org.bson.BsonDocument org.bson.conversions.Bson java.util.Iterator org.bson.BsonDocument top java.util.Iterator
StackMap stack:
5: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 7
start local 7 6: aload 3
aload 7
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
invokevirtual org.bson.BsonDocument.containsKey:(Ljava/lang/Object;)Z
ifeq 16
7: aload 7
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.bson.BsonDocument
astore 9
start local 9 8: aload 3
aload 7
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
invokevirtual org.bson.BsonDocument.getDocument:(Ljava/lang/Object;)Lorg/bson/BsonDocument;
astore 10
start local 10 9: aload 9
invokevirtual org.bson.BsonDocument.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 12
goto 14
StackMap locals: com.mongodb.client.model.Updates$CompositeUpdate java.lang.Class org.bson.codecs.configuration.CodecRegistry org.bson.BsonDocument org.bson.conversions.Bson java.util.Iterator org.bson.BsonDocument java.util.Map$Entry java.util.Iterator org.bson.BsonDocument org.bson.BsonDocument top java.util.Iterator
StackMap stack:
10: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 11
start local 11 11: aload 10
aload 11
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
12: aload 11
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.bson.BsonValue
13: invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
pop
end local 11 14: StackMap locals:
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
end local 10 end local 9 15: goto 17
16: StackMap locals: com.mongodb.client.model.Updates$CompositeUpdate java.lang.Class org.bson.codecs.configuration.CodecRegistry org.bson.BsonDocument org.bson.conversions.Bson java.util.Iterator org.bson.BsonDocument java.util.Map$Entry java.util.Iterator
StackMap stack:
aload 3
aload 7
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 7
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.bson.BsonValue
invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
pop
end local 7 17: StackMap locals: com.mongodb.client.model.Updates$CompositeUpdate java.lang.Class org.bson.codecs.configuration.CodecRegistry org.bson.BsonDocument org.bson.conversions.Bson java.util.Iterator org.bson.BsonDocument top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 6 end local 4 18: StackMap locals: com.mongodb.client.model.Updates$CompositeUpdate java.lang.Class org.bson.codecs.configuration.CodecRegistry org.bson.BsonDocument top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
19: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/mongodb/client/model/Updates$CompositeUpdate;
0 20 1 tDocumentClass Ljava/lang/Class<TTDocument;>;
0 20 2 codecRegistry Lorg/bson/codecs/configuration/CodecRegistry;
1 20 3 document Lorg/bson/BsonDocument;
3 18 4 update Lorg/bson/conversions/Bson;
4 18 6 rendered Lorg/bson/BsonDocument;
6 17 7 element Ljava/util/Map$Entry<Ljava/lang/String;Lorg/bson/BsonValue;>;
8 15 9 currentOperatorDocument Lorg/bson/BsonDocument;
9 15 10 existingOperatorDocument Lorg/bson/BsonDocument;
11 14 11 currentOperationDocumentElements Ljava/util/Map$Entry<Ljava/lang/String;Lorg/bson/BsonValue;>;
Signature: <TDocument:Ljava/lang/Object;>(Ljava/lang/Class<TTDocument;>;Lorg/bson/codecs/configuration/CodecRegistry;)Lorg/bson/BsonDocument;
MethodParameters:
Name Flags
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 1
checkcast com.mongodb.client.model.Updates$CompositeUpdate
astore 2
start local 2 5: aload 0
getfield com.mongodb.client.model.Updates$CompositeUpdate.updates:Ljava/util/List;
ifnull 6
aload 0
getfield com.mongodb.client.model.Updates$CompositeUpdate.updates:Ljava/util/List;
aload 2
getfield com.mongodb.client.model.Updates$CompositeUpdate.updates:Ljava/util/List;
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
goto 8
StackMap locals: com.mongodb.client.model.Updates$CompositeUpdate
StackMap stack:
6: aload 2
getfield com.mongodb.client.model.Updates$CompositeUpdate.updates:Ljava/util/List;
ifnonnull 7
iconst_1
goto 8
StackMap locals:
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/mongodb/client/model/Updates$CompositeUpdate;
0 9 1 o Ljava/lang/Object;
5 9 2 that Lcom/mongodb/client/model/Updates$CompositeUpdate;
MethodParameters:
Name Flags
o final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.model.Updates$CompositeUpdate.updates:Ljava/util/List;
ifnull 1
aload 0
getfield com.mongodb.client.model.Updates$CompositeUpdate.updates:Ljava/util/List;
invokeinterface java.util.List.hashCode:()I
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/client/model/Updates$CompositeUpdate;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Updates{updates="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield com.mongodb.client.model.Updates$CompositeUpdate.updates:Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2: bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
3: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/client/model/Updates$CompositeUpdate;
}
SourceFile: "Updates.java"
NestHost: com.mongodb.client.model.Updates
InnerClasses:
private CompositeUpdate = com.mongodb.client.model.Updates$CompositeUpdate of com.mongodb.client.model.Updates
public abstract Entry = java.util.Map$Entry of java.util.Map