final class com.mongodb.client.model.Sorts$CompoundSort implements org.bson.conversions.Bson
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.mongodb.client.model.Sorts$CompoundSort
super_class: java.lang.Object
{
private final java.util.List<? extends org.bson.conversions.Bson> sorts;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<+Lorg/bson/conversions/Bson;>;
private void <init>(java.util.List<? extends org.bson.conversions.Bson>);
descriptor: (Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
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.Sorts$CompoundSort.sorts: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/Sorts$CompoundSort;
0 3 1 sorts Ljava/util/List<+Lorg/bson/conversions/Bson;>;
Signature: (Ljava/util/List<+Lorg/bson/conversions/Bson;>;)V
MethodParameters:
Name Flags
sorts 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=4, locals=9, 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.Sorts$CompoundSort.sorts:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals: com.mongodb.client.model.Sorts$CompoundSort 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.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 7
StackMap locals: com.mongodb.client.model.Sorts$CompoundSort 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.lang.String
astore 7
start local 7 6: aload 3
aload 7
aload 6
aload 7
invokevirtual org.bson.BsonDocument.get:(Ljava/lang/Object;)Lorg/bson/BsonValue;
invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
pop
end local 7 7: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 6 end local 4 8: StackMap locals: com.mongodb.client.model.Sorts$CompoundSort 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
9: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/mongodb/client/model/Sorts$CompoundSort;
0 10 1 documentClass Ljava/lang/Class<TTDocument;>;
0 10 2 codecRegistry Lorg/bson/codecs/configuration/CodecRegistry;
1 10 3 combinedDocument Lorg/bson/BsonDocument;
3 8 4 sort Lorg/bson/conversions/Bson;
4 8 6 sortDocument Lorg/bson/BsonDocument;
6 7 7 key Ljava/lang/String;
Signature: <TDocument:Ljava/lang/Object;>(Ljava/lang/Class<TTDocument;>;Lorg/bson/codecs/configuration/CodecRegistry;)Lorg/bson/BsonDocument;
MethodParameters:
Name Flags
documentClass 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.Sorts$CompoundSort
astore 2
start local 2 5: aload 0
getfield com.mongodb.client.model.Sorts$CompoundSort.sorts:Ljava/util/List;
ifnull 6
aload 0
getfield com.mongodb.client.model.Sorts$CompoundSort.sorts:Ljava/util/List;
aload 2
getfield com.mongodb.client.model.Sorts$CompoundSort.sorts:Ljava/util/List;
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
goto 8
StackMap locals: com.mongodb.client.model.Sorts$CompoundSort
StackMap stack:
6: aload 2
getfield com.mongodb.client.model.Sorts$CompoundSort.sorts: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/Sorts$CompoundSort;
0 9 1 o Ljava/lang/Object;
5 9 2 that Lcom/mongodb/client/model/Sorts$CompoundSort;
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.Sorts$CompoundSort.sorts:Ljava/util/List;
ifnull 1
aload 0
getfield com.mongodb.client.model.Sorts$CompoundSort.sorts: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/Sorts$CompoundSort;
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 "Compound Sort{sorts="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield com.mongodb.client.model.Sorts$CompoundSort.sorts: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/Sorts$CompoundSort;
}
SourceFile: "Sorts.java"
NestHost: com.mongodb.client.model.Sorts
InnerClasses:
private final CompoundSort = com.mongodb.client.model.Sorts$CompoundSort of com.mongodb.client.model.Sorts