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 hostAddress;
descriptor: Ljava/lang/String;
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=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.net.InetSocketAddress.getPort:()I
aload 1
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
invokespecial io.vertx.core.net.impl.SocketAddressImpl.<init>:(ILjava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/net/impl/SocketAddressImpl;
0 2 1 address Ljava/net/InetSocketAddress;
MethodParameters:
Name Flags
address
public void <init>(int, java.lang.String);
descriptor: (ILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 2
ldc "no null host accepted"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 2
invokevirtual java.lang.String.isEmpty:()Z
ifeq 3
iconst_0
goto 4
StackMap locals: io.vertx.core.net.impl.SocketAddressImpl int java.lang.String
StackMap stack:
3: iconst_1
StackMap locals:
StackMap stack: int
4: ldc "no empty host accepted"
invokestatic io.vertx.core.impl.Arguments.require:(ZLjava/lang/String;)V
5: 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
6: aload 0
iload 1
putfield io.vertx.core.net.impl.SocketAddressImpl.port:I
7: aload 0
aload 2
putfield io.vertx.core.net.impl.SocketAddressImpl.hostAddress:Ljava/lang/String;
8: aload 0
aconst_null
putfield io.vertx.core.net.impl.SocketAddressImpl.path:Ljava/lang/String;
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/core/net/impl/SocketAddressImpl;
0 10 1 port I
0 10 2 host Ljava/lang/String;
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 0
iconst_m1
putfield io.vertx.core.net.impl.SocketAddressImpl.port:I
2: aload 0
aconst_null
putfield io.vertx.core.net.impl.SocketAddressImpl.hostAddress:Ljava/lang/String;
3: aload 0
aload 1
putfield io.vertx.core.net.impl.SocketAddressImpl.path:Ljava/lang/String;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/net/impl/SocketAddressImpl;
0 5 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.hostAddress:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 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 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.hostAddress: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 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_icmpeq 5
iconst_0
ireturn
5: StackMap locals: io.vertx.core.net.impl.SocketAddressImpl
StackMap stack:
aload 0
getfield io.vertx.core.net.impl.SocketAddressImpl.hostAddress:Ljava/lang/String;
ifnull 6
aload 0
getfield io.vertx.core.net.impl.SocketAddressImpl.hostAddress:Ljava/lang/String;
aload 2
getfield io.vertx.core.net.impl.SocketAddressImpl.hostAddress:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
goto 7
StackMap locals:
StackMap stack:
6: aload 2
getfield io.vertx.core.net.impl.SocketAddressImpl.hostAddress:Ljava/lang/String;
ifnull 8
StackMap locals:
StackMap stack:
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.net.impl.SocketAddressImpl.path:Ljava/lang/String;
ifnull 9
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;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 11
goto 10
StackMap locals:
StackMap stack:
9: aload 2
getfield io.vertx.core.net.impl.SocketAddressImpl.path:Ljava/lang/String;
ifnull 11
StackMap locals:
StackMap stack:
10: iconst_0
ireturn
11: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/vertx/core/net/impl/SocketAddressImpl;
0 12 1 o Ljava/lang/Object;
4 12 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.hostAddress:Ljava/lang/String;
ifnull 1
aload 0
getfield io.vertx.core.net.impl.SocketAddressImpl.hostAddress:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: bipush 31
iload 1
imul
aload 0
getfield io.vertx.core.net.impl.SocketAddressImpl.path:Ljava/lang/String;
ifnull 4
aload 0
getfield io.vertx.core.net.impl.SocketAddressImpl.path:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
goto 5
StackMap locals: io.vertx.core.net.impl.SocketAddressImpl int
StackMap stack: int
4: iconst_0
StackMap locals: io.vertx.core.net.impl.SocketAddressImpl int
StackMap stack: int int
5: iadd
istore 1
6: bipush 31
iload 1
imul
aload 0
getfield io.vertx.core.net.impl.SocketAddressImpl.port:I
iadd
istore 1
7: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/core/net/impl/SocketAddressImpl;
3 8 1 result I
}
SourceFile: "SocketAddressImpl.java"