class com.sun.tools.jdi.SocketTransportService$HostPort
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.jdi.SocketTransportService$HostPort
super_class: java.lang.Object
{
public final java.lang.String host;
descriptor: Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final int port;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
private void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, 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 0
aload 1
putfield com.sun.tools.jdi.SocketTransportService$HostPort.host:Ljava/lang/String;
2: aload 0
iload 2
putfield com.sun.tools.jdi.SocketTransportService$HostPort.port:I
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/jdi/SocketTransportService$HostPort;
0 4 1 host Ljava/lang/String;
0 4 2 port I
MethodParameters:
Name Flags
host
port
public static com.sun.tools.jdi.SocketTransportService$HostPort parse(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/tools/jdi/SocketTransportService$HostPort;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
bipush 58
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 1
start local 1 1: aload 0
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic java.lang.Integer.decode:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
istore 2
start local 2 2: goto 5
end local 2 StackMap locals: java.lang.String int
StackMap stack: java.lang.NumberFormatException
3: pop
4: new java.lang.IllegalArgumentException
dup
ldc "unable to parse port number in address"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
start local 2 5: StackMap locals: int
StackMap stack:
iload 2
iflt 6
iload 2
ldc 65535
if_icmple 7
6: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "port out of range"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
iload 1
ifgt 9
8: new com.sun.tools.jdi.SocketTransportService$HostPort
dup
invokestatic java.net.InetAddress.getLoopbackAddress:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
iload 2
invokespecial com.sun.tools.jdi.SocketTransportService$HostPort.<init>:(Ljava/lang/String;I)V
areturn
9: StackMap locals:
StackMap stack:
iload 1
iconst_1
if_icmpne 11
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 42
if_icmpne 11
10: new com.sun.tools.jdi.SocketTransportService$HostPort
dup
aconst_null
iload 2
invokespecial com.sun.tools.jdi.SocketTransportService$HostPort.<init>:(Ljava/lang/String;I)V
areturn
11: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 91
if_icmpne 13
aload 0
iload 1
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 93
if_icmpne 13
12: new com.sun.tools.jdi.SocketTransportService$HostPort
dup
aload 0
iconst_1
iload 1
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
iload 2
invokespecial com.sun.tools.jdi.SocketTransportService$HostPort.<init>:(Ljava/lang/String;I)V
areturn
13: StackMap locals:
StackMap stack:
new com.sun.tools.jdi.SocketTransportService$HostPort
dup
aload 0
iconst_0
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
iload 2
invokespecial com.sun.tools.jdi.SocketTransportService$HostPort.<init>:(Ljava/lang/String;I)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 hostPort Ljava/lang/String;
1 14 1 splitIndex I
2 3 2 port I
5 14 2 port I
Exception table:
from to target type
1 2 3 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
hostPort
}
SourceFile: "SocketTransportService.java"
NestHost: com.sun.tools.jdi.SocketTransportService
InnerClasses:
private HostPort = com.sun.tools.jdi.SocketTransportService$HostPort of com.sun.tools.jdi.SocketTransportService