class com.mongodb.client.model.Indexes$CompoundIndex implements org.bson.conversions.Bson
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.client.model.Indexes$CompoundIndex
super_class: java.lang.Object
{
private final java.util.List<? extends org.bson.conversions.Bson> indexes;
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: ldc "indexes"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
aload 1
putfield com.mongodb.client.model.Indexes$CompoundIndex.indexes:Ljava/util/List;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/client/model/Indexes$CompoundIndex;
0 4 1 indexes Ljava/util/List<+Lorg/bson/conversions/Bson;>;
Signature: (Ljava/util/List<+Lorg/bson/conversions/Bson;>;)V
MethodParameters:
Name Flags
indexes 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.Indexes$CompoundIndex.indexes:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals: com.mongodb.client.model.Indexes$CompoundIndex 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.Indexes$CompoundIndex 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.Indexes$CompoundIndex 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/Indexes$CompoundIndex;
0 10 1 documentClass Ljava/lang/Class<TTDocument;>;
0 10 2 codecRegistry Lorg/bson/codecs/configuration/CodecRegistry;
1 10 3 compoundIndex Lorg/bson/BsonDocument;
3 8 4 index Lorg/bson/conversions/Bson;
4 8 6 indexDocument 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.Indexes$CompoundIndex
astore 2
start local 2 5: aload 0
getfield com.mongodb.client.model.Indexes$CompoundIndex.indexes:Ljava/util/List;
aload 2
getfield com.mongodb.client.model.Indexes$CompoundIndex.indexes:Ljava/util/List;
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/mongodb/client/model/Indexes$CompoundIndex;
0 6 1 o Ljava/lang/Object;
5 6 2 that Lcom/mongodb/client/model/Indexes$CompoundIndex;
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.Indexes$CompoundIndex.indexes:Ljava/util/List;
invokeinterface java.util.List.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/Indexes$CompoundIndex;
}
SourceFile: "Indexes.java"
NestHost: com.mongodb.client.model.Indexes
InnerClasses:
private CompoundIndex = com.mongodb.client.model.Indexes$CompoundIndex of com.mongodb.client.model.Indexes