public class com.sun.tools.jdi.SocketAttachingConnector extends com.sun.tools.jdi.GenericAttachingConnector
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.jdi.SocketAttachingConnector
super_class: com.sun.tools.jdi.GenericAttachingConnector
{
static final java.lang.String ARG_PORT;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "port"
static final java.lang.String ARG_HOST;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "hostname"
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=1
start local 0 0: aload 0
new com.sun.tools.jdi.SocketTransportService
dup
invokespecial com.sun.tools.jdi.SocketTransportService.<init>:()V
invokespecial com.sun.tools.jdi.GenericAttachingConnector.<init>:(Lcom/sun/jdi/connect/spi/TransportService;)V
1: invokestatic java.net.InetAddress.getLocalHost:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.getHostName:()Ljava/lang/String;
astore 1
start local 1 2: goto 5
end local 1 StackMap locals: com.sun.tools.jdi.SocketAttachingConnector
StackMap stack: java.net.UnknownHostException
3: pop
4: ldc ""
astore 1
start local 1 5: StackMap locals: java.lang.String
StackMap stack:
aload 0
6: ldc "hostname"
7: aload 0
ldc "socket_attaching.host.label"
invokevirtual com.sun.tools.jdi.SocketAttachingConnector.getString:(Ljava/lang/String;)Ljava/lang/String;
8: aload 0
ldc "socket_attaching.host"
invokevirtual com.sun.tools.jdi.SocketAttachingConnector.getString:(Ljava/lang/String;)Ljava/lang/String;
9: aload 1
10: iconst_0
11: invokevirtual com.sun.tools.jdi.SocketAttachingConnector.addStringArgument:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
12: aload 0
13: ldc "port"
14: aload 0
ldc "socket_attaching.port.label"
invokevirtual com.sun.tools.jdi.SocketAttachingConnector.getString:(Ljava/lang/String;)Ljava/lang/String;
15: aload 0
ldc "socket_attaching.port"
invokevirtual com.sun.tools.jdi.SocketAttachingConnector.getString:(Ljava/lang/String;)Ljava/lang/String;
16: ldc ""
17: iconst_1
18: iconst_0
ldc 2147483647
19: invokevirtual com.sun.tools.jdi.SocketAttachingConnector.addIntegerArgument:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZII)V
20: aload 0
new com.sun.tools.jdi.SocketAttachingConnector$1
dup
aload 0
invokespecial com.sun.tools.jdi.SocketAttachingConnector$1.<init>:(Lcom/sun/tools/jdi/SocketAttachingConnector;)V
putfield com.sun.tools.jdi.SocketAttachingConnector.transport:Lcom/sun/jdi/connect/Transport;
21: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/sun/tools/jdi/SocketAttachingConnector;
2 3 1 defaultHostName Ljava/lang/String;
5 22 1 defaultHostName Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class java.net.UnknownHostException
public com.sun.jdi.VirtualMachine attach(java.util.Map<java.lang.String, ? extends com.sun.jdi.connect.Connector$Argument>);
descriptor: (Ljava/util/Map;)Lcom/sun/jdi/VirtualMachine;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
ldc "hostname"
aload 1
invokevirtual com.sun.tools.jdi.SocketAttachingConnector.argument:(Ljava/lang/String;Ljava/util/Map;)Lcom/sun/tools/jdi/ConnectorImpl$ArgumentImpl;
invokevirtual com.sun.tools.jdi.ConnectorImpl$ArgumentImpl.value:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
invokevirtual java.lang.String.length:()I
ifle 3
2: new java.lang.StringBuilder
dup
aload 2
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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
3: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
ldc "port"
aload 1
invokevirtual com.sun.tools.jdi.SocketAttachingConnector.argument:(Ljava/lang/String;Ljava/util/Map;)Lcom/sun/tools/jdi/ConnectorImpl$ArgumentImpl;
invokevirtual com.sun.tools.jdi.ConnectorImpl$ArgumentImpl.value:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 4: aload 0
aload 3
aload 1
invokespecial com.sun.tools.jdi.GenericAttachingConnector.attach:(Ljava/lang/String;Ljava/util/Map;)Lcom/sun/jdi/VirtualMachine;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/jdi/SocketAttachingConnector;
0 5 1 arguments Ljava/util/Map<Ljava/lang/String;+Lcom/sun/jdi/connect/Connector$Argument;>;
1 5 2 host Ljava/lang/String;
4 5 3 address Ljava/lang/String;
Exceptions:
throws java.io.IOException, com.sun.jdi.connect.IllegalConnectorArgumentsException
Signature: (Ljava/util/Map<Ljava/lang/String;+Lcom/sun/jdi/connect/Connector$Argument;>;)Lcom/sun/jdi/VirtualMachine;
MethodParameters:
Name Flags
arguments
public java.lang.String name();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "com.sun.jdi.SocketAttach"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdi/SocketAttachingConnector;
public java.lang.String description();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "socket_attaching.description"
invokevirtual com.sun.tools.jdi.SocketAttachingConnector.getString:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdi/SocketAttachingConnector;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial com.sun.tools.jdi.GenericAttachingConnector.toString:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.util.Map defaultArguments();
descriptor: ()Ljava/util/Map;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial com.sun.tools.jdi.GenericAttachingConnector.defaultArguments:()Ljava/util/Map;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "SocketAttachingConnector.java"
NestMembers:
com.sun.tools.jdi.SocketAttachingConnector$1
InnerClasses:
public abstract Argument = com.sun.jdi.connect.Connector$Argument of com.sun.jdi.connect.Connector
abstract ArgumentImpl = com.sun.tools.jdi.ConnectorImpl$ArgumentImpl of com.sun.tools.jdi.ConnectorImpl
com.sun.tools.jdi.SocketAttachingConnector$1