class com.sun.tools.jdi.SocketTransportService$SocketListenKey extends com.sun.jdi.connect.spi.TransportService$ListenKey
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.jdi.SocketTransportService$SocketListenKey
super_class: com.sun.jdi.connect.spi.TransportService$ListenKey
{
java.net.ServerSocket ss;
descriptor: Ljava/net/ServerSocket;
flags: (0x0000)
void <init>(java.net.ServerSocket);
descriptor: (Ljava/net/ServerSocket;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // com.sun.tools.jdi.SocketTransportService$SocketListenKey this
start local 1 // java.net.ServerSocket ss
0: .line 51
aload 0 /* this */
invokespecial com.sun.jdi.connect.spi.TransportService$ListenKey.<init>:()V
1: .line 52
aload 0 /* this */
aload 1 /* ss */
putfield com.sun.tools.jdi.SocketTransportService$SocketListenKey.ss:Ljava/net/ServerSocket;
2: .line 53
return
end local 1 // java.net.ServerSocket ss
end local 0 // com.sun.tools.jdi.SocketTransportService$SocketListenKey this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/jdi/SocketTransportService$SocketListenKey;
0 3 1 ss Ljava/net/ServerSocket;
MethodParameters:
Name Flags
ss
java.net.ServerSocket socket();
descriptor: ()Ljava/net/ServerSocket;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 // com.sun.tools.jdi.SocketTransportService$SocketListenKey this
0: .line 56
aload 0 /* this */
getfield com.sun.tools.jdi.SocketTransportService$SocketListenKey.ss:Ljava/net/ServerSocket;
areturn
end local 0 // com.sun.tools.jdi.SocketTransportService$SocketListenKey this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdi/SocketTransportService$SocketListenKey;
public java.lang.String address();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 // com.sun.tools.jdi.SocketTransportService$SocketListenKey this
0: .line 64
aload 0 /* this */
getfield com.sun.tools.jdi.SocketTransportService$SocketListenKey.ss:Ljava/net/ServerSocket;
invokevirtual java.net.ServerSocket.getInetAddress:()Ljava/net/InetAddress;
astore 1 /* address */
start local 1 // java.net.InetAddress address
1: .line 72
aload 1 /* address */
invokevirtual java.net.InetAddress.isAnyLocalAddress:()Z
ifeq 10
2: .line 74
invokestatic java.net.InetAddress.getLocalHost:()Ljava/net/InetAddress;
astore 1 /* address */
3: .line 75
goto 10
StackMap locals: com.sun.tools.jdi.SocketTransportService$SocketListenKey java.net.InetAddress
StackMap stack: java.net.UnknownHostException
4: pop
5: .line 76
iconst_4
newarray 8
dup
iconst_0
bipush 127
bastore
dup
iconst_3
iconst_1
bastore
astore 2 /* loopback */
start local 2 // byte[] loopback
6: .line 78
ldc "127.0.0.1"
aload 2 /* loopback */
invokestatic java.net.InetAddress.getByAddress:(Ljava/lang/String;[B)Ljava/net/InetAddress;
astore 1 /* address */
7: .line 79
goto 10
StackMap locals: com.sun.tools.jdi.SocketTransportService$SocketListenKey java.net.InetAddress byte[]
StackMap stack: java.net.UnknownHostException
8: pop
9: .line 80
new java.lang.InternalError
dup
ldc "unable to get local hostname"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
end local 2 // byte[] loopback
10: .line 92
StackMap locals:
StackMap stack:
aload 1 /* address */
invokevirtual java.net.InetAddress.getHostName:()Ljava/lang/String;
astore 3 /* hostname */
start local 3 // java.lang.String hostname
11: .line 93
aload 1 /* address */
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
astore 4 /* hostaddr */
start local 4 // java.lang.String hostaddr
12: .line 94
aload 3 /* hostname */
aload 4 /* hostaddr */
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
13: .line 95
aload 1 /* address */
instanceof java.net.Inet6Address
ifeq 16
14: .line 96
new java.lang.StringBuilder
dup
ldc "["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4 /* hostaddr */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2 /* result */
start local 2 // java.lang.String result
15: .line 97
goto 19
end local 2 // java.lang.String result
16: .line 98
StackMap locals: com.sun.tools.jdi.SocketTransportService$SocketListenKey java.net.InetAddress top java.lang.String java.lang.String
StackMap stack:
aload 4 /* hostaddr */
astore 2 /* result */
start local 2 // java.lang.String result
17: .line 100
goto 19
end local 2 // java.lang.String result
18: .line 101
StackMap locals:
StackMap stack:
aload 3 /* hostname */
astore 2 /* result */
start local 2 // java.lang.String result
19: .line 108
StackMap locals: com.sun.tools.jdi.SocketTransportService$SocketListenKey java.net.InetAddress java.lang.String java.lang.String java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 2 /* result */
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 /* this */
getfield com.sun.tools.jdi.SocketTransportService$SocketListenKey.ss:Ljava/net/ServerSocket;
invokevirtual java.net.ServerSocket.getLocalPort:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 4 // java.lang.String hostaddr
end local 3 // java.lang.String hostname
end local 2 // java.lang.String result
end local 1 // java.net.InetAddress address
end local 0 // com.sun.tools.jdi.SocketTransportService$SocketListenKey this
LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/sun/tools/jdi/SocketTransportService$SocketListenKey;
1 20 1 address Ljava/net/InetAddress;
6 10 2 loopback [B
15 16 2 result Ljava/lang/String;
17 18 2 result Ljava/lang/String;
19 20 2 result Ljava/lang/String;
11 20 3 hostname Ljava/lang/String;
12 20 4 hostaddr Ljava/lang/String;
Exception table:
from to target type
2 3 4 Class java.net.UnknownHostException
6 7 8 Class java.net.UnknownHostException
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // com.sun.tools.jdi.SocketTransportService$SocketListenKey this
0: .line 112
aload 0 /* this */
invokevirtual com.sun.tools.jdi.SocketTransportService$SocketListenKey.address:()Ljava/lang/String;
areturn
end local 0 // com.sun.tools.jdi.SocketTransportService$SocketListenKey this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdi/SocketTransportService$SocketListenKey;
}
SourceFile: "SocketTransportService.java"
NestHost: com.sun.tools.jdi.SocketTransportService
InnerClasses:
public abstract ListenKey = com.sun.jdi.connect.spi.TransportService$ListenKey of com.sun.jdi.connect.spi.TransportService
SocketListenKey = com.sun.tools.jdi.SocketTransportService$SocketListenKey of com.sun.tools.jdi.SocketTransportService