ConsoleViewContentType (@NotNull Key<?> key, @NotNull TextAttributesKey attributesKey) { ConsoleViewContentType type = new ConsoleViewContentType(key.toString(), attributesKey); registerNewConsoleViewType(key, type); return type; }