ConsoleViewContentType (@NotNull Key<?> attributes) { final ConsoleViewContentType outputType; if (attributes == ProcessOutputTypes.STDERR) { outputType = ConsoleViewContentType.ERROR_OUTPUT; } else if (attributes == ProcessOutputTypes.SYSTEM) { outputType = ConsoleViewContentType.SYSTEM_OUTPUT; } else { outputType = ConsoleViewContentType.getConsoleViewType(attributes); } return outputType; }