final class org.bson.codecs.pojo.MapPropertyCodecProvider implements org.bson.codecs.pojo.PropertyCodecProvider
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.bson.codecs.pojo.MapPropertyCodecProvider
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 // org.bson.codecs.pojo.MapPropertyCodecProvider this
0: .line 32
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.bson.codecs.pojo.MapPropertyCodecProvider this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/codecs/pojo/MapPropertyCodecProvider;
public <T> org.bson.codecs.Codec<T> get(org.bson.codecs.pojo.TypeWithTypeParameters<T>, org.bson.codecs.pojo.PropertyCodecRegistry);
descriptor: (Lorg/bson/codecs/pojo/TypeWithTypeParameters;Lorg/bson/codecs/pojo/PropertyCodecRegistry;)Lorg/bson/codecs/Codec;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=3
start local 0 // org.bson.codecs.pojo.MapPropertyCodecProvider this
start local 1 // org.bson.codecs.pojo.TypeWithTypeParameters type
start local 2 // org.bson.codecs.pojo.PropertyCodecRegistry registry
0: .line 37
ldc Ljava/util/Map;
aload 1 /* type */
invokeinterface org.bson.codecs.pojo.TypeWithTypeParameters.getType:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 12
aload 1 /* type */
invokeinterface org.bson.codecs.pojo.TypeWithTypeParameters.getTypeParameters:()Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_2
if_icmpne 12
1: .line 38
aload 1 /* type */
invokeinterface org.bson.codecs.pojo.TypeWithTypeParameters.getTypeParameters:()Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.bson.codecs.pojo.TypeWithTypeParameters
invokeinterface org.bson.codecs.pojo.TypeWithTypeParameters.getType:()Ljava/lang/Class;
astore 3 /* keyType */
start local 3 // java.lang.Class keyType
2: .line 39
aload 3 /* keyType */
ldc Ljava/lang/String;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 4
3: .line 40
new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid Map type. Maps MUST have string keys, found %s instead."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3 /* keyType */
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
4: .line 44
StackMap locals: java.lang.Class
StackMap stack:
new org.bson.codecs.pojo.MapPropertyCodecProvider$MapCodec
dup
aload 1 /* type */
invokeinterface org.bson.codecs.pojo.TypeWithTypeParameters.getType:()Ljava/lang/Class;
aload 2 /* registry */
aload 1 /* type */
invokeinterface org.bson.codecs.pojo.TypeWithTypeParameters.getTypeParameters:()Ljava/util/List;
iconst_1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.bson.codecs.pojo.TypeWithTypeParameters
invokeinterface org.bson.codecs.pojo.PropertyCodecRegistry.get:(Lorg/bson/codecs/pojo/TypeWithTypeParameters;)Lorg/bson/codecs/Codec;
invokespecial org.bson.codecs.pojo.MapPropertyCodecProvider$MapCodec.<init>:(Ljava/lang/Class;Lorg/bson/codecs/Codec;)V
5: areturn
6: .line 45
StackMap locals:
StackMap stack: org.bson.codecs.configuration.CodecConfigurationException
astore 4 /* e */
start local 4 // org.bson.codecs.configuration.CodecConfigurationException e
7: .line 46
aload 1 /* type */
invokeinterface org.bson.codecs.pojo.TypeWithTypeParameters.getTypeParameters:()Ljava/util/List;
iconst_1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.bson.codecs.pojo.TypeWithTypeParameters
invokeinterface org.bson.codecs.pojo.TypeWithTypeParameters.getType:()Ljava/lang/Class;
ldc Ljava/lang/Object;
if_acmpne 11
8: .line 48
aload 2 /* registry */
ldc Ljava/util/Map;
invokestatic org.bson.codecs.pojo.TypeData.builder:(Ljava/lang/Class;)Lorg/bson/codecs/pojo/TypeData$Builder;
invokevirtual org.bson.codecs.pojo.TypeData$Builder.build:()Lorg/bson/codecs/pojo/TypeData;
invokeinterface org.bson.codecs.pojo.PropertyCodecRegistry.get:(Lorg/bson/codecs/pojo/TypeWithTypeParameters;)Lorg/bson/codecs/Codec;
9: areturn
10: .line 49
StackMap locals: org.bson.codecs.pojo.MapPropertyCodecProvider org.bson.codecs.pojo.TypeWithTypeParameters org.bson.codecs.pojo.PropertyCodecRegistry java.lang.Class org.bson.codecs.configuration.CodecConfigurationException
StackMap stack: org.bson.codecs.configuration.CodecConfigurationException
pop
11: .line 53
StackMap locals:
StackMap stack:
aload 4 /* e */
athrow
end local 4 // org.bson.codecs.configuration.CodecConfigurationException e
end local 3 // java.lang.Class keyType
12: .line 56
StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 // org.bson.codecs.pojo.PropertyCodecRegistry registry
end local 1 // org.bson.codecs.pojo.TypeWithTypeParameters type
end local 0 // org.bson.codecs.pojo.MapPropertyCodecProvider this
LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/bson/codecs/pojo/MapPropertyCodecProvider;
0 13 1 type Lorg/bson/codecs/pojo/TypeWithTypeParameters<TT;>;
0 13 2 registry Lorg/bson/codecs/pojo/PropertyCodecRegistry;
2 12 3 keyType Ljava/lang/Class<*>;
7 12 4 e Lorg/bson/codecs/configuration/CodecConfigurationException;
Exception table:
from to target type
4 5 6 Class org.bson.codecs.configuration.CodecConfigurationException
8 9 10 Class org.bson.codecs.configuration.CodecConfigurationException
Signature: <T:Ljava/lang/Object;>(Lorg/bson/codecs/pojo/TypeWithTypeParameters<TT;>;Lorg/bson/codecs/pojo/PropertyCodecRegistry;)Lorg/bson/codecs/Codec<TT;>;
MethodParameters:
Name Flags
type final
registry final
}
SourceFile: "MapPropertyCodecProvider.java"
NestMembers:
org.bson.codecs.pojo.MapPropertyCodecProvider$MapCodec
InnerClasses:
private MapCodec = org.bson.codecs.pojo.MapPropertyCodecProvider$MapCodec of org.bson.codecs.pojo.MapPropertyCodecProvider
public final Builder = org.bson.codecs.pojo.TypeData$Builder of org.bson.codecs.pojo.TypeData