public class io.vertx.config.consul.ConsulConfigStore implements io.vertx.config.spi.ConfigStore
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: io.vertx.config.consul.ConsulConfigStore
  super_class: java.lang.Object
{
  private final io.vertx.core.impl.VertxInternal vertx;
    descriptor: Lio/vertx/core/impl/VertxInternal;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final io.vertx.ext.consul.ConsulClient client;
    descriptor: Lio/vertx/ext/consul/ConsulClient;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.String delimiter;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.String prefix;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final boolean rawData;
    descriptor: Z
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  void <init>(io.vertx.core.Vertx, io.vertx.core.json.JsonObject);
    descriptor: (Lio/vertx/core/Vertx;Lio/vertx/core/json/JsonObject;)V
    flags: (0x0000) 
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // io.vertx.config.consul.ConsulConfigStore this
        start local 1 // io.vertx.core.Vertx vertx
        start local 2 // io.vertx.core.json.JsonObject configuration
         0: .line 42
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 43
            aload 0 /* this */
            aload 1 /* vertx */
            checkcast io.vertx.core.impl.VertxInternal
            putfield io.vertx.config.consul.ConsulConfigStore.vertx:Lio/vertx/core/impl/VertxInternal;
         2: .line 44
            aload 0 /* this */
            aload 1 /* vertx */
            new io.vertx.ext.consul.ConsulClientOptions
            dup
            aload 2 /* configuration */
            invokespecial io.vertx.ext.consul.ConsulClientOptions.<init>:(Lio/vertx/core/json/JsonObject;)V
            invokestatic io.vertx.ext.consul.ConsulClient.create:(Lio/vertx/core/Vertx;Lio/vertx/ext/consul/ConsulClientOptions;)Lio/vertx/ext/consul/ConsulClient;
            putfield io.vertx.config.consul.ConsulConfigStore.client:Lio/vertx/ext/consul/ConsulClient;
         3: .line 45
            aload 0 /* this */
            aload 2 /* configuration */
            ldc "delimiter"
            ldc "/"
            invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            putfield io.vertx.config.consul.ConsulConfigStore.delimiter:Ljava/lang/String;
         4: .line 46
            aload 0 /* this */
            aload 2 /* configuration */
            ldc "prefix"
            invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
            aload 0 /* this */
            getfield io.vertx.config.consul.ConsulConfigStore.delimiter:Ljava/lang/String;
            invokestatic io.vertx.config.consul.ConsulConfigStore.prefix:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            putfield io.vertx.config.consul.ConsulConfigStore.prefix:Ljava/lang/String;
         5: .line 47
            aload 0 /* this */
            aload 2 /* configuration */
            ldc "raw-data"
            iconst_1
            invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
            invokevirtual io.vertx.core.json.JsonObject.getBoolean:(Ljava/lang/String;Ljava/lang/Boolean;)Ljava/lang/Boolean;
            invokevirtual java.lang.Boolean.booleanValue:()Z
            putfield io.vertx.config.consul.ConsulConfigStore.rawData:Z
         6: .line 48
            return
        end local 2 // io.vertx.core.json.JsonObject configuration
        end local 1 // io.vertx.core.Vertx vertx
        end local 0 // io.vertx.config.consul.ConsulConfigStore this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    7     0           this  Lio/vertx/config/consul/ConsulConfigStore;
            0    7     1          vertx  Lio/vertx/core/Vertx;
            0    7     2  configuration  Lio/vertx/core/json/JsonObject;
    MethodParameters:
               Name  Flags
      vertx          
      configuration  

  public io.vertx.core.Future<io.vertx.core.buffer.Buffer> get();
    descriptor: ()Lio/vertx/core/Future;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // io.vertx.config.consul.ConsulConfigStore this
         0: .line 52
            aload 0 /* this */
            getfield io.vertx.config.consul.ConsulConfigStore.client:Lio/vertx/ext/consul/ConsulClient;
            aload 0 /* this */
            getfield io.vertx.config.consul.ConsulConfigStore.prefix:Ljava/lang/String;
            invokeinterface io.vertx.ext.consul.ConsulClient.getValues:(Ljava/lang/String;)Lio/vertx/core/Future;
         1: .line 53
            aload 0 /* this */
            invokedynamic apply(Lio/vertx/config/consul/ConsulConfigStore;)Ljava/util/function/Function;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Ljava/lang/Object;
                  io/vertx/config/consul/ConsulConfigStore.lambda$0(Lio/vertx/ext/consul/KeyValueList;)Lio/vertx/core/buffer/Buffer; (7)
                  (Lio/vertx/ext/consul/KeyValueList;)Lio/vertx/core/buffer/Buffer;
            invokeinterface io.vertx.core.Future.map:(Ljava/util/function/Function;)Lio/vertx/core/Future;
         2: .line 52
            areturn
        end local 0 // io.vertx.config.consul.ConsulConfigStore this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lio/vertx/config/consul/ConsulConfigStore;
    Signature: ()Lio/vertx/core/Future<Lio/vertx/core/buffer/Buffer;>;

  public io.vertx.core.Future<java.lang.Void> close();
    descriptor: ()Lio/vertx/core/Future;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // io.vertx.config.consul.ConsulConfigStore this
         0: .line 58
            aload 0 /* this */
            getfield io.vertx.config.consul.ConsulConfigStore.client:Lio/vertx/ext/consul/ConsulClient;
            invokeinterface io.vertx.ext.consul.ConsulClient.close:()V
         1: .line 59
            aload 0 /* this */
            getfield io.vertx.config.consul.ConsulConfigStore.vertx:Lio/vertx/core/impl/VertxInternal;
            invokeinterface io.vertx.core.impl.VertxInternal.getOrCreateContext:()Lio/vertx/core/impl/ContextInternal;
            invokeinterface io.vertx.core.impl.ContextInternal.succeededFuture:()Lio/vertx/core/Future;
            areturn
        end local 0 // io.vertx.config.consul.ConsulConfigStore this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lio/vertx/config/consul/ConsulConfigStore;
    Signature: ()Lio/vertx/core/Future<Ljava/lang/Void;>;

  private static io.vertx.core.json.JsonObject getTree(io.vertx.ext.consul.KeyValueList, int, java.lang.String, boolean);
    descriptor: (Lio/vertx/ext/consul/KeyValueList;ILjava/lang/String;Z)Lio/vertx/core/json/JsonObject;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=12, args_size=4
        start local 0 // io.vertx.ext.consul.KeyValueList list
        start local 1 // int prefix
        start local 2 // java.lang.String delimiter
        start local 3 // boolean rawData
         0: .line 63
            new io.vertx.core.json.JsonObject
            dup
            invokespecial io.vertx.core.json.JsonObject.<init>:()V
            astore 4 /* tree */
        start local 4 // io.vertx.core.json.JsonObject tree
         1: .line 64
            aload 0 /* list */
            invokevirtual io.vertx.ext.consul.KeyValueList.getList:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 6
            goto 20
      StackMap locals: io.vertx.ext.consul.KeyValueList int java.lang.String int io.vertx.core.json.JsonObject top java.util.Iterator
      StackMap stack:
         2: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast io.vertx.ext.consul.KeyValue
            astore 5 /* keyValue */
        start local 5 // io.vertx.ext.consul.KeyValue keyValue
         3: .line 65
            aload 5 /* keyValue */
            invokevirtual io.vertx.ext.consul.KeyValue.getKey:()Ljava/lang/String;
            aload 2 /* delimiter */
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifeq 5
         4: .line 66
            goto 20
         5: .line 68
      StackMap locals: io.vertx.ext.consul.KeyValueList int java.lang.String int io.vertx.core.json.JsonObject io.vertx.ext.consul.KeyValue java.util.Iterator
      StackMap stack:
            aload 4 /* tree */
            astore 7 /* json */
        start local 7 // io.vertx.core.json.JsonObject json
         6: .line 69
            aload 5 /* keyValue */
            invokevirtual io.vertx.ext.consul.KeyValue.getKey:()Ljava/lang/String;
            iload 1 /* prefix */
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            aload 2 /* delimiter */
            invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
            astore 8 /* arr */
        start local 8 // java.lang.String[] arr
         7: .line 70
            iconst_0
            istore 9 /* i */
        start local 9 // int i
         8: goto 19
         9: .line 71
      StackMap locals: io.vertx.core.json.JsonObject java.lang.String[] int
      StackMap stack:
            aload 8 /* arr */
            iload 9 /* i */
            aaload
            astore 10 /* key */
        start local 10 // java.lang.String key
        10: .line 72
            iload 9 /* i */
            aload 8 /* arr */
            arraylength
            iconst_1
            isub
            if_icmpne 13
        11: .line 73
            aload 7 /* json */
            aload 10 /* key */
            aload 5 /* keyValue */
            invokevirtual io.vertx.ext.consul.KeyValue.getValue:()Ljava/lang/String;
            iload 3 /* rawData */
            invokestatic io.vertx.config.spi.utils.JsonObjectHelper.put:(Lio/vertx/core/json/JsonObject;Ljava/lang/String;Ljava/lang/String;Z)V
        12: .line 74
            goto 18
        13: .line 75
      StackMap locals: java.lang.String
      StackMap stack:
            aload 7 /* json */
            aload 10 /* key */
            invokevirtual io.vertx.core.json.JsonObject.getJsonObject:(Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
            astore 11 /* next */
        start local 11 // io.vertx.core.json.JsonObject next
        14: .line 76
            aload 11 /* next */
            ifnonnull 17
        15: .line 77
            new io.vertx.core.json.JsonObject
            dup
            invokespecial io.vertx.core.json.JsonObject.<init>:()V
            astore 11 /* next */
        16: .line 78
            aload 7 /* json */
            aload 10 /* key */
            aload 11 /* next */
            invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
            pop
        17: .line 80
      StackMap locals: io.vertx.core.json.JsonObject
      StackMap stack:
            aload 11 /* next */
            astore 7 /* json */
        end local 11 // io.vertx.core.json.JsonObject next
        end local 10 // java.lang.String key
        18: .line 70
      StackMap locals:
      StackMap stack:
            iinc 9 /* i */ 1
      StackMap locals:
      StackMap stack:
        19: iload 9 /* i */
            aload 8 /* arr */
            arraylength
            if_icmplt 9
        end local 9 // int i
        end local 8 // java.lang.String[] arr
        end local 7 // io.vertx.core.json.JsonObject json
        end local 5 // io.vertx.ext.consul.KeyValue keyValue
        20: .line 64
      StackMap locals: io.vertx.ext.consul.KeyValueList int java.lang.String int io.vertx.core.json.JsonObject top java.util.Iterator
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
        21: .line 84
            aload 4 /* tree */
            areturn
        end local 4 // io.vertx.core.json.JsonObject tree
        end local 3 // boolean rawData
        end local 2 // java.lang.String delimiter
        end local 1 // int prefix
        end local 0 // io.vertx.ext.consul.KeyValueList list
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   22     0       list  Lio/vertx/ext/consul/KeyValueList;
            0   22     1     prefix  I
            0   22     2  delimiter  Ljava/lang/String;
            0   22     3    rawData  Z
            1   22     4       tree  Lio/vertx/core/json/JsonObject;
            3   20     5   keyValue  Lio/vertx/ext/consul/KeyValue;
            6   20     7       json  Lio/vertx/core/json/JsonObject;
            7   20     8        arr  [Ljava/lang/String;
            8   20     9          i  I
           10   18    10        key  Ljava/lang/String;
           14   18    11       next  Lio/vertx/core/json/JsonObject;
    MethodParameters:
           Name  Flags
      list       
      prefix     
      delimiter  
      rawData    

  private static java.lang.String prefix(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.lang.String prefix
        start local 1 // java.lang.String delimiter
         0: .line 88
            aload 0 /* prefix */
            ifnull 1
            aload 0 /* prefix */
            invokevirtual java.lang.String.isEmpty:()Z
            ifeq 2
         1: .line 89
      StackMap locals:
      StackMap stack:
            ldc ""
            areturn
         2: .line 91
      StackMap locals:
      StackMap stack:
            aload 0 /* prefix */
            aload 1 /* delimiter */
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifeq 3
            aload 0 /* prefix */
            goto 4
      StackMap locals:
      StackMap stack:
         3: new java.lang.StringBuilder
            dup
            aload 0 /* prefix */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* delimiter */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
      StackMap locals:
      StackMap stack: java.lang.String
         4: areturn
        end local 1 // java.lang.String delimiter
        end local 0 // java.lang.String prefix
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    5     0     prefix  Ljava/lang/String;
            0    5     1  delimiter  Ljava/lang/String;
    MethodParameters:
           Name  Flags
      prefix     
      delimiter  

  private io.vertx.core.buffer.Buffer lambda$0(io.vertx.ext.consul.KeyValueList);
    descriptor: (Lio/vertx/ext/consul/KeyValueList;)Lio/vertx/core/buffer/Buffer;
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // io.vertx.config.consul.ConsulConfigStore this
        start local 1 // io.vertx.ext.consul.KeyValueList list
         0: .line 53
            aload 1 /* list */
            invokevirtual io.vertx.ext.consul.KeyValueList.isPresent:()Z
            ifeq 1
            aload 1 /* list */
            aload 0 /* this */
            getfield io.vertx.config.consul.ConsulConfigStore.prefix:Ljava/lang/String;
            invokevirtual java.lang.String.length:()I
            aload 0 /* this */
            getfield io.vertx.config.consul.ConsulConfigStore.delimiter:Ljava/lang/String;
            aload 0 /* this */
            getfield io.vertx.config.consul.ConsulConfigStore.rawData:Z
            invokestatic io.vertx.config.consul.ConsulConfigStore.getTree:(Lio/vertx/ext/consul/KeyValueList;ILjava/lang/String;Z)Lio/vertx/core/json/JsonObject;
            invokevirtual io.vertx.core.json.JsonObject.toBuffer:()Lio/vertx/core/buffer/Buffer;
            goto 2
      StackMap locals:
      StackMap stack:
         1: ldc "{}"
            invokestatic io.vertx.core.buffer.Buffer.buffer:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
      StackMap locals:
      StackMap stack: io.vertx.core.buffer.Buffer
         2: areturn
        end local 1 // io.vertx.ext.consul.KeyValueList list
        end local 0 // io.vertx.config.consul.ConsulConfigStore this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lio/vertx/config/consul/ConsulConfigStore;
            0    3     1  list  Lio/vertx/ext/consul/KeyValueList;
}
SourceFile: "ConsulConfigStore.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles