public class examples.JDBCDataSourceExamples
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: examples.JDBCDataSourceExamples
  super_class: java.lang.Object
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // examples.JDBCDataSourceExamples this
         0: .line 29
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // examples.JDBCDataSourceExamples this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lexamples/JDBCDataSourceExamples;

  public void example1(io.vertx.servicediscovery.ServiceDiscovery);
    descriptor: (Lio/vertx/servicediscovery/ServiceDiscovery;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // examples.JDBCDataSourceExamples this
        start local 1 // io.vertx.servicediscovery.ServiceDiscovery discovery
         0: .line 33
            ldc "some-data-source-service"
         1: .line 34
            new io.vertx.core.json.JsonObject
            dup
            invokespecial io.vertx.core.json.JsonObject.<init>:()V
            ldc "url"
            ldc "some jdbc url"
            invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
         2: .line 35
            new io.vertx.core.json.JsonObject
            dup
            invokespecial io.vertx.core.json.JsonObject.<init>:()V
            ldc "some-metadata"
            ldc "some-value"
            invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
         3: .line 32
            invokestatic io.vertx.servicediscovery.types.JDBCDataSource.createRecord:(Ljava/lang/String;Lio/vertx/core/json/JsonObject;Lio/vertx/core/json/JsonObject;)Lio/vertx/servicediscovery/Record;
            astore 2 /* record */
        start local 2 // io.vertx.servicediscovery.Record record
         4: .line 38
            aload 1 /* discovery */
            aload 2 /* record */
            invokedynamic handle()Lio/vertx/core/Handler;
              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;)V
                  examples/JDBCDataSourceExamples.lambda$0(Lio/vertx/core/AsyncResult;)V (6)
                  (Lio/vertx/core/AsyncResult;)V
            invokeinterface io.vertx.servicediscovery.ServiceDiscovery.publish:(Lio/vertx/servicediscovery/Record;Lio/vertx/core/Handler;)V
         5: .line 41
            return
        end local 2 // io.vertx.servicediscovery.Record record
        end local 1 // io.vertx.servicediscovery.ServiceDiscovery discovery
        end local 0 // examples.JDBCDataSourceExamples this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    6     0       this  Lexamples/JDBCDataSourceExamples;
            0    6     1  discovery  Lio/vertx/servicediscovery/ServiceDiscovery;
            4    6     2     record  Lio/vertx/servicediscovery/Record;
    MethodParameters:
           Name  Flags
      discovery  

  public void example2(io.vertx.servicediscovery.ServiceDiscovery);
    descriptor: (Lio/vertx/servicediscovery/ServiceDiscovery;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // examples.JDBCDataSourceExamples this
        start local 1 // io.vertx.servicediscovery.ServiceDiscovery discovery
         0: .line 45
            aload 1 /* discovery */
         1: .line 46
            new io.vertx.core.json.JsonObject
            dup
            invokespecial io.vertx.core.json.JsonObject.<init>:()V
            ldc "name"
            ldc "some-data-source-service"
            invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
         2: .line 47
            aload 1 /* discovery */
            invokedynamic handle(Lio/vertx/servicediscovery/ServiceDiscovery;)Lio/vertx/core/Handler;
              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;)V
                  examples/JDBCDataSourceExamples.lambda$1(Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/AsyncResult;)V (6)
                  (Lio/vertx/core/AsyncResult;)V
         3: .line 45
            invokeinterface io.vertx.servicediscovery.ServiceDiscovery.getRecord:(Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)V
         4: .line 63
            return
        end local 1 // io.vertx.servicediscovery.ServiceDiscovery discovery
        end local 0 // examples.JDBCDataSourceExamples this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    5     0       this  Lexamples/JDBCDataSourceExamples;
            0    5     1  discovery  Lio/vertx/servicediscovery/ServiceDiscovery;
    MethodParameters:
           Name  Flags
      discovery  

  public void example3(io.vertx.servicediscovery.ServiceDiscovery);
    descriptor: (Lio/vertx/servicediscovery/ServiceDiscovery;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // examples.JDBCDataSourceExamples this
        start local 1 // io.vertx.servicediscovery.ServiceDiscovery discovery
         0: .line 66
            aload 1 /* discovery */
         1: .line 67
            new io.vertx.core.json.JsonObject
            dup
            invokespecial io.vertx.core.json.JsonObject.<init>:()V
            ldc "name"
            ldc "some-data-source-service"
            invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
         2: .line 68
            new io.vertx.core.json.JsonObject
            dup
            invokespecial io.vertx.core.json.JsonObject.<init>:()V
            ldc "username"
            ldc "clement"
            invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
            ldc "password"
            ldc "*****"
            invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
         3: .line 69
            aload 1 /* discovery */
            invokedynamic handle(Lio/vertx/servicediscovery/ServiceDiscovery;)Lio/vertx/core/Handler;
              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;)V
                  examples/JDBCDataSourceExamples.lambda$2(Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/AsyncResult;)V (6)
                  (Lio/vertx/core/AsyncResult;)V
         4: .line 66
            invokestatic io.vertx.servicediscovery.types.JDBCDataSource.getJDBCClient:(Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/json/JsonObject;Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)V
         5: .line 80
            return
        end local 1 // io.vertx.servicediscovery.ServiceDiscovery discovery
        end local 0 // examples.JDBCDataSourceExamples this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    6     0       this  Lexamples/JDBCDataSourceExamples;
            0    6     1  discovery  Lio/vertx/servicediscovery/ServiceDiscovery;
    MethodParameters:
           Name  Flags
      discovery  

  private static void lambda$0(io.vertx.core.AsyncResult);
    descriptor: (Lio/vertx/core/AsyncResult;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // io.vertx.core.AsyncResult ar
         0: .line 40
            return
        end local 0 // io.vertx.core.AsyncResult ar
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0    ar  Lio/vertx/core/AsyncResult<Lio/vertx/servicediscovery/Record;>;

  private static void lambda$1(io.vertx.servicediscovery.ServiceDiscovery, io.vertx.core.AsyncResult);
    descriptor: (Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/AsyncResult;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=5, locals=3, args_size=2
        start local 1 // io.vertx.core.AsyncResult ar
         0: .line 48
            aload 1 /* ar */
            invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
            ifeq 7
            aload 1 /* ar */
            invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
            ifnull 7
         1: .line 50
            aload 0
         2: .line 51
            aload 1 /* ar */
            invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
            checkcast io.vertx.servicediscovery.Record
         3: .line 52
            new io.vertx.core.json.JsonObject
            dup
            invokespecial io.vertx.core.json.JsonObject.<init>:()V
            ldc "username"
            ldc "clement"
            invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
            ldc "password"
            ldc "*****"
            invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
         4: .line 50
            invokeinterface io.vertx.servicediscovery.ServiceDiscovery.getReferenceWithConfiguration:(Lio/vertx/servicediscovery/Record;Lio/vertx/core/json/JsonObject;)Lio/vertx/servicediscovery/ServiceReference;
            astore 2 /* reference */
        start local 2 // io.vertx.servicediscovery.ServiceReference reference
         5: .line 55
            aload 2 /* reference */
            ldc Lio/vertx/ext/jdbc/JDBCClient;
            invokeinterface io.vertx.servicediscovery.ServiceReference.getAs:(Ljava/lang/Class;)Ljava/lang/Object;
            checkcast io.vertx.ext.jdbc.JDBCClient
            pop
         6: .line 60
            aload 2 /* reference */
            invokeinterface io.vertx.servicediscovery.ServiceReference.release:()V
        end local 2 // io.vertx.servicediscovery.ServiceReference reference
         7: .line 62
      StackMap locals:
      StackMap stack:
            return
        end local 1 // io.vertx.core.AsyncResult ar
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    8     1         ar  Lio/vertx/core/AsyncResult<Lio/vertx/servicediscovery/Record;>;
            5    7     2  reference  Lio/vertx/servicediscovery/ServiceReference;

  private static void lambda$2(io.vertx.servicediscovery.ServiceDiscovery, io.vertx.core.AsyncResult);
    descriptor: (Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/core/AsyncResult;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=3, args_size=2
        start local 1 // io.vertx.core.AsyncResult ar
         0: .line 70
            aload 1 /* ar */
            invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
            ifeq 3
         1: .line 71
            aload 1 /* ar */
            invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
            checkcast io.vertx.ext.jdbc.JDBCClient
            astore 2 /* client */
        start local 2 // io.vertx.ext.jdbc.JDBCClient client
         2: .line 76
            aload 0
            aload 2 /* client */
            invokestatic io.vertx.servicediscovery.ServiceDiscovery.releaseServiceObject:(Lio/vertx/servicediscovery/ServiceDiscovery;Ljava/lang/Object;)V
        end local 2 // io.vertx.ext.jdbc.JDBCClient client
         3: .line 79
      StackMap locals:
      StackMap stack:
            return
        end local 1 // io.vertx.core.AsyncResult ar
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     1      ar  Lio/vertx/core/AsyncResult<Lio/vertx/ext/jdbc/JDBCClient;>;
            2    3     2  client  Lio/vertx/ext/jdbc/JDBCClient;
}
SourceFile: "JDBCDataSourceExamples.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles