final class org.bson.codecs.pojo.DiscriminatorLookup
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: org.bson.codecs.pojo.DiscriminatorLookup
  super_class: java.lang.Object
{
  private final java.util.Map<java.lang.String, java.lang.Class<?>> discriminatorClassMap;
    descriptor: Ljava/util/Map;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Class<*>;>;

  private final java.util.Set<java.lang.String> packages;
    descriptor: Ljava/util/Set;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Set<Ljava/lang/String;>;

  void <init>(java.util.Map<java.lang.Class<?>, org.bson.codecs.pojo.ClassModel<?>>, java.util.Set<java.lang.String>);
    descriptor: (Ljava/util/Map;Ljava/util/Set;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=5, args_size=3
        start local 0 // org.bson.codecs.pojo.DiscriminatorLookup this
        start local 1 // java.util.Map classModels
        start local 2 // java.util.Set packages
         0: .line 31
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 28
            aload 0 /* this */
            new java.util.concurrent.ConcurrentHashMap
            dup
            invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
            putfield org.bson.codecs.pojo.DiscriminatorLookup.discriminatorClassMap:Ljava/util/Map;
         2: .line 32
            aload 1 /* classModels */
            invokeinterface java.util.Map.values:()Ljava/util/Collection;
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            astore 4
            goto 6
      StackMap locals: org.bson.codecs.pojo.DiscriminatorLookup java.util.Map java.util.Set top java.util.Iterator
      StackMap stack:
         3: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.bson.codecs.pojo.ClassModel
            astore 3 /* classModel */
        start local 3 // org.bson.codecs.pojo.ClassModel classModel
         4: .line 33
            aload 3 /* classModel */
            invokevirtual org.bson.codecs.pojo.ClassModel.getDiscriminator:()Ljava/lang/String;
            ifnull 6
         5: .line 34
            aload 0 /* this */
            getfield org.bson.codecs.pojo.DiscriminatorLookup.discriminatorClassMap:Ljava/util/Map;
            aload 3 /* classModel */
            invokevirtual org.bson.codecs.pojo.ClassModel.getDiscriminator:()Ljava/lang/String;
            aload 3 /* classModel */
            invokevirtual org.bson.codecs.pojo.ClassModel.getType:()Ljava/lang/Class;
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        end local 3 // org.bson.codecs.pojo.ClassModel classModel
         6: .line 32
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
         7: .line 37
            aload 0 /* this */
            aload 2 /* packages */
            putfield org.bson.codecs.pojo.DiscriminatorLookup.packages:Ljava/util/Set;
         8: .line 38
            return
        end local 2 // java.util.Set packages
        end local 1 // java.util.Map classModels
        end local 0 // org.bson.codecs.pojo.DiscriminatorLookup this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    9     0         this  Lorg/bson/codecs/pojo/DiscriminatorLookup;
            0    9     1  classModels  Ljava/util/Map<Ljava/lang/Class<*>;Lorg/bson/codecs/pojo/ClassModel<*>;>;
            0    9     2     packages  Ljava/util/Set<Ljava/lang/String;>;
            4    6     3   classModel  Lorg/bson/codecs/pojo/ClassModel<*>;
    Signature: (Ljava/util/Map<Ljava/lang/Class<*>;Lorg/bson/codecs/pojo/ClassModel<*>;>;Ljava/util/Set<Ljava/lang/String;>;)V
    MethodParameters:
             Name  Flags
      classModels  final
      packages     final

  public java.lang.Class<?> lookup(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/Class;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=3, args_size=2
        start local 0 // org.bson.codecs.pojo.DiscriminatorLookup this
        start local 1 // java.lang.String discriminator
         0: .line 41
            aload 0 /* this */
            getfield org.bson.codecs.pojo.DiscriminatorLookup.discriminatorClassMap:Ljava/util/Map;
            aload 1 /* discriminator */
            invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
            ifeq 2
         1: .line 42
            aload 0 /* this */
            getfield org.bson.codecs.pojo.DiscriminatorLookup.discriminatorClassMap:Ljava/util/Map;
            aload 1 /* discriminator */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.Class
            areturn
         2: .line 45
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* discriminator */
            invokevirtual org.bson.codecs.pojo.DiscriminatorLookup.getClassForName:(Ljava/lang/String;)Ljava/lang/Class;
            astore 2 /* clazz */
        start local 2 // java.lang.Class clazz
         3: .line 46
            aload 2 /* clazz */
            ifnonnull 5
         4: .line 47
            aload 0 /* this */
            aload 1 /* discriminator */
            invokevirtual org.bson.codecs.pojo.DiscriminatorLookup.searchPackages:(Ljava/lang/String;)Ljava/lang/Class;
            astore 2 /* clazz */
         5: .line 50
      StackMap locals: java.lang.Class
      StackMap stack:
            aload 2 /* clazz */
            ifnonnull 7
         6: .line 51
            new org.bson.codecs.configuration.CodecConfigurationException
            dup
            ldc "A class could not be found for the discriminator: '%s'."
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* discriminator */
            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
         7: .line 53
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.bson.codecs.pojo.DiscriminatorLookup.discriminatorClassMap:Ljava/util/Map;
            aload 1 /* discriminator */
            aload 2 /* clazz */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         8: .line 55
            aload 2 /* clazz */
            areturn
        end local 2 // java.lang.Class clazz
        end local 1 // java.lang.String discriminator
        end local 0 // org.bson.codecs.pojo.DiscriminatorLookup this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    9     0           this  Lorg/bson/codecs/pojo/DiscriminatorLookup;
            0    9     1  discriminator  Ljava/lang/String;
            3    9     2          clazz  Ljava/lang/Class<*>;
    Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
    MethodParameters:
               Name  Flags
      discriminator  final

  void addClassModel(org.bson.codecs.pojo.ClassModel<?>);
    descriptor: (Lorg/bson/codecs/pojo/ClassModel;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.bson.codecs.pojo.DiscriminatorLookup this
        start local 1 // org.bson.codecs.pojo.ClassModel classModel
         0: .line 59
            aload 1 /* classModel */
            invokevirtual org.bson.codecs.pojo.ClassModel.getDiscriminator:()Ljava/lang/String;
            ifnull 2
         1: .line 60
            aload 0 /* this */
            getfield org.bson.codecs.pojo.DiscriminatorLookup.discriminatorClassMap:Ljava/util/Map;
            aload 1 /* classModel */
            invokevirtual org.bson.codecs.pojo.ClassModel.getDiscriminator:()Ljava/lang/String;
            aload 1 /* classModel */
            invokevirtual org.bson.codecs.pojo.ClassModel.getType:()Ljava/lang/Class;
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 62
      StackMap locals:
      StackMap stack:
            return
        end local 1 // org.bson.codecs.pojo.ClassModel classModel
        end local 0 // org.bson.codecs.pojo.DiscriminatorLookup this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    3     0        this  Lorg/bson/codecs/pojo/DiscriminatorLookup;
            0    3     1  classModel  Lorg/bson/codecs/pojo/ClassModel<*>;
    Signature: (Lorg/bson/codecs/pojo/ClassModel<*>;)V
    MethodParameters:
            Name  Flags
      classModel  final

  private java.lang.Class<?> getClassForName(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/Class;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=3, args_size=2
        start local 0 // org.bson.codecs.pojo.DiscriminatorLookup this
        start local 1 // java.lang.String discriminator
         0: .line 65
            aconst_null
            astore 2 /* clazz */
        start local 2 // java.lang.Class clazz
         1: .line 67
            aload 1 /* discriminator */
            invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
            astore 2 /* clazz */
         2: .line 68
            goto 4
      StackMap locals: org.bson.codecs.pojo.DiscriminatorLookup java.lang.String java.lang.Class
      StackMap stack: java.lang.ClassNotFoundException
         3: pop
         4: .line 71
      StackMap locals:
      StackMap stack:
            aload 2 /* clazz */
            areturn
        end local 2 // java.lang.Class clazz
        end local 1 // java.lang.String discriminator
        end local 0 // org.bson.codecs.pojo.DiscriminatorLookup this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    5     0           this  Lorg/bson/codecs/pojo/DiscriminatorLookup;
            0    5     1  discriminator  Ljava/lang/String;
            1    5     2          clazz  Ljava/lang/Class<*>;
      Exception table:
        from    to  target  type
           1     2       3  Class java.lang.ClassNotFoundException
    Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
    MethodParameters:
               Name  Flags
      discriminator  final

  private java.lang.Class<?> searchPackages(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/Class;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=5, args_size=2
        start local 0 // org.bson.codecs.pojo.DiscriminatorLookup this
        start local 1 // java.lang.String discriminator
         0: .line 75
            aconst_null
            astore 2 /* clazz */
        start local 2 // java.lang.Class clazz
         1: .line 76
            aload 0 /* this */
            getfield org.bson.codecs.pojo.DiscriminatorLookup.packages:Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 4
            goto 6
      StackMap locals: org.bson.codecs.pojo.DiscriminatorLookup java.lang.String java.lang.Class top java.util.Iterator
      StackMap stack:
         2: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 3 /* packageName */
        start local 3 // java.lang.String packageName
         3: .line 77
            aload 0 /* this */
            new java.lang.StringBuilder
            dup
            aload 3 /* packageName */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 1 /* discriminator */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual org.bson.codecs.pojo.DiscriminatorLookup.getClassForName:(Ljava/lang/String;)Ljava/lang/Class;
            astore 2 /* clazz */
         4: .line 78
            aload 2 /* clazz */
            ifnull 6
         5: .line 79
            aload 2 /* clazz */
            areturn
        end local 3 // java.lang.String packageName
         6: .line 76
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         7: .line 82
            aload 2 /* clazz */
            areturn
        end local 2 // java.lang.Class clazz
        end local 1 // java.lang.String discriminator
        end local 0 // org.bson.codecs.pojo.DiscriminatorLookup this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    8     0           this  Lorg/bson/codecs/pojo/DiscriminatorLookup;
            0    8     1  discriminator  Ljava/lang/String;
            1    8     2          clazz  Ljava/lang/Class<*>;
            3    6     3    packageName  Ljava/lang/String;
    Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
    MethodParameters:
               Name  Flags
      discriminator  final
}
SourceFile: "DiscriminatorLookup.java"