public class io.vertx.core.impl.AddressResolver
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: io.vertx.core.impl.AddressResolver
  super_class: java.lang.Object
{
  private static final io.vertx.core.logging.Logger log;
    descriptor: Lio/vertx/core/logging/Logger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.util.regex.Pattern NDOTS_OPTIONS_PATTERN;
    descriptor: Ljava/util/regex/Pattern;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.util.regex.Pattern ROTATE_OPTIONS_PATTERN;
    descriptor: Ljava/util/regex/Pattern;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  public static final int DEFAULT_NDOTS_RESOLV_OPTION;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  public static final boolean DEFAULT_ROTATE_RESOLV_OPTION;
    descriptor: Z
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  private final io.vertx.core.Vertx vertx;
    descriptor: Lio/vertx/core/Vertx;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final io.netty.resolver.AddressResolverGroup<java.net.InetSocketAddress> resolverGroup;
    descriptor: Lio/netty/resolver/AddressResolverGroup;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Lio/netty/resolver/AddressResolverGroup<Ljava/net/InetSocketAddress;>;

  private final io.vertx.core.spi.resolver.ResolverProvider provider;
    descriptor: Lio/vertx/core/spi/resolver/ResolverProvider;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=5, args_size=0
         0: .line 37
            ldc Lio/vertx/core/impl/AddressResolver;
            invokestatic io.vertx.core.logging.LoggerFactory.getLogger:(Ljava/lang/Class;)Lio/vertx/core/logging/Logger;
            putstatic io.vertx.core.impl.AddressResolver.log:Lio/vertx/core/logging/Logger;
         1: .line 43
            ldc "ndots:[ \\t\\f]*(\\d)+"
            invokestatic io.vertx.core.impl.AddressResolver.resolvOption:(Ljava/lang/String;)Ljava/util/regex/Pattern;
            putstatic io.vertx.core.impl.AddressResolver.NDOTS_OPTIONS_PATTERN:Ljava/util/regex/Pattern;
         2: .line 44
            ldc "rotate"
            invokestatic io.vertx.core.impl.AddressResolver.resolvOption:(Ljava/lang/String;)Ljava/util/regex/Pattern;
            putstatic io.vertx.core.impl.AddressResolver.ROTATE_OPTIONS_PATTERN:Ljava/util/regex/Pattern;
         3: .line 49
            iconst_1
            istore 0 /* ndots */
        start local 0 // int ndots
         4: .line 50
            iconst_0
            istore 1 /* rotate */
        start local 1 // boolean rotate
         5: .line 51
            invokestatic io.vertx.core.impl.launcher.commands.ExecUtils.isLinux:()Z
            ifeq 16
         6: .line 52
            new java.io.File
            dup
            ldc "/etc/resolv.conf"
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            astore 2 /* f */
        start local 2 // java.io.File f
         7: .line 54
            aload 2 /* f */
            invokevirtual java.io.File.exists:()Z
            ifeq 16
            aload 2 /* f */
            invokevirtual java.io.File.isFile:()Z
            ifeq 16
         8: .line 55
            new java.lang.String
            dup
            aload 2 /* f */
            invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
            invokestatic java.nio.file.Files.readAllBytes:(Ljava/nio/file/Path;)[B
            invokespecial java.lang.String.<init>:([B)V
            astore 3 /* conf */
        start local 3 // java.lang.String conf
         9: .line 56
            aload 3 /* conf */
            invokestatic io.vertx.core.impl.AddressResolver.parseNdotsOptionFromResolvConf:(Ljava/lang/String;)I
            istore 4 /* ndotsOption */
        start local 4 // int ndotsOption
        10: .line 57
            iload 4 /* ndotsOption */
            iconst_m1
            if_icmpeq 12
        11: .line 58
            iload 4 /* ndotsOption */
            istore 0 /* ndots */
        12: .line 60
      StackMap locals: int int java.io.File java.lang.String int
      StackMap stack:
            aload 3 /* conf */
            invokestatic io.vertx.core.impl.AddressResolver.parseRotateOptionFromResolvConf:(Ljava/lang/String;)Z
            istore 1 /* rotate */
        end local 4 // int ndotsOption
        end local 3 // java.lang.String conf
        13: .line 62
            goto 16
      StackMap locals: int int java.io.File
      StackMap stack: java.lang.Throwable
        14: astore 3 /* t */
        start local 3 // java.lang.Throwable t
        15: .line 63
            getstatic io.vertx.core.impl.AddressResolver.log:Lio/vertx/core/logging/Logger;
            ldc "Failed to load options from /etc/resolv/.conf"
            aload 3 /* t */
            invokevirtual io.vertx.core.logging.Logger.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
        end local 3 // java.lang.Throwable t
        end local 2 // java.io.File f
        16: .line 66
      StackMap locals:
      StackMap stack:
            iload 0 /* ndots */
            putstatic io.vertx.core.impl.AddressResolver.DEFAULT_NDOTS_RESOLV_OPTION:I
        17: .line 67
            iload 1 /* rotate */
            putstatic io.vertx.core.impl.AddressResolver.DEFAULT_ROTATE_RESOLV_OPTION:Z
        end local 1 // boolean rotate
        end local 0 // int ndots
        18: .line 68
            return
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            4   18     0        ndots  I
            5   18     1       rotate  Z
            7   16     2            f  Ljava/io/File;
            9   13     3         conf  Ljava/lang/String;
           10   13     4  ndotsOption  I
           15   16     3            t  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           7    13      14  Class java.lang.Throwable

  private static java.util.regex.Pattern resolvOption(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/util/regex/Pattern;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.lang.String regex
         0: .line 40
            new java.lang.StringBuilder
            dup
            ldc "^[ \\t\\f]*options[^\n]+"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* regex */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "(?=$|\\s)"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            bipush 8
            invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;I)Ljava/util/regex/Pattern;
            areturn
        end local 0 // java.lang.String regex
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0  regex  Ljava/lang/String;
    MethodParameters:
       Name  Flags
      regex  

  public void <init>(io.vertx.core.Vertx, io.vertx.core.dns.AddressResolverOptions);
    descriptor: (Lio/vertx/core/Vertx;Lio/vertx/core/dns/AddressResolverOptions;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // io.vertx.core.impl.AddressResolver this
        start local 1 // io.vertx.core.Vertx vertx
        start local 2 // io.vertx.core.dns.AddressResolverOptions options
         0: .line 74
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 75
            aload 0 /* this */
            aload 1 /* vertx */
            aload 2 /* options */
            invokestatic io.vertx.core.spi.resolver.ResolverProvider.factory:(Lio/vertx/core/Vertx;Lio/vertx/core/dns/AddressResolverOptions;)Lio/vertx/core/spi/resolver/ResolverProvider;
            putfield io.vertx.core.impl.AddressResolver.provider:Lio/vertx/core/spi/resolver/ResolverProvider;
         2: .line 76
            aload 0 /* this */
            aload 0 /* this */
            getfield io.vertx.core.impl.AddressResolver.provider:Lio/vertx/core/spi/resolver/ResolverProvider;
            aload 2 /* options */
            invokeinterface io.vertx.core.spi.resolver.ResolverProvider.resolver:(Lio/vertx/core/dns/AddressResolverOptions;)Lio/netty/resolver/AddressResolverGroup;
            putfield io.vertx.core.impl.AddressResolver.resolverGroup:Lio/netty/resolver/AddressResolverGroup;
         3: .line 77
            aload 0 /* this */
            aload 1 /* vertx */
            putfield io.vertx.core.impl.AddressResolver.vertx:Lio/vertx/core/Vertx;
         4: .line 78
            return
        end local 2 // io.vertx.core.dns.AddressResolverOptions options
        end local 1 // io.vertx.core.Vertx vertx
        end local 0 // io.vertx.core.impl.AddressResolver this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0     this  Lio/vertx/core/impl/AddressResolver;
            0    5     1    vertx  Lio/vertx/core/Vertx;
            0    5     2  options  Lio/vertx/core/dns/AddressResolverOptions;
    MethodParameters:
         Name  Flags
      vertx    
      options  

  public void resolveHostname(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.net.InetAddress>>);
    descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=6, args_size=3
        start local 0 // io.vertx.core.impl.AddressResolver this
        start local 1 // java.lang.String hostname
        start local 2 // io.vertx.core.Handler resultHandler
         0: .line 81
            aload 0 /* this */
            getfield io.vertx.core.impl.AddressResolver.vertx:Lio/vertx/core/Vertx;
            invokeinterface io.vertx.core.Vertx.getOrCreateContext:()Lio/vertx/core/Context;
            checkcast io.vertx.core.impl.ContextInternal
            astore 3 /* callback */
        start local 3 // io.vertx.core.impl.ContextInternal callback
         1: .line 82
            aload 0 /* this */
            getfield io.vertx.core.impl.AddressResolver.resolverGroup:Lio/netty/resolver/AddressResolverGroup;
            aload 3 /* callback */
            invokeinterface io.vertx.core.impl.ContextInternal.nettyEventLoop:()Lio/netty/channel/EventLoop;
            invokevirtual io.netty.resolver.AddressResolverGroup.getResolver:(Lio/netty/util/concurrent/EventExecutor;)Lio/netty/resolver/AddressResolver;
            astore 4 /* resolver */
        start local 4 // io.netty.resolver.AddressResolver resolver
         2: .line 83
            aload 4 /* resolver */
            aload 1 /* hostname */
            iconst_0
            invokestatic java.net.InetSocketAddress.createUnresolved:(Ljava/lang/String;I)Ljava/net/InetSocketAddress;
            invokeinterface io.netty.resolver.AddressResolver.resolve:(Ljava/net/SocketAddress;)Lio/netty/util/concurrent/Future;
            astore 5 /* fut */
        start local 5 // io.netty.util.concurrent.Future fut
         3: .line 84
            aload 5 /* fut */
            aload 3 /* callback */
            aload 5 /* fut */
            aload 2 /* resultHandler */
            invokedynamic operationComplete(Lio/vertx/core/impl/ContextInternal;Lio/netty/util/concurrent/Future;Lio/vertx/core/Handler;)Lio/netty/util/concurrent/GenericFutureListener;
              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:
                  (Lio/netty/util/concurrent/Future;)V
                  io/vertx/core/impl/AddressResolver.lambda$0(Lio/vertx/core/impl/ContextInternal;Lio/netty/util/concurrent/Future;Lio/vertx/core/Handler;Lio/netty/util/concurrent/Future;)V (6)
                  (Lio/netty/util/concurrent/Future;)V
            invokeinterface io.netty.util.concurrent.Future.addListener:(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/util/concurrent/Future;
            pop
         4: .line 94
            return
        end local 5 // io.netty.util.concurrent.Future fut
        end local 4 // io.netty.resolver.AddressResolver resolver
        end local 3 // io.vertx.core.impl.ContextInternal callback
        end local 2 // io.vertx.core.Handler resultHandler
        end local 1 // java.lang.String hostname
        end local 0 // io.vertx.core.impl.AddressResolver this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    5     0           this  Lio/vertx/core/impl/AddressResolver;
            0    5     1       hostname  Ljava/lang/String;
            0    5     2  resultHandler  Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/net/InetAddress;>;>;
            1    5     3       callback  Lio/vertx/core/impl/ContextInternal;
            2    5     4       resolver  Lio/netty/resolver/AddressResolver<Ljava/net/InetSocketAddress;>;
            3    5     5            fut  Lio/netty/util/concurrent/Future<Ljava/net/InetSocketAddress;>;
    Signature: (Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/net/InetAddress;>;>;)V
    MethodParameters:
               Name  Flags
      hostname       
      resultHandler  

  io.netty.resolver.AddressResolverGroup<java.net.InetSocketAddress> nettyAddressResolverGroup();
    descriptor: ()Lio/netty/resolver/AddressResolverGroup;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // io.vertx.core.impl.AddressResolver this
         0: .line 97
            aload 0 /* this */
            getfield io.vertx.core.impl.AddressResolver.resolverGroup:Lio/netty/resolver/AddressResolverGroup;
            areturn
        end local 0 // io.vertx.core.impl.AddressResolver this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/vertx/core/impl/AddressResolver;
    Signature: ()Lio/netty/resolver/AddressResolverGroup<Ljava/net/InetSocketAddress;>;

  public void close(io.vertx.core.Handler<java.lang.Void>);
    descriptor: (Lio/vertx/core/Handler;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.vertx.core.impl.AddressResolver this
        start local 1 // io.vertx.core.Handler doneHandler
         0: .line 101
            aload 0 /* this */
            getfield io.vertx.core.impl.AddressResolver.provider:Lio/vertx/core/spi/resolver/ResolverProvider;
            aload 1 /* doneHandler */
            invokeinterface io.vertx.core.spi.resolver.ResolverProvider.close:(Lio/vertx/core/Handler;)V
         1: .line 102
            return
        end local 1 // io.vertx.core.Handler doneHandler
        end local 0 // io.vertx.core.impl.AddressResolver this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    2     0         this  Lio/vertx/core/impl/AddressResolver;
            0    2     1  doneHandler  Lio/vertx/core/Handler<Ljava/lang/Void;>;
    Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)V
    MethodParameters:
             Name  Flags
      doneHandler  

  public static int parseNdotsOptionFromResolvConf(java.lang.String);
    descriptor: (Ljava/lang/String;)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // java.lang.String s
         0: .line 105
            iconst_m1
            istore 1 /* ndots */
        start local 1 // int ndots
         1: .line 106
            getstatic io.vertx.core.impl.AddressResolver.NDOTS_OPTIONS_PATTERN:Ljava/util/regex/Pattern;
            aload 0 /* s */
            invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
            astore 2 /* matcher */
        start local 2 // java.util.regex.Matcher matcher
         2: .line 107
            goto 4
         3: .line 108
      StackMap locals: int java.util.regex.Matcher
      StackMap stack:
            aload 2 /* matcher */
            iconst_1
            invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
            invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
            istore 1 /* ndots */
         4: .line 107
      StackMap locals:
      StackMap stack:
            aload 2 /* matcher */
            invokevirtual java.util.regex.Matcher.find:()Z
            ifne 3
         5: .line 110
            iload 1 /* ndots */
            ireturn
        end local 2 // java.util.regex.Matcher matcher
        end local 1 // int ndots
        end local 0 // java.lang.String s
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    6     0        s  Ljava/lang/String;
            1    6     1    ndots  I
            2    6     2  matcher  Ljava/util/regex/Matcher;
    MethodParameters:
      Name  Flags
      s     

  public static boolean parseRotateOptionFromResolvConf(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // java.lang.String s
         0: .line 114
            getstatic io.vertx.core.impl.AddressResolver.ROTATE_OPTIONS_PATTERN:Ljava/util/regex/Pattern;
            aload 0 /* s */
            invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
            astore 1 /* matcher */
        start local 1 // java.util.regex.Matcher matcher
         1: .line 115
            aload 1 /* matcher */
            invokevirtual java.util.regex.Matcher.find:()Z
            ireturn
        end local 1 // java.util.regex.Matcher matcher
        end local 0 // java.lang.String s
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0        s  Ljava/lang/String;
            1    2     1  matcher  Ljava/util/regex/Matcher;
    MethodParameters:
      Name  Flags
      s     

  private static void lambda$0(io.vertx.core.impl.ContextInternal, io.netty.util.concurrent.Future, io.vertx.core.Handler, io.netty.util.concurrent.Future);
    descriptor: (Lio/vertx/core/impl/ContextInternal;Lio/netty/util/concurrent/Future;Lio/vertx/core/Handler;Lio/netty/util/concurrent/Future;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=4, locals=4, args_size=4
        start local 3 // io.netty.util.concurrent.Future a
         0: .line 85
            aload 0
            aload 3 /* a */
            aload 1
            aload 2
            invokedynamic handle(Lio/netty/util/concurrent/Future;Lio/netty/util/concurrent/Future;Lio/vertx/core/Handler;)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
                  io/vertx/core/impl/AddressResolver.lambda$1(Lio/netty/util/concurrent/Future;Lio/netty/util/concurrent/Future;Lio/vertx/core/Handler;Ljava/lang/Void;)V (6)
                  (Ljava/lang/Void;)V
            invokeinterface io.vertx.core.impl.ContextInternal.runOnContext:(Lio/vertx/core/Handler;)V
         1: .line 93
            return
        end local 3 // io.netty.util.concurrent.Future a
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     3     a  Lio/netty/util/concurrent/Future<-Ljava/net/InetSocketAddress;>;
    Exceptions:
      throws java.lang.Exception

  private static void lambda$1(io.netty.util.concurrent.Future, io.netty.util.concurrent.Future, io.vertx.core.Handler, java.lang.Void);
    descriptor: (Lio/netty/util/concurrent/Future;Lio/netty/util/concurrent/Future;Lio/vertx/core/Handler;Ljava/lang/Void;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=5, args_size=4
        start local 3 // java.lang.Void v
         0: .line 86
            aload 0
            invokeinterface io.netty.util.concurrent.Future.isSuccess:()Z
            ifeq 4
         1: .line 87
            aload 1
            invokeinterface io.netty.util.concurrent.Future.getNow:()Ljava/lang/Object;
            checkcast java.net.InetSocketAddress
            astore 4 /* address */
        start local 4 // java.net.InetSocketAddress address
         2: .line 88
            aload 2
            aload 4 /* address */
            invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
            invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
            invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
        end local 4 // java.net.InetSocketAddress address
         3: .line 89
            goto 5
         4: .line 90
      StackMap locals:
      StackMap stack:
            aload 2
            aload 0
            invokeinterface io.netty.util.concurrent.Future.cause:()Ljava/lang/Throwable;
            invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
            invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
         5: .line 92
      StackMap locals:
      StackMap stack:
            return
        end local 3 // java.lang.Void v
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    6     3        v  Ljava/lang/Void;
            2    3     4  address  Ljava/net/InetSocketAddress;
}
SourceFile: "AddressResolver.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles