String (@NotNull RemoteConnection connection) { if (connection instanceof PidRemoteConnection) { return "pid " + ((PidRemoteConnection)connection).getPid(); } String addressDisplayName = JavaDebuggerBundle.getAddressDisplayName(connection); String transportName = JavaDebuggerBundle.getTransportName(connection); return JavaDebuggerBundle.message("string.connection", addressDisplayName, transportName); }