public class io.vertx.core.eventbus.AddressHelper
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.eventbus.AddressHelper
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/eventbus/AddressHelper;
public static java.lang.String defaultAddress();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=4, args_size=0
0: invokestatic java.net.NetworkInterface.getNetworkInterfaces:()Ljava/util/Enumeration;
astore 0
start local 0 1: goto 12
end local 0 StackMap locals:
StackMap stack: java.net.SocketException
2: pop
3: aconst_null
areturn
start local 0 4: StackMap locals: java.util.Enumeration
StackMap stack:
aload 0
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.net.NetworkInterface
astore 1
start local 1 5: aload 1
invokevirtual java.net.NetworkInterface.getInetAddresses:()Ljava/util/Enumeration;
astore 2
start local 2 6: goto 11
7: StackMap locals: java.net.NetworkInterface java.util.Enumeration
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.net.InetAddress
astore 3
start local 3 8: aload 3
invokevirtual java.net.InetAddress.isAnyLocalAddress:()Z
ifne 11
aload 3
invokevirtual java.net.InetAddress.isMulticastAddress:()Z
ifne 11
9: aload 3
instanceof java.net.Inet6Address
ifne 11
10: aload 3
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
areturn
end local 3 11: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 7
end local 2 end local 1 12: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 4
13: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 nets Ljava/util/Enumeration<Ljava/net/NetworkInterface;>;
4 14 0 nets Ljava/util/Enumeration<Ljava/net/NetworkInterface;>;
5 12 1 netinf Ljava/net/NetworkInterface;
6 12 2 addresses Ljava/util/Enumeration<Ljava/net/InetAddress;>;
8 11 3 address Ljava/net/InetAddress;
Exception table:
from to target type
0 1 2 Class java.net.SocketException
}
SourceFile: "AddressHelper.java"