public class io.vertx.service.ServiceVerticleFactory implements io.vertx.core.spi.VerticleFactory
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: io.vertx.service.ServiceVerticleFactory
  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 // io.vertx.service.ServiceVerticleFactory this
         0: .line 40
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // io.vertx.service.ServiceVerticleFactory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/vertx/service/ServiceVerticleFactory;

  public boolean requiresResolve();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // io.vertx.service.ServiceVerticleFactory this
         0: .line 44
            iconst_1
            ireturn
        end local 0 // io.vertx.service.ServiceVerticleFactory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/vertx/service/ServiceVerticleFactory;

  public void resolve(java.lang.String, io.vertx.core.DeploymentOptions, java.lang.ClassLoader, io.vertx.core.Promise<java.lang.String>);
    descriptor: (Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Ljava/lang/ClassLoader;Lio/vertx/core/Promise;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=15, args_size=5
        start local 0 // io.vertx.service.ServiceVerticleFactory this
        start local 1 // java.lang.String identifier
        start local 2 // io.vertx.core.DeploymentOptions deploymentOptions
        start local 3 // java.lang.ClassLoader classLoader
        start local 4 // io.vertx.core.Promise resolution
         0: .line 49
            aload 1 /* identifier */
            invokestatic io.vertx.core.spi.VerticleFactory.removePrefix:(Ljava/lang/String;)Ljava/lang/String;
            astore 1 /* identifier */
         1: .line 50
            new java.lang.StringBuilder
            dup
            aload 1 /* identifier */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc ".json"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 5 /* descriptorFile */
        start local 5 // java.lang.String descriptorFile
         2: .line 54
            aconst_null
            astore 8
            aconst_null
            astore 9
         3: aload 3 /* classLoader */
            aload 5 /* descriptorFile */
            invokevirtual java.lang.ClassLoader.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
            astore 10 /* is */
        start local 10 // java.io.InputStream is
         4: .line 55
            aload 10 /* is */
            ifnonnull 6
         5: .line 56
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Cannot find service descriptor file "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 5 /* descriptorFile */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " on classpath"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 58
      StackMap locals: io.vertx.service.ServiceVerticleFactory java.lang.String io.vertx.core.DeploymentOptions java.lang.ClassLoader io.vertx.core.Promise java.lang.String top top java.lang.Throwable java.lang.Throwable java.io.InputStream
      StackMap stack:
            aconst_null
            astore 11
            aconst_null
            astore 12
         7: new java.util.Scanner
            dup
            aload 10 /* is */
            ldc "UTF-8"
            invokespecial java.util.Scanner.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
            ldc "\\A"
            invokevirtual java.util.Scanner.useDelimiter:(Ljava/lang/String;)Ljava/util/Scanner;
            astore 13 /* scanner */
        start local 13 // java.util.Scanner scanner
         8: .line 59
            aload 13 /* scanner */
            invokevirtual java.util.Scanner.next:()Ljava/lang/String;
            astore 14 /* conf */
        start local 14 // java.lang.String conf
         9: .line 60
            new io.vertx.core.json.JsonObject
            dup
            aload 14 /* conf */
            invokespecial io.vertx.core.json.JsonObject.<init>:(Ljava/lang/String;)V
            astore 6 /* descriptor */
        end local 14 // java.lang.String conf
        start local 6 // io.vertx.core.json.JsonObject descriptor
        10: .line 61
            aload 13 /* scanner */
            ifnull 20
            aload 13 /* scanner */
            invokevirtual java.util.Scanner.close:()V
            goto 20
        end local 6 // io.vertx.core.json.JsonObject descriptor
      StackMap locals: io.vertx.service.ServiceVerticleFactory java.lang.String io.vertx.core.DeploymentOptions java.lang.ClassLoader io.vertx.core.Promise java.lang.String top top java.lang.Throwable java.lang.Throwable java.io.InputStream java.lang.Throwable java.lang.Throwable java.util.Scanner
      StackMap stack: java.lang.Throwable
        11: astore 11
            aload 13 /* scanner */
            ifnull 12
            aload 13 /* scanner */
            invokevirtual java.util.Scanner.close:()V
        end local 13 // java.util.Scanner scanner
      StackMap locals:
      StackMap stack:
        12: aload 11
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        13: astore 12
            aload 11
            ifnonnull 14
            aload 12
            astore 11
            goto 15
      StackMap locals:
      StackMap stack:
        14: aload 11
            aload 12
            if_acmpeq 15
            aload 11
            aload 12
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        15: aload 11
            athrow
      StackMap locals: io.vertx.service.ServiceVerticleFactory java.lang.String io.vertx.core.DeploymentOptions java.lang.ClassLoader io.vertx.core.Promise java.lang.String top top java.lang.Throwable java.lang.Throwable java.io.InputStream
      StackMap stack: java.util.NoSuchElementException
        16: pop
        17: .line 62
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            aload 5 /* descriptorFile */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " is empty"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        18: .line 63
      StackMap locals:
      StackMap stack: io.vertx.core.json.DecodeException
            pop
        19: .line 64
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            aload 5 /* descriptorFile */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " contains invalid json"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        start local 6 // io.vertx.core.json.JsonObject descriptor
        20: .line 66
      StackMap locals: io.vertx.service.ServiceVerticleFactory java.lang.String io.vertx.core.DeploymentOptions java.lang.ClassLoader io.vertx.core.Promise java.lang.String io.vertx.core.json.JsonObject top java.lang.Throwable java.lang.Throwable java.io.InputStream
      StackMap stack:
            aload 10 /* is */
            ifnull 26
            aload 10 /* is */
            invokevirtual java.io.InputStream.close:()V
            goto 26
        end local 6 // io.vertx.core.json.JsonObject descriptor
      StackMap locals: io.vertx.service.ServiceVerticleFactory java.lang.String io.vertx.core.DeploymentOptions java.lang.ClassLoader io.vertx.core.Promise java.lang.String top top java.lang.Throwable java.lang.Throwable java.io.InputStream
      StackMap stack: java.lang.Throwable
        21: astore 8
            aload 10 /* is */
            ifnull 22
            aload 10 /* is */
            invokevirtual java.io.InputStream.close:()V
        end local 10 // java.io.InputStream is
      StackMap locals:
      StackMap stack:
        22: aload 8
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        23: astore 9
            aload 8
            ifnonnull 24
            aload 9
            astore 8
            goto 25
      StackMap locals:
      StackMap stack:
        24: aload 8
            aload 9
            if_acmpeq 25
            aload 8
            aload 9
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        25: aload 8
            athrow
        start local 6 // io.vertx.core.json.JsonObject descriptor
        26: .line 67
      StackMap locals: io.vertx.service.ServiceVerticleFactory java.lang.String io.vertx.core.DeploymentOptions java.lang.ClassLoader io.vertx.core.Promise java.lang.String io.vertx.core.json.JsonObject
      StackMap stack:
            aload 6 /* descriptor */
            ldc "main"
            invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
            astore 7 /* main */
        start local 7 // java.lang.String main
        27: .line 68
            aload 7 /* main */
            ifnonnull 29
        28: .line 69
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            aload 5 /* descriptorFile */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " does not contain a main field"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        29: .line 74
      StackMap locals: java.lang.String
      StackMap stack:
            aload 2 /* deploymentOptions */
            invokevirtual io.vertx.core.DeploymentOptions.toJson:()Lio/vertx/core/json/JsonObject;
            astore 8 /* depOptions */
        start local 8 // io.vertx.core.json.JsonObject depOptions
        30: .line 75
            aload 8 /* depOptions */
            ldc "config"
            new io.vertx.core.json.JsonObject
            dup
            invokespecial io.vertx.core.json.JsonObject.<init>:()V
            invokevirtual io.vertx.core.json.JsonObject.getJsonObject:(Ljava/lang/String;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/json/JsonObject;
            astore 9 /* depConfig */
        start local 9 // io.vertx.core.json.JsonObject depConfig
        31: .line 76
            aload 6 /* descriptor */
            ldc "options"
            new io.vertx.core.json.JsonObject
            dup
            invokespecial io.vertx.core.json.JsonObject.<init>:()V
            invokevirtual io.vertx.core.json.JsonObject.getJsonObject:(Ljava/lang/String;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/json/JsonObject;
            astore 10 /* serviceOptions */
        start local 10 // io.vertx.core.json.JsonObject serviceOptions
        32: .line 77
            aload 10 /* serviceOptions */
            ldc "config"
            new io.vertx.core.json.JsonObject
            dup
            invokespecial io.vertx.core.json.JsonObject.<init>:()V
            invokevirtual io.vertx.core.json.JsonObject.getJsonObject:(Ljava/lang/String;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/json/JsonObject;
            astore 11 /* serviceConfig */
        start local 11 // io.vertx.core.json.JsonObject serviceConfig
        33: .line 78
            aload 8 /* depOptions */
            aload 10 /* serviceOptions */
            invokevirtual io.vertx.core.json.JsonObject.mergeIn:(Lio/vertx/core/json/JsonObject;)Lio/vertx/core/json/JsonObject;
            pop
        34: .line 79
            aload 11 /* serviceConfig */
            aload 9 /* depConfig */
            invokevirtual io.vertx.core.json.JsonObject.mergeIn:(Lio/vertx/core/json/JsonObject;)Lio/vertx/core/json/JsonObject;
            pop
        35: .line 80
            aload 8 /* depOptions */
            ldc "config"
            aload 11 /* serviceConfig */
            invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/json/JsonObject;
            pop
        36: .line 81
            aload 2 /* deploymentOptions */
            aload 8 /* depOptions */
            invokevirtual io.vertx.core.DeploymentOptions.fromJson:(Lio/vertx/core/json/JsonObject;)V
        37: .line 82
            aload 4 /* resolution */
            aload 7 /* main */
            invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
        end local 11 // io.vertx.core.json.JsonObject serviceConfig
        end local 10 // io.vertx.core.json.JsonObject serviceOptions
        end local 9 // io.vertx.core.json.JsonObject depConfig
        end local 8 // io.vertx.core.json.JsonObject depOptions
        end local 7 // java.lang.String main
        end local 6 // io.vertx.core.json.JsonObject descriptor
        38: .line 83
            goto 41
      StackMap locals: io.vertx.service.ServiceVerticleFactory java.lang.String io.vertx.core.DeploymentOptions java.lang.ClassLoader io.vertx.core.Promise java.lang.String
      StackMap stack: java.lang.Exception
        39: astore 6 /* e */
        start local 6 // java.lang.Exception e
        40: .line 84
            aload 4 /* resolution */
            aload 6 /* e */
            invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
        end local 6 // java.lang.Exception e
        41: .line 86
      StackMap locals:
      StackMap stack:
            return
        end local 5 // java.lang.String descriptorFile
        end local 4 // io.vertx.core.Promise resolution
        end local 3 // java.lang.ClassLoader classLoader
        end local 2 // io.vertx.core.DeploymentOptions deploymentOptions
        end local 1 // java.lang.String identifier
        end local 0 // io.vertx.service.ServiceVerticleFactory this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   42     0               this  Lio/vertx/service/ServiceVerticleFactory;
            0   42     1         identifier  Ljava/lang/String;
            0   42     2  deploymentOptions  Lio/vertx/core/DeploymentOptions;
            0   42     3        classLoader  Ljava/lang/ClassLoader;
            0   42     4         resolution  Lio/vertx/core/Promise<Ljava/lang/String;>;
            2   42     5     descriptorFile  Ljava/lang/String;
           10   11     6         descriptor  Lio/vertx/core/json/JsonObject;
           20   21     6         descriptor  Lio/vertx/core/json/JsonObject;
           26   38     6         descriptor  Lio/vertx/core/json/JsonObject;
           27   38     7               main  Ljava/lang/String;
            4   22    10                 is  Ljava/io/InputStream;
            8   12    13            scanner  Ljava/util/Scanner;
            9   10    14               conf  Ljava/lang/String;
           30   38     8         depOptions  Lio/vertx/core/json/JsonObject;
           31   38     9          depConfig  Lio/vertx/core/json/JsonObject;
           32   38    10     serviceOptions  Lio/vertx/core/json/JsonObject;
           33   38    11      serviceConfig  Lio/vertx/core/json/JsonObject;
           40   41     6                  e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           8    10      11  any
           7    13      13  any
           6    16      16  Class java.util.NoSuchElementException
           6    16      18  Class io.vertx.core.json.DecodeException
           4    20      21  any
           3    23      23  any
           2    38      39  Class java.lang.Exception
    Signature: (Ljava/lang/String;Lio/vertx/core/DeploymentOptions;Ljava/lang/ClassLoader;Lio/vertx/core/Promise<Ljava/lang/String;>;)V
    MethodParameters:
                   Name  Flags
      identifier         
      deploymentOptions  
      classLoader        
      resolution         

  public java.lang.String prefix();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // io.vertx.service.ServiceVerticleFactory this
         0: .line 90
            ldc "service"
            areturn
        end local 0 // io.vertx.service.ServiceVerticleFactory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/vertx/service/ServiceVerticleFactory;

  public io.vertx.core.Verticle createVerticle(java.lang.String, java.lang.ClassLoader);
    descriptor: (Ljava/lang/String;Ljava/lang/ClassLoader;)Lio/vertx/core/Verticle;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // io.vertx.service.ServiceVerticleFactory this
        start local 1 // java.lang.String verticleName
        start local 2 // java.lang.ClassLoader classLoader
         0: .line 95
            new java.lang.IllegalStateException
            dup
            ldc "Shouldn't be called"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
        end local 2 // java.lang.ClassLoader classLoader
        end local 1 // java.lang.String verticleName
        end local 0 // io.vertx.service.ServiceVerticleFactory this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    1     0          this  Lio/vertx/service/ServiceVerticleFactory;
            0    1     1  verticleName  Ljava/lang/String;
            0    1     2   classLoader  Ljava/lang/ClassLoader;
    Exceptions:
      throws java.lang.Exception
    MethodParameters:
              Name  Flags
      verticleName  
      classLoader   
}
SourceFile: "ServiceVerticleFactory.java"