public final class com.mongodb.internal.operation.IndexHelper
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: com.mongodb.internal.operation.IndexHelper
  super_class: java.lang.Object
{
  public static java.util.List<java.lang.String> getIndexNames(java.util.List<com.mongodb.client.model.IndexModel>, org.bson.codecs.configuration.CodecRegistry);
    descriptor: (Ljava/util/List;Lorg/bson/codecs/configuration/CodecRegistry;)Ljava/util/List;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=6, args_size=2
        start local 0 // java.util.List indexes
        start local 1 // org.bson.codecs.configuration.CodecRegistry codecRegistry
         0: .line 42
            new java.util.ArrayList
            dup
            aload 0 /* indexes */
            invokeinterface java.util.List.size:()I
            invokespecial java.util.ArrayList.<init>:(I)V
            astore 2 /* indexNames */
        start local 2 // java.util.List indexNames
         1: .line 43
            aload 0 /* indexes */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 4
            goto 8
      StackMap locals: java.util.List org.bson.codecs.configuration.CodecRegistry java.util.List top java.util.Iterator
      StackMap stack:
         2: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast com.mongodb.client.model.IndexModel
            astore 3 /* index */
        start local 3 // com.mongodb.client.model.IndexModel index
         3: .line 44
            aload 3 /* index */
            invokevirtual com.mongodb.client.model.IndexModel.getOptions:()Lcom/mongodb/client/model/IndexOptions;
            invokevirtual com.mongodb.client.model.IndexOptions.getName:()Ljava/lang/String;
            astore 5 /* name */
        start local 5 // java.lang.String name
         4: .line 45
            aload 5 /* name */
            ifnull 7
         5: .line 46
            aload 2 /* indexNames */
            aload 5 /* name */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         6: .line 47
            goto 8
         7: .line 48
      StackMap locals: java.util.List org.bson.codecs.configuration.CodecRegistry java.util.List com.mongodb.client.model.IndexModel java.util.Iterator java.lang.String
      StackMap stack:
            aload 2 /* indexNames */
            aload 3 /* index */
            invokevirtual com.mongodb.client.model.IndexModel.getKeys:()Lorg/bson/conversions/Bson;
            ldc Lorg/bson/BsonDocument;
            aload 1 /* codecRegistry */
            invokeinterface org.bson.conversions.Bson.toBsonDocument:(Ljava/lang/Class;Lorg/bson/codecs/configuration/CodecRegistry;)Lorg/bson/BsonDocument;
            invokestatic com.mongodb.internal.operation.IndexHelper.generateIndexName:(Lorg/bson/BsonDocument;)Ljava/lang/String;
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 5 // java.lang.String name
        end local 3 // com.mongodb.client.model.IndexModel index
         8: .line 43
      StackMap locals: java.util.List org.bson.codecs.configuration.CodecRegistry java.util.List top java.util.Iterator
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         9: .line 51
            aload 2 /* indexNames */
            areturn
        end local 2 // java.util.List indexNames
        end local 1 // org.bson.codecs.configuration.CodecRegistry codecRegistry
        end local 0 // java.util.List indexes
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   10     0        indexes  Ljava/util/List<Lcom/mongodb/client/model/IndexModel;>;
            0   10     1  codecRegistry  Lorg/bson/codecs/configuration/CodecRegistry;
            1   10     2     indexNames  Ljava/util/List<Ljava/lang/String;>;
            3    8     3          index  Lcom/mongodb/client/model/IndexModel;
            4    8     5           name  Ljava/lang/String;
    Signature: (Ljava/util/List<Lcom/mongodb/client/model/IndexModel;>;Lorg/bson/codecs/configuration/CodecRegistry;)Ljava/util/List<Ljava/lang/String;>;
    MethodParameters:
               Name  Flags
      indexes        final
      codecRegistry  final

  public static java.lang.String generateIndexName(org.bson.BsonDocument);
    descriptor: (Lorg/bson/BsonDocument;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=5, args_size=1
        start local 0 // org.bson.BsonDocument index
         0: .line 60
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 1 /* indexName */
        start local 1 // java.lang.StringBuilder indexName
         1: .line 61
            aload 0 /* index */
            invokevirtual org.bson.BsonDocument.keySet:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 3
            goto 12
      StackMap locals: org.bson.BsonDocument java.lang.StringBuilder top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 2 /* keyNames */
        start local 2 // java.lang.String keyNames
         3: .line 62
            aload 1 /* indexName */
            invokevirtual java.lang.StringBuilder.length:()I
            ifeq 5
         4: .line 63
            aload 1 /* indexName */
            bipush 95
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
         5: .line 65
      StackMap locals: org.bson.BsonDocument java.lang.StringBuilder java.lang.String java.util.Iterator
      StackMap stack:
            aload 1 /* indexName */
            aload 2 /* keyNames */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            bipush 95
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
         6: .line 66
            aload 0 /* index */
            aload 2 /* keyNames */
            invokevirtual org.bson.BsonDocument.get:(Ljava/lang/Object;)Lorg/bson/BsonValue;
            astore 4 /* ascOrDescValue */
        start local 4 // org.bson.BsonValue ascOrDescValue
         7: .line 67
            aload 4 /* ascOrDescValue */
            instanceof org.bson.BsonNumber
            ifeq 10
         8: .line 68
            aload 1 /* indexName */
            aload 4 /* ascOrDescValue */
            checkcast org.bson.BsonNumber
            invokevirtual org.bson.BsonNumber.intValue:()I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            pop
         9: .line 69
            goto 12
      StackMap locals: org.bson.BsonValue
      StackMap stack:
        10: aload 4 /* ascOrDescValue */
            instanceof org.bson.BsonString
            ifeq 12
        11: .line 70
            aload 1 /* indexName */
            aload 4 /* ascOrDescValue */
            checkcast org.bson.BsonString
            invokevirtual org.bson.BsonString.getValue:()Ljava/lang/String;
            bipush 32
            bipush 95
            invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        end local 4 // org.bson.BsonValue ascOrDescValue
        end local 2 // java.lang.String keyNames
        12: .line 61
      StackMap locals: org.bson.BsonDocument java.lang.StringBuilder top java.util.Iterator
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
        13: .line 73
            aload 1 /* indexName */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 1 // java.lang.StringBuilder indexName
        end local 0 // org.bson.BsonDocument index
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   14     0           index  Lorg/bson/BsonDocument;
            1   14     1       indexName  Ljava/lang/StringBuilder;
            3   12     2        keyNames  Ljava/lang/String;
            7   12     4  ascOrDescValue  Lorg/bson/BsonValue;
    MethodParameters:
       Name  Flags
      index  final

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.internal.operation.IndexHelper this
         0: .line 76
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 77
            return
        end local 0 // com.mongodb.internal.operation.IndexHelper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/mongodb/internal/operation/IndexHelper;
}
SourceFile: "IndexHelper.java"