public final class com.mongodb.internal.connection.ClientMetadataHelper
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: com.mongodb.internal.connection.ClientMetadataHelper
  super_class: java.lang.Object
{
  public static final org.bson.BsonDocument CLIENT_METADATA_DOCUMENT;
    descriptor: Lorg/bson/BsonDocument;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  private static final java.lang.String SEPARATOR;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "|"

  private static final java.lang.String APPLICATION_FIELD;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "application"

  private static final java.lang.String APPLICATION_NAME_FIELD;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "name"

  private static final java.lang.String DRIVER_FIELD;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "driver"

  private static final java.lang.String DRIVER_NAME_FIELD;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "name"

  private static final java.lang.String DRIVER_VERSION_FIELD;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "version"

  private static final java.lang.String PLATFORM_FIELD;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "platform"

  private static final java.lang.String OS_FIELD;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "os"

  private static final java.lang.String OS_TYPE_FIELD;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "type"

  private static final java.lang.String OS_NAME_FIELD;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "name"

  private static final java.lang.String OS_ARCHITECTURE_FIELD;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "architecture"

  private static final java.lang.String OS_VERSION_FIELD;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "version"

  private static final int MAXIMUM_CLIENT_METADATA_ENCODED_SIZE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 512

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=8, locals=2, args_size=0
         0: .line 36
            new org.bson.BsonDocument
            dup
            invokespecial org.bson.BsonDocument.<init>:()V
            putstatic com.mongodb.internal.connection.ClientMetadataHelper.CLIENT_METADATA_DOCUMENT:Lorg/bson/BsonDocument;
         1: .line 58
            aconst_null
            new org.bson.BsonDocument
            dup
            invokespecial org.bson.BsonDocument.<init>:()V
            invokestatic com.mongodb.internal.connection.ClientMetadataHelper.addDriverInformation:(Lcom/mongodb/MongoDriverInformation;Lorg/bson/BsonDocument;)Lorg/bson/BsonDocument;
            astore 0 /* driverMetadataDocument */
        start local 0 // org.bson.BsonDocument driverMetadataDocument
         2: .line 59
            getstatic com.mongodb.internal.connection.ClientMetadataHelper.CLIENT_METADATA_DOCUMENT:Lorg/bson/BsonDocument;
            ldc "driver"
            aload 0 /* driverMetadataDocument */
            ldc "driver"
            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
         3: .line 62
            ldc "os.name"
            ldc "unknown"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            astore 1 /* operatingSystemName */
        start local 1 // java.lang.String operatingSystemName
         4: .line 63
            getstatic com.mongodb.internal.connection.ClientMetadataHelper.CLIENT_METADATA_DOCUMENT:Lorg/bson/BsonDocument;
            ldc "os"
            new org.bson.BsonDocument
            dup
            invokespecial org.bson.BsonDocument.<init>:()V
         5: .line 64
            ldc "type"
         6: .line 65
            new org.bson.BsonString
            dup
            aload 1 /* operatingSystemName */
            invokestatic com.mongodb.internal.connection.ClientMetadataHelper.getOperatingSystemType:(Ljava/lang/String;)Ljava/lang/String;
            invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
         7: .line 64
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
         8: .line 66
            ldc "name"
         9: .line 67
            new org.bson.BsonString
            dup
            aload 1 /* operatingSystemName */
            invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
        10: .line 66
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
        11: .line 68
            ldc "architecture"
        12: .line 69
            new org.bson.BsonString
            dup
            ldc "os.arch"
            ldc "unknown"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
        13: .line 68
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
        14: .line 70
            ldc "version"
        15: .line 71
            new org.bson.BsonString
            dup
            ldc "os.version"
            ldc "unknown"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
        16: .line 70
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
        17: .line 63
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
        18: .line 72
            ldc "platform"
            aload 0 /* driverMetadataDocument */
            ldc "platform"
            new org.bson.BsonString
            dup
            ldc ""
            invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
            invokevirtual org.bson.BsonDocument.get:(Ljava/lang/Object;Lorg/bson/BsonValue;)Lorg/bson/BsonValue;
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
            pop
        end local 1 // java.lang.String operatingSystemName
        19: .line 73
            goto 21
      StackMap locals: org.bson.BsonDocument
      StackMap stack: java.lang.SecurityException
        20: pop
        end local 0 // org.bson.BsonDocument driverMetadataDocument
        21: .line 76
      StackMap locals:
      StackMap stack:
            return
      LocalVariableTable:
        Start  End  Slot                    Name  Signature
            2   21     0  driverMetadataDocument  Lorg/bson/BsonDocument;
            4   19     1     operatingSystemName  Ljava/lang/String;
      Exception table:
        from    to  target  type
           3    19      20  Class java.lang.SecurityException

  private static java.lang.String getOperatingSystemType(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // java.lang.String operatingSystemName
         0: .line 79
            aload 0 /* operatingSystemName */
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "linux"
            aastore
            invokestatic com.mongodb.internal.connection.ClientMetadataHelper.nameMatches:(Ljava/lang/String;[Ljava/lang/String;)Z
            ifeq 2
         1: .line 80
            ldc "Linux"
            areturn
         2: .line 81
      StackMap locals:
      StackMap stack:
            aload 0 /* operatingSystemName */
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "mac"
            aastore
            invokestatic com.mongodb.internal.connection.ClientMetadataHelper.nameMatches:(Ljava/lang/String;[Ljava/lang/String;)Z
            ifeq 4
         3: .line 82
            ldc "Darwin"
            areturn
         4: .line 83
      StackMap locals:
      StackMap stack:
            aload 0 /* operatingSystemName */
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "windows"
            aastore
            invokestatic com.mongodb.internal.connection.ClientMetadataHelper.nameMatches:(Ljava/lang/String;[Ljava/lang/String;)Z
            ifeq 6
         5: .line 84
            ldc "Windows"
            areturn
         6: .line 85
      StackMap locals:
      StackMap stack:
            aload 0 /* operatingSystemName */
            iconst_5
            anewarray java.lang.String
            dup
            iconst_0
            ldc "hp-ux"
            aastore
            dup
            iconst_1
            ldc "aix"
            aastore
            dup
            iconst_2
            ldc "irix"
            aastore
            dup
            iconst_3
            ldc "solaris"
            aastore
            dup
            iconst_4
            ldc "sunos"
            aastore
            invokestatic com.mongodb.internal.connection.ClientMetadataHelper.nameMatches:(Ljava/lang/String;[Ljava/lang/String;)Z
            ifeq 8
         7: .line 86
            ldc "Unix"
            areturn
         8: .line 88
      StackMap locals:
      StackMap stack:
            ldc "unknown"
            areturn
        end local 0 // java.lang.String operatingSystemName
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0    9     0  operatingSystemName  Ljava/lang/String;
    MethodParameters:
                     Name  Flags
      operatingSystemName  final

  private static boolean nameMatches(java.lang.String, java.lang.String[]);
    descriptor: (Ljava/lang/String;[Ljava/lang/String;)Z
    flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
    Code:
      stack=2, locals=6, args_size=2
        start local 0 // java.lang.String name
        start local 1 // java.lang.String[] prefixes
         0: .line 93
            aload 1 /* prefixes */
            dup
            astore 5
            arraylength
            istore 4
            iconst_0
            istore 3
            goto 5
      StackMap locals: java.lang.String java.lang.String[] top int int java.lang.String[]
      StackMap stack:
         1: aload 5
            iload 3
            aaload
            astore 2 /* prefix */
        start local 2 // java.lang.String prefix
         2: .line 94
            aload 0 /* name */
            invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
            aload 2 /* prefix */
            invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 4
         3: .line 95
            iconst_1
            ireturn
        end local 2 // java.lang.String prefix
         4: .line 93
      StackMap locals:
      StackMap stack:
            iinc 3 1
      StackMap locals:
      StackMap stack:
         5: iload 3
            iload 4
            if_icmplt 1
         6: .line 98
            iconst_0
            ireturn
        end local 1 // java.lang.String[] prefixes
        end local 0 // java.lang.String name
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    7     0      name  Ljava/lang/String;
            0    7     1  prefixes  [Ljava/lang/String;
            2    4     2    prefix  Ljava/lang/String;
    MethodParameters:
          Name  Flags
      name      final
      prefixes  final

  static org.bson.BsonDocument createClientMetadataDocument(java.lang.String);
    descriptor: (Ljava/lang/String;)Lorg/bson/BsonDocument;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.String applicationName
         0: .line 102
            aload 0 /* applicationName */
            aconst_null
            invokestatic com.mongodb.internal.connection.ClientMetadataHelper.createClientMetadataDocument:(Ljava/lang/String;Lcom/mongodb/MongoDriverInformation;)Lorg/bson/BsonDocument;
            areturn
        end local 0 // java.lang.String applicationName
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    1     0  applicationName  Ljava/lang/String;
    MethodParameters:
                 Name  Flags
      applicationName  final

  public static org.bson.BsonDocument createClientMetadataDocument(java.lang.String, com.mongodb.MongoDriverInformation);
    descriptor: (Ljava/lang/String;Lcom/mongodb/MongoDriverInformation;)Lorg/bson/BsonDocument;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.lang.String applicationName
        start local 1 // com.mongodb.MongoDriverInformation mongoDriverInformation
         0: .line 107
            aload 0 /* applicationName */
            aload 1 /* mongoDriverInformation */
            getstatic com.mongodb.internal.connection.ClientMetadataHelper.CLIENT_METADATA_DOCUMENT:Lorg/bson/BsonDocument;
            invokestatic com.mongodb.internal.connection.ClientMetadataHelper.createClientMetadataDocument:(Ljava/lang/String;Lcom/mongodb/MongoDriverInformation;Lorg/bson/BsonDocument;)Lorg/bson/BsonDocument;
            areturn
        end local 1 // com.mongodb.MongoDriverInformation mongoDriverInformation
        end local 0 // java.lang.String applicationName
      LocalVariableTable:
        Start  End  Slot                    Name  Signature
            0    1     0         applicationName  Ljava/lang/String;
            0    1     1  mongoDriverInformation  Lcom/mongodb/MongoDriverInformation;
    MethodParameters:
                        Name  Flags
      applicationName         final
      mongoDriverInformation  final

  static org.bson.BsonDocument createClientMetadataDocument(java.lang.String, com.mongodb.MongoDriverInformation, org.bson.BsonDocument);
    descriptor: (Ljava/lang/String;Lcom/mongodb/MongoDriverInformation;Lorg/bson/BsonDocument;)Lorg/bson/BsonDocument;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=8, locals=5, args_size=3
        start local 0 // java.lang.String applicationName
        start local 1 // com.mongodb.MongoDriverInformation mongoDriverInformation
        start local 2 // org.bson.BsonDocument templateDocument
         0: .line 112
            aload 0 /* applicationName */
            ifnull 5
         1: .line 113
            ldc "applicationName UTF-8 encoding length <= 128"
         2: .line 114
            aload 0 /* applicationName */
            ldc "UTF-8"
            invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
            invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
            arraylength
            sipush 128
            if_icmpgt 3
            iconst_1
            goto 4
      StackMap locals:
      StackMap stack: java.lang.String
         3: iconst_0
         4: .line 113
      StackMap locals: java.lang.String com.mongodb.MongoDriverInformation org.bson.BsonDocument
      StackMap stack: java.lang.String int
            invokestatic com.mongodb.assertions.Assertions.isTrueArgument:(Ljava/lang/String;Z)V
         5: .line 117
      StackMap locals:
      StackMap stack:
            aload 2 /* templateDocument */
            invokevirtual org.bson.BsonDocument.clone:()Lorg/bson/BsonDocument;
            astore 3 /* document */
        start local 3 // org.bson.BsonDocument document
         6: .line 118
            aload 0 /* applicationName */
            ifnull 8
         7: .line 119
            aload 3 /* document */
            ldc "application"
            new org.bson.BsonDocument
            dup
            ldc "name"
            new org.bson.BsonString
            dup
            aload 0 /* applicationName */
            invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
            invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
            pop
         8: .line 122
      StackMap locals: org.bson.BsonDocument
      StackMap stack:
            aload 1 /* mongoDriverInformation */
            ifnull 10
         9: .line 123
            aload 1 /* mongoDriverInformation */
            aload 3 /* document */
            invokestatic com.mongodb.internal.connection.ClientMetadataHelper.addDriverInformation:(Lcom/mongodb/MongoDriverInformation;Lorg/bson/BsonDocument;)Lorg/bson/BsonDocument;
            pop
        10: .line 126
      StackMap locals:
      StackMap stack:
            aload 3 /* document */
            invokestatic com.mongodb.internal.connection.ClientMetadataHelper.clientMetadataDocumentTooLarge:(Lorg/bson/BsonDocument;)Z
            ifeq 23
        11: .line 129
            aload 3 /* document */
            ldc "os"
            aconst_null
            invokevirtual org.bson.BsonDocument.getDocument:(Ljava/lang/Object;Lorg/bson/BsonDocument;)Lorg/bson/BsonDocument;
            astore 4 /* operatingSystemDocument */
        start local 4 // org.bson.BsonDocument operatingSystemDocument
        12: .line 130
            aload 4 /* operatingSystemDocument */
            ifnull 16
        13: .line 131
            aload 4 /* operatingSystemDocument */
            ldc "version"
            invokevirtual org.bson.BsonDocument.remove:(Ljava/lang/Object;)Lorg/bson/BsonValue;
            pop
        14: .line 132
            aload 4 /* operatingSystemDocument */
            ldc "architecture"
            invokevirtual org.bson.BsonDocument.remove:(Ljava/lang/Object;)Lorg/bson/BsonValue;
            pop
        15: .line 133
            aload 4 /* operatingSystemDocument */
            ldc "name"
            invokevirtual org.bson.BsonDocument.remove:(Ljava/lang/Object;)Lorg/bson/BsonValue;
            pop
        16: .line 135
      StackMap locals: org.bson.BsonDocument
      StackMap stack:
            aload 4 /* operatingSystemDocument */
            ifnull 17
            aload 3 /* document */
            invokestatic com.mongodb.internal.connection.ClientMetadataHelper.clientMetadataDocumentTooLarge:(Lorg/bson/BsonDocument;)Z
            ifeq 23
        17: .line 137
      StackMap locals:
      StackMap stack:
            aload 3 /* document */
            ldc "platform"
            invokevirtual org.bson.BsonDocument.remove:(Ljava/lang/Object;)Lorg/bson/BsonValue;
            pop
        18: .line 138
            aload 3 /* document */
            invokestatic com.mongodb.internal.connection.ClientMetadataHelper.clientMetadataDocumentTooLarge:(Lorg/bson/BsonDocument;)Z
            ifeq 23
        19: .line 140
            new org.bson.BsonDocument
            dup
            ldc "driver"
            aload 2 /* templateDocument */
            ldc "driver"
            invokevirtual org.bson.BsonDocument.getDocument:(Ljava/lang/Object;)Lorg/bson/BsonDocument;
            invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
            astore 3 /* document */
        20: .line 141
            aload 3 /* document */
            ldc "os"
            new org.bson.BsonDocument
            dup
            ldc "type"
            new org.bson.BsonString
            dup
            ldc "unknown"
            invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
            invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
            pop
        21: .line 142
            aload 3 /* document */
            invokestatic com.mongodb.internal.connection.ClientMetadataHelper.clientMetadataDocumentTooLarge:(Lorg/bson/BsonDocument;)Z
            ifeq 23
        22: .line 144
            aconst_null
            astore 3 /* document */
        end local 4 // org.bson.BsonDocument operatingSystemDocument
        23: .line 149
      StackMap locals:
      StackMap stack:
            aload 3 /* document */
            areturn
        end local 3 // org.bson.BsonDocument document
        end local 2 // org.bson.BsonDocument templateDocument
        end local 1 // com.mongodb.MongoDriverInformation mongoDriverInformation
        end local 0 // java.lang.String applicationName
      LocalVariableTable:
        Start  End  Slot                     Name  Signature
            0   24     0          applicationName  Ljava/lang/String;
            0   24     1   mongoDriverInformation  Lcom/mongodb/MongoDriverInformation;
            0   24     2         templateDocument  Lorg/bson/BsonDocument;
            6   24     3                 document  Lorg/bson/BsonDocument;
           12   23     4  operatingSystemDocument  Lorg/bson/BsonDocument;
    MethodParameters:
                        Name  Flags
      applicationName         final
      mongoDriverInformation  final
      templateDocument        final

  private static org.bson.BsonDocument addDriverInformation(com.mongodb.MongoDriverInformation, org.bson.BsonDocument);
    descriptor: (Lcom/mongodb/MongoDriverInformation;Lorg/bson/BsonDocument;)Lorg/bson/BsonDocument;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // com.mongodb.MongoDriverInformation mongoDriverInformation
        start local 1 // org.bson.BsonDocument document
         0: .line 153
            aload 0 /* mongoDriverInformation */
            invokestatic com.mongodb.internal.connection.ClientMetadataHelper.getDriverInformation:(Lcom/mongodb/MongoDriverInformation;)Lcom/mongodb/MongoDriverInformation;
            astore 2 /* driverInformation */
        start local 2 // com.mongodb.MongoDriverInformation driverInformation
         1: .line 154
            new org.bson.BsonDocument
            dup
            ldc "name"
            aload 2 /* driverInformation */
            invokevirtual com.mongodb.MongoDriverInformation.getDriverNames:()Ljava/util/List;
            invokestatic com.mongodb.internal.connection.ClientMetadataHelper.listToBsonString:(Ljava/util/List;)Lorg/bson/BsonString;
            invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
         2: .line 155
            ldc "version"
            aload 2 /* driverInformation */
            invokevirtual com.mongodb.MongoDriverInformation.getDriverVersions:()Ljava/util/List;
            invokestatic com.mongodb.internal.connection.ClientMetadataHelper.listToBsonString:(Ljava/util/List;)Lorg/bson/BsonString;
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
         3: .line 154
            astore 3 /* driverMetadataDocument */
        start local 3 // org.bson.BsonDocument driverMetadataDocument
         4: .line 156
            aload 1 /* document */
            ldc "driver"
            aload 3 /* driverMetadataDocument */
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
            pop
         5: .line 157
            aload 1 /* document */
            ldc "platform"
            aload 2 /* driverInformation */
            invokevirtual com.mongodb.MongoDriverInformation.getDriverPlatforms:()Ljava/util/List;
            invokestatic com.mongodb.internal.connection.ClientMetadataHelper.listToBsonString:(Ljava/util/List;)Lorg/bson/BsonString;
            invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
            pop
         6: .line 158
            aload 1 /* document */
            areturn
        end local 3 // org.bson.BsonDocument driverMetadataDocument
        end local 2 // com.mongodb.MongoDriverInformation driverInformation
        end local 1 // org.bson.BsonDocument document
        end local 0 // com.mongodb.MongoDriverInformation mongoDriverInformation
      LocalVariableTable:
        Start  End  Slot                    Name  Signature
            0    7     0  mongoDriverInformation  Lcom/mongodb/MongoDriverInformation;
            0    7     1                document  Lorg/bson/BsonDocument;
            1    7     2       driverInformation  Lcom/mongodb/MongoDriverInformation;
            4    7     3  driverMetadataDocument  Lorg/bson/BsonDocument;
    MethodParameters:
                        Name  Flags
      mongoDriverInformation  final
      document                final

  static boolean clientMetadataDocumentTooLarge(org.bson.BsonDocument);
    descriptor: (Lorg/bson/BsonDocument;)Z
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // org.bson.BsonDocument document
         0: .line 162
            new org.bson.io.BasicOutputBuffer
            dup
            sipush 512
            invokespecial org.bson.io.BasicOutputBuffer.<init>:(I)V
            astore 1 /* buffer */
        start local 1 // org.bson.io.BasicOutputBuffer buffer
         1: .line 163
            new org.bson.codecs.BsonDocumentCodec
            dup
            invokespecial org.bson.codecs.BsonDocumentCodec.<init>:()V
            new org.bson.BsonBinaryWriter
            dup
            aload 1 /* buffer */
            invokespecial org.bson.BsonBinaryWriter.<init>:(Lorg/bson/io/BsonOutput;)V
            aload 0 /* document */
            invokestatic org.bson.codecs.EncoderContext.builder:()Lorg/bson/codecs/EncoderContext$Builder;
            invokevirtual org.bson.codecs.EncoderContext$Builder.build:()Lorg/bson/codecs/EncoderContext;
            invokevirtual org.bson.codecs.BsonDocumentCodec.encode:(Lorg/bson/BsonWriter;Lorg/bson/BsonDocument;Lorg/bson/codecs/EncoderContext;)V
         2: .line 164
            aload 1 /* buffer */
            invokevirtual org.bson.io.BasicOutputBuffer.getPosition:()I
            sipush 512
            if_icmple 3
            iconst_1
            ireturn
      StackMap locals: org.bson.io.BasicOutputBuffer
      StackMap stack:
         3: iconst_0
            ireturn
        end local 1 // org.bson.io.BasicOutputBuffer buffer
        end local 0 // org.bson.BsonDocument document
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    4     0  document  Lorg/bson/BsonDocument;
            1    4     1    buffer  Lorg/bson/io/BasicOutputBuffer;
    MethodParameters:
          Name  Flags
      document  final

  static com.mongodb.MongoDriverInformation getDriverInformation(com.mongodb.MongoDriverInformation);
    descriptor: (Lcom/mongodb/MongoDriverInformation;)Lcom/mongodb/MongoDriverInformation;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=7, locals=2, args_size=1
        start local 0 // com.mongodb.MongoDriverInformation mongoDriverInformation
         0: .line 168
            aload 0 /* mongoDriverInformation */
            ifnull 1
            aload 0 /* mongoDriverInformation */
            invokestatic com.mongodb.MongoDriverInformation.builder:(Lcom/mongodb/MongoDriverInformation;)Lcom/mongodb/MongoDriverInformation$Builder;
            goto 2
         1: .line 169
      StackMap locals:
      StackMap stack:
            invokestatic com.mongodb.MongoDriverInformation.builder:()Lcom/mongodb/MongoDriverInformation$Builder;
         2: .line 168
      StackMap locals:
      StackMap stack: com.mongodb.MongoDriverInformation$Builder
            astore 1 /* builder */
        start local 1 // com.mongodb.MongoDriverInformation$Builder builder
         3: .line 170
            aload 1 /* builder */
         4: .line 171
            ldc "mongo-java-driver"
            invokevirtual com.mongodb.MongoDriverInformation$Builder.driverName:(Ljava/lang/String;)Lcom/mongodb/MongoDriverInformation$Builder;
         5: .line 172
            ldc "3.12.7"
            invokevirtual com.mongodb.MongoDriverInformation$Builder.driverVersion:(Ljava/lang/String;)Lcom/mongodb/MongoDriverInformation$Builder;
         6: .line 173
            ldc "Java/%s/%s"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            ldc "java.vendor"
            ldc "unknown-vendor"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            aastore
            dup
            iconst_1
         7: .line 174
            ldc "java.runtime.version"
            ldc "unknown-version"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            aastore
         8: .line 173
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokevirtual com.mongodb.MongoDriverInformation$Builder.driverPlatform:(Ljava/lang/String;)Lcom/mongodb/MongoDriverInformation$Builder;
         9: .line 175
            invokevirtual com.mongodb.MongoDriverInformation$Builder.build:()Lcom/mongodb/MongoDriverInformation;
        10: .line 170
            areturn
        end local 1 // com.mongodb.MongoDriverInformation$Builder builder
        end local 0 // com.mongodb.MongoDriverInformation mongoDriverInformation
      LocalVariableTable:
        Start  End  Slot                    Name  Signature
            0   11     0  mongoDriverInformation  Lcom/mongodb/MongoDriverInformation;
            3   11     1                 builder  Lcom/mongodb/MongoDriverInformation$Builder;
    MethodParameters:
                        Name  Flags
      mongoDriverInformation  final

  static org.bson.BsonString listToBsonString(java.util.List<java.lang.String>);
    descriptor: (Ljava/util/List;)Lorg/bson/BsonString;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=5, args_size=1
        start local 0 // java.util.List listOfStrings
         0: .line 179
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 1 /* stringBuilder */
        start local 1 // java.lang.StringBuilder stringBuilder
         1: .line 180
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         2: .line 181
            aload 0 /* listOfStrings */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 4
            goto 8
      StackMap locals: java.util.List java.lang.StringBuilder int top java.util.Iterator
      StackMap stack:
         3: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 3 /* val */
        start local 3 // java.lang.String val
         4: .line 182
            iload 2 /* i */
            ifle 6
         5: .line 183
            aload 1 /* stringBuilder */
            ldc "|"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         6: .line 185
      StackMap locals: java.util.List java.lang.StringBuilder int java.lang.String java.util.Iterator
      StackMap stack:
            aload 1 /* stringBuilder */
            aload 3 /* val */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         7: .line 186
            iinc 2 /* i */ 1
        end local 3 // java.lang.String val
         8: .line 181
      StackMap locals: java.util.List java.lang.StringBuilder int top java.util.Iterator
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
         9: .line 188
            new org.bson.BsonString
            dup
            aload 1 /* stringBuilder */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
            areturn
        end local 2 // int i
        end local 1 // java.lang.StringBuilder stringBuilder
        end local 0 // java.util.List listOfStrings
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   10     0  listOfStrings  Ljava/util/List<Ljava/lang/String;>;
            1   10     1  stringBuilder  Ljava/lang/StringBuilder;
            2   10     2              i  I
            4    8     3            val  Ljava/lang/String;
    Signature: (Ljava/util/List<Ljava/lang/String;>;)Lorg/bson/BsonString;
    MethodParameters:
               Name  Flags
      listOfStrings  final

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.ClientMetadataHelper this
         0: .line 191
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 192
            return
        end local 0 // com.mongodb.internal.connection.ClientMetadataHelper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/mongodb/internal/connection/ClientMetadataHelper;
}
SourceFile: "ClientMetadataHelper.java"
InnerClasses:
  public final Builder = com.mongodb.MongoDriverInformation$Builder of com.mongodb.MongoDriverInformation
  public final Builder = org.bson.codecs.EncoderContext$Builder of org.bson.codecs.EncoderContext