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