class com.mongodb.operation.CommandResultCodecProvider<P> implements org.bson.codecs.configuration.CodecProvider
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.operation.CommandResultCodecProvider
super_class: java.lang.Object
{
private final java.util.Map<java.lang.Class<?>, org.bson.codecs.Codec<?>> codecs;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Class<*>;Lorg/bson/codecs/Codec<*>;>;
private final org.bson.codecs.Decoder<P> payloadDecoder;
descriptor: Lorg/bson/codecs/Decoder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/bson/codecs/Decoder<TP;>;
private final java.util.List<java.lang.String> fieldsContainingPayload;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
void <init>(org.bson.codecs.Decoder<P>, java.util.List<java.lang.String>);
descriptor: (Lorg/bson/codecs/Decoder;Ljava/util/List;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.mongodb.operation.CommandResultCodecProvider.codecs:Ljava/util/Map;
2: aload 0
aload 1
putfield com.mongodb.operation.CommandResultCodecProvider.payloadDecoder:Lorg/bson/codecs/Decoder;
3: aload 0
aload 2
putfield com.mongodb.operation.CommandResultCodecProvider.fieldsContainingPayload:Ljava/util/List;
4: aload 0
invokevirtual com.mongodb.operation.CommandResultCodecProvider.addCodecs:()V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/mongodb/operation/CommandResultCodecProvider<TP;>;
0 6 1 payloadDecoder Lorg/bson/codecs/Decoder<TP;>;
0 6 2 fieldContainingPayload Ljava/util/List<Ljava/lang/String;>;
Signature: (Lorg/bson/codecs/Decoder<TP;>;Ljava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
payloadDecoder final
fieldContainingPayload final
public <T> org.bson.codecs.Codec<T> get(java.lang.Class<T>, org.bson.codecs.configuration.CodecRegistry);
descriptor: (Ljava/lang/Class;Lorg/bson/codecs/configuration/CodecRegistry;)Lorg/bson/codecs/Codec;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.mongodb.operation.CommandResultCodecProvider.codecs:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
getfield com.mongodb.operation.CommandResultCodecProvider.codecs:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.bson.codecs.Codec
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc Lorg/bson/BsonArray;
if_acmpne 4
3: new org.bson.codecs.BsonArrayCodec
dup
aload 2
invokespecial org.bson.codecs.BsonArrayCodec.<init>:(Lorg/bson/codecs/configuration/CodecRegistry;)V
areturn
4: StackMap locals:
StackMap stack:
aload 1
ldc Lorg/bson/BsonDocument;
if_acmpne 6
5: new com.mongodb.operation.CommandResultDocumentCodec
dup
aload 2
aload 0
getfield com.mongodb.operation.CommandResultCodecProvider.payloadDecoder:Lorg/bson/codecs/Decoder;
aload 0
getfield com.mongodb.operation.CommandResultCodecProvider.fieldsContainingPayload:Ljava/util/List;
invokespecial com.mongodb.operation.CommandResultDocumentCodec.<init>:(Lorg/bson/codecs/configuration/CodecRegistry;Lorg/bson/codecs/Decoder;Ljava/util/List;)V
areturn
6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/mongodb/operation/CommandResultCodecProvider<TP;>;
0 7 1 clazz Ljava/lang/Class<TT;>;
0 7 2 registry Lorg/bson/codecs/configuration/CodecRegistry;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Lorg/bson/codecs/configuration/CodecRegistry;)Lorg/bson/codecs/Codec<TT;>;
MethodParameters:
Name Flags
clazz final
registry final
private void addCodecs();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
new org.bson.codecs.BsonNullCodec
dup
invokespecial org.bson.codecs.BsonNullCodec.<init>:()V
invokevirtual com.mongodb.operation.CommandResultCodecProvider.addCodec:(Lorg/bson/codecs/Codec;)V
1: aload 0
new org.bson.codecs.BsonBinaryCodec
dup
invokespecial org.bson.codecs.BsonBinaryCodec.<init>:()V
invokevirtual com.mongodb.operation.CommandResultCodecProvider.addCodec:(Lorg/bson/codecs/Codec;)V
2: aload 0
new org.bson.codecs.BsonBooleanCodec
dup
invokespecial org.bson.codecs.BsonBooleanCodec.<init>:()V
invokevirtual com.mongodb.operation.CommandResultCodecProvider.addCodec:(Lorg/bson/codecs/Codec;)V
3: aload 0
new org.bson.codecs.BsonDateTimeCodec
dup
invokespecial org.bson.codecs.BsonDateTimeCodec.<init>:()V
invokevirtual com.mongodb.operation.CommandResultCodecProvider.addCodec:(Lorg/bson/codecs/Codec;)V
4: aload 0
new org.bson.codecs.BsonDBPointerCodec
dup
invokespecial org.bson.codecs.BsonDBPointerCodec.<init>:()V
invokevirtual com.mongodb.operation.CommandResultCodecProvider.addCodec:(Lorg/bson/codecs/Codec;)V
5: aload 0
new org.bson.codecs.BsonDoubleCodec
dup
invokespecial org.bson.codecs.BsonDoubleCodec.<init>:()V
invokevirtual com.mongodb.operation.CommandResultCodecProvider.addCodec:(Lorg/bson/codecs/Codec;)V
6: aload 0
new org.bson.codecs.BsonInt32Codec
dup
invokespecial org.bson.codecs.BsonInt32Codec.<init>:()V
invokevirtual com.mongodb.operation.CommandResultCodecProvider.addCodec:(Lorg/bson/codecs/Codec;)V
7: aload 0
new org.bson.codecs.BsonInt64Codec
dup
invokespecial org.bson.codecs.BsonInt64Codec.<init>:()V
invokevirtual com.mongodb.operation.CommandResultCodecProvider.addCodec:(Lorg/bson/codecs/Codec;)V
8: aload 0
new org.bson.codecs.BsonDecimal128Codec
dup
invokespecial org.bson.codecs.BsonDecimal128Codec.<init>:()V
invokevirtual com.mongodb.operation.CommandResultCodecProvider.addCodec:(Lorg/bson/codecs/Codec;)V
9: aload 0
new org.bson.codecs.BsonMinKeyCodec
dup
invokespecial org.bson.codecs.BsonMinKeyCodec.<init>:()V
invokevirtual com.mongodb.operation.CommandResultCodecProvider.addCodec:(Lorg/bson/codecs/Codec;)V
10: aload 0
new org.bson.codecs.BsonMaxKeyCodec
dup
invokespecial org.bson.codecs.BsonMaxKeyCodec.<init>:()V
invokevirtual com.mongodb.operation.CommandResultCodecProvider.addCodec:(Lorg/bson/codecs/Codec;)V
11: aload 0
new org.bson.codecs.BsonJavaScriptCodec
dup
invokespecial org.bson.codecs.BsonJavaScriptCodec.<init>:()V
invokevirtual com.mongodb.operation.CommandResultCodecProvider.addCodec:(Lorg/bson/codecs/Codec;)V
12: aload 0
new org.bson.codecs.BsonObjectIdCodec
dup
invokespecial org.bson.codecs.BsonObjectIdCodec.<init>:()V
invokevirtual com.mongodb.operation.CommandResultCodecProvider.addCodec:(Lorg/bson/codecs/Codec;)V
13: aload 0
new org.bson.codecs.BsonRegularExpressionCodec
dup
invokespecial org.bson.codecs.BsonRegularExpressionCodec.<init>:()V
invokevirtual com.mongodb.operation.CommandResultCodecProvider.addCodec:(Lorg/bson/codecs/Codec;)V
14: aload 0
new org.bson.codecs.BsonStringCodec
dup
invokespecial org.bson.codecs.BsonStringCodec.<init>:()V
invokevirtual com.mongodb.operation.CommandResultCodecProvider.addCodec:(Lorg/bson/codecs/Codec;)V
15: aload 0
new org.bson.codecs.BsonSymbolCodec
dup
invokespecial org.bson.codecs.BsonSymbolCodec.<init>:()V
invokevirtual com.mongodb.operation.CommandResultCodecProvider.addCodec:(Lorg/bson/codecs/Codec;)V
16: aload 0
new org.bson.codecs.BsonTimestampCodec
dup
invokespecial org.bson.codecs.BsonTimestampCodec.<init>:()V
invokevirtual com.mongodb.operation.CommandResultCodecProvider.addCodec:(Lorg/bson/codecs/Codec;)V
17: aload 0
new org.bson.codecs.BsonUndefinedCodec
dup
invokespecial org.bson.codecs.BsonUndefinedCodec.<init>:()V
invokevirtual com.mongodb.operation.CommandResultCodecProvider.addCodec:(Lorg/bson/codecs/Codec;)V
18: aload 0
new org.bson.codecs.BsonJavaScriptWithScopeCodec
dup
new org.bson.codecs.BsonDocumentCodec
dup
invokespecial org.bson.codecs.BsonDocumentCodec.<init>:()V
invokespecial org.bson.codecs.BsonJavaScriptWithScopeCodec.<init>:(Lorg/bson/codecs/Codec;)V
invokevirtual com.mongodb.operation.CommandResultCodecProvider.addCodec:(Lorg/bson/codecs/Codec;)V
19: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/mongodb/operation/CommandResultCodecProvider<TP;>;
private <T extends org.bson.BsonValue> void addCodec(org.bson.codecs.Codec<T>);
descriptor: (Lorg/bson/codecs/Codec;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.mongodb.operation.CommandResultCodecProvider.codecs:Ljava/util/Map;
aload 1
invokeinterface org.bson.codecs.Codec.getEncoderClass:()Ljava/lang/Class;
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/operation/CommandResultCodecProvider<TP;>;
0 2 1 codec Lorg/bson/codecs/Codec<TT;>;
Signature: <T:Lorg/bson/BsonValue;>(Lorg/bson/codecs/Codec<TT;>;)V
MethodParameters:
Name Flags
codec 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.operation.CommandResultCodecProvider
astore 2
start local 2 5: aload 0
getfield com.mongodb.operation.CommandResultCodecProvider.fieldsContainingPayload:Ljava/util/List;
aload 2
getfield com.mongodb.operation.CommandResultCodecProvider.fieldsContainingPayload:Ljava/util/List;
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
ifne 7
6: iconst_0
ireturn
7: StackMap locals: com.mongodb.operation.CommandResultCodecProvider
StackMap stack:
aload 0
getfield com.mongodb.operation.CommandResultCodecProvider.payloadDecoder:Lorg/bson/codecs/Decoder;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 2
getfield com.mongodb.operation.CommandResultCodecProvider.payloadDecoder:Lorg/bson/codecs/Decoder;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/mongodb/operation/CommandResultCodecProvider<TP;>;
0 10 1 o Ljava/lang/Object;
5 10 2 that Lcom/mongodb/operation/CommandResultCodecProvider<*>;
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
getfield com.mongodb.operation.CommandResultCodecProvider.payloadDecoder:Lorg/bson/codecs/Decoder;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Object.hashCode:()I
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.operation.CommandResultCodecProvider.fieldsContainingPayload:Ljava/util/List;
invokeinterface java.util.List.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/operation/CommandResultCodecProvider<TP;>;
1 3 1 result I
}
Signature: <P:Ljava/lang/Object;>Ljava/lang/Object;Lorg/bson/codecs/configuration/CodecProvider;
SourceFile: "CommandResultCodecProvider.java"