void (@NotNull SimpleColoredComponent ui) { RemoteServer<?> server = findRemoteServer(); SimpleTextAttributes attributes = server == null ? SimpleTextAttributes.ERROR_ATTRIBUTES : SimpleTextAttributes.REGULAR_ATTRIBUTES; ui.setIcon(server == null ? null : myServerType.getIcon()); ui.append(StringUtil.notNullize(myServerName), attributes); }