public class io.vertx.core.net.impl.SocketAddressImpl implements io.vertx.core.net.SocketAddress
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.net.impl.SocketAddressImpl
super_class: java.lang.Object
{
private final java.lang.String host;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String hostName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.net.InetAddress ipAddress;
descriptor: Ljava/net/InetAddress;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int port;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String path;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.net.InetSocketAddress);
descriptor: (Ljava/net/InetSocketAddress;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokevirtual java.net.InetSocketAddress.getPort:()I
iconst_0
ldc 65535
ldc "port p must be in range 0 <= p <= 65535"
invokestatic io.vertx.core.impl.Arguments.requireInRange:(IIILjava/lang/String;)V
2: aload 0
aconst_null
putfield io.vertx.core.net.impl.SocketAddressImpl.path:Ljava/lang/String;
3: aload 0
aload 1
invokevirtual java.net.InetSocketAddress.getPort:()I
putfield io.vertx.core.net.impl.SocketAddressImpl.port:I
4: aload 0
aload 1
invokevirtual java.net.InetSocketAddress.getHostString:()Ljava/lang/String;
putfield io.vertx.core.net.impl.SocketAddressImpl.host:Ljava/lang/String;
5: aload 1
invokevirtual java.net.InetSocketAddress.isUnresolved:()Z
ifeq 9
6: aload 0
aload 1
invokevirtual java.net.InetSocketAddress.getHostName:()Ljava/lang/String;
putfield io.vertx.core.net.impl.SocketAddressImpl.hostName:Ljava/lang/String;
7: aload 0
aconst_null
putfield io.vertx.core.net.impl.SocketAddressImpl.ipAddress:Ljava/net/InetAddress;
8: goto 14
9: StackMap locals: io.vertx.core.net.impl.SocketAddressImpl java.net.InetSocketAddress
StackMap stack:
aload 1
invokevirtual java.net.InetSocketAddress.getHostString:()Ljava/lang/String;
astore 2
start local 2 10: aload 2
invokestatic io.netty.util.NetUtil.isValidIpV4Address:(Ljava/lang/String;)Z
ifne 11
aload 2
invokestatic io.netty.util.NetUtil.isValidIpV6Address:(Ljava/lang/String;)Z
ifeq 12
11: StackMap locals: java.lang.String
StackMap stack:
aconst_null
astore 2
12: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield io.vertx.core.net.impl.SocketAddressImpl.hostName:Ljava/lang/String;
13: aload 0
aload 1
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
putfield io.vertx.core.net.impl.SocketAddressImpl.ipAddress:Ljava/net/InetAddress;
end local 2 14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lio/vertx/core/net/impl/SocketAddressImpl;
0 15 1 address Ljava/net/InetSocketAddress;
10 14 2 host Ljava/lang/String;
MethodParameters:
Name Flags
address
public void <init>(int, java.lang.String);
descriptor: (ILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: iload 1
iconst_0
ldc 65535
ldc "port p must be in range 0 <= p <= 65535"
invokestatic io.vertx.core.impl.Arguments.requireInRange:(IIILjava/lang/String;)V
2: aload 0
aconst_null
putfield io.vertx.core.net.impl.SocketAddressImpl.path:Ljava/lang/String;
3: aload 0
iload 1
putfield io.vertx.core.net.impl.SocketAddressImpl.port:I
4: aload 2
invokestatic io.netty.util.NetUtil.isValidIpV4Address:(Ljava/lang/String;)Z
ifeq 13
5: aload 2
invokestatic io.netty.util.NetUtil.createByteArrayFromIpAddressString:(Ljava/lang/String;)[B
invokestatic java.net.InetAddress.getByAddress:([B)Ljava/net/InetAddress;
astore 3
start local 3 6: goto 9
end local 3 StackMap locals: io.vertx.core.net.impl.SocketAddressImpl int java.lang.String
StackMap stack: java.net.UnknownHostException
7: astore 4
start local 4 8: new io.vertx.core.VertxException
dup
aload 4
invokespecial io.vertx.core.VertxException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 start local 3 9: StackMap locals: java.net.InetAddress
StackMap stack:
aload 0
aload 2
putfield io.vertx.core.net.impl.SocketAddressImpl.host:Ljava/lang/String;
10: aload 0
aconst_null
putfield io.vertx.core.net.impl.SocketAddressImpl.hostName:Ljava/lang/String;
11: aload 0
aload 3
putfield io.vertx.core.net.impl.SocketAddressImpl.ipAddress:Ljava/net/InetAddress;
end local 3 12: goto 25
StackMap locals:
StackMap stack:
13: aload 2
invokestatic io.netty.util.NetUtil.isValidIpV6Address:(Ljava/lang/String;)Z
ifeq 19
14: aload 2
invokestatic io.netty.util.NetUtil.getByName:(Ljava/lang/CharSequence;)Ljava/net/Inet6Address;
astore 3
start local 3 15: aload 0
aload 2
putfield io.vertx.core.net.impl.SocketAddressImpl.host:Ljava/lang/String;
16: aload 0
aconst_null
putfield io.vertx.core.net.impl.SocketAddressImpl.hostName:Ljava/lang/String;
17: aload 0
aload 3
putfield io.vertx.core.net.impl.SocketAddressImpl.ipAddress:Ljava/net/InetAddress;
end local 3 18: goto 25
19: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.String.isEmpty:()Z
ifeq 20
iconst_0
goto 21
StackMap locals:
StackMap stack:
20: iconst_1
StackMap locals:
StackMap stack: int
21: ldc "host name must not be empty"
invokestatic io.vertx.core.impl.Arguments.require:(ZLjava/lang/String;)V
22: aload 0
aload 2
putfield io.vertx.core.net.impl.SocketAddressImpl.host:Ljava/lang/String;
23: aload 0
aload 2
putfield io.vertx.core.net.impl.SocketAddressImpl.hostName:Ljava/lang/String;
24: aload 0
aconst_null
putfield io.vertx.core.net.impl.SocketAddressImpl.ipAddress:Ljava/net/InetAddress;
25: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lio/vertx/core/net/impl/SocketAddressImpl;
0 26 1 port I
0 26 2 host Ljava/lang/String;
6 7 3 ip Ljava/net/InetAddress;
9 12 3 ip Ljava/net/InetAddress;
8 9 4 e Ljava/net/UnknownHostException;
15 18 3 ip Ljava/net/Inet6Address;
Exception table:
from to target type
5 6 7 Class java.net.UnknownHostException
MethodParameters:
Name Flags
port
host
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ldc "domain socket path must be non null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifeq 3
iconst_0
goto 4
StackMap locals: io.vertx.core.net.impl.SocketAddressImpl java.lang.String
StackMap stack:
3: iconst_1
StackMap locals:
StackMap stack: int
4: ldc "domain socket must not be empty"
invokestatic io.vertx.core.impl.Arguments.require:(ZLjava/lang/String;)V
5: aload 0
iconst_m1
putfield io.vertx.core.net.impl.SocketAddressImpl.port:I
6: aload 0
aconst_null
putfield io.vertx.core.net.impl.SocketAddressImpl.host:Ljava/lang/String;
7: aload 0
aconst_null
putfield io.vertx.core.net.impl.SocketAddressImpl.ipAddress:Ljava/net/InetAddress;
8: aload 0
aconst_null
putfield io.vertx.core.net.impl.SocketAddressImpl.hostName:Ljava/lang/String;
9: aload 0
aload 1
putfield io.vertx.core.net.impl.SocketAddressImpl.path:Ljava/lang/String;
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/core/net/impl/SocketAddressImpl;
0 11 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public java.lang.String path();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.net.impl.SocketAddressImpl.path:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/net/impl/SocketAddressImpl;
public java.lang.String host();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.net.impl.SocketAddressImpl.host:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/net/impl/SocketAddressImpl;
public java.lang.String hostName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.net.impl.SocketAddressImpl.hostName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/net/impl/SocketAddressImpl;
public java.lang.String hostAddress();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.net.impl.SocketAddressImpl.ipAddress:Ljava/net/InetAddress;
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield io.vertx.core.net.impl.SocketAddressImpl.ipAddress:Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/net/impl/SocketAddressImpl;
public int port();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.net.impl.SocketAddressImpl.port:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/net/impl/SocketAddressImpl;
public boolean isInetSocket();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.net.impl.SocketAddressImpl.path:Ljava/lang/String;
ifnonnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/net/impl/SocketAddressImpl;
public boolean isDomainSocket();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.net.impl.SocketAddressImpl.path:Ljava/lang/String;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/net/impl/SocketAddressImpl;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.net.impl.SocketAddressImpl.path:Ljava/lang/String;
ifnonnull 2
1: new java.lang.StringBuilder
dup
aload 0
getfield io.vertx.core.net.impl.SocketAddressImpl.host:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.vertx.core.net.impl.SocketAddressImpl.port:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.net.impl.SocketAddressImpl.path:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/net/impl/SocketAddressImpl;
public java.net.InetAddress ipAddress();
descriptor: ()Ljava/net/InetAddress;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.net.impl.SocketAddressImpl.ipAddress:Ljava/net/InetAddress;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/net/impl/SocketAddressImpl;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 1
ifnull 2
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 3
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 1
checkcast io.vertx.core.net.impl.SocketAddressImpl
astore 2
start local 2 4: aload 0
getfield io.vertx.core.net.impl.SocketAddressImpl.port:I
aload 2
getfield io.vertx.core.net.impl.SocketAddressImpl.port:I
if_icmpne 5
aload 0
getfield io.vertx.core.net.impl.SocketAddressImpl.host:Ljava/lang/String;
aload 2
getfield io.vertx.core.net.impl.SocketAddressImpl.host:Ljava/lang/String;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 5
aload 0
getfield io.vertx.core.net.impl.SocketAddressImpl.path:Ljava/lang/String;
aload 2
getfield io.vertx.core.net.impl.SocketAddressImpl.path:Ljava/lang/String;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 5
iconst_1
ireturn
StackMap locals: io.vertx.core.net.impl.SocketAddressImpl
StackMap stack:
5: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/net/impl/SocketAddressImpl;
0 6 1 o Ljava/lang/Object;
4 6 2 that Lio/vertx/core/net/impl/SocketAddressImpl;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.net.impl.SocketAddressImpl.host:Ljava/lang/String;
invokestatic java.util.Objects.hashCode:(Ljava/lang/Object;)I
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield io.vertx.core.net.impl.SocketAddressImpl.path:Ljava/lang/String;
invokestatic java.util.Objects.hashCode:(Ljava/lang/Object;)I
iadd
istore 1
2: bipush 31
iload 1
imul
aload 0
getfield io.vertx.core.net.impl.SocketAddressImpl.port:I
iadd
istore 1
3: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/net/impl/SocketAddressImpl;
1 4 1 result I
}
SourceFile: "SocketAddressImpl.java"