void (@NotNull String pattern, @NotNull Consumer<Object> collector, @Nullable Project project) { pattern = StringUtil.toLowerCase(pattern.trim()); if (StringUtil.isBetween(pattern, "tool w", "tool window bars") || StringUtil.isBetween(pattern, "toolw", "toolwindow ")) { collector.accept(HIDE_TOOL_STRIPES); } else if (StringUtil.isBetween(pattern, "curs", "cursor ") || StringUtil.isBetween(pattern, "block ", "block cursor ") || StringUtil.isBetween(pattern, "caret", "caret ") || StringUtil.isBetween(pattern, "block ", "block caret ")) { collector.accept(IS_BLOCK_CURSOR); } else if (StringUtil.isBetween(pattern, "whites", "whitespaces ") || StringUtil.isBetween(pattern, "show whi", "show whitespaces ")) { collector.accept(IS_WHITESPACES_SHOWN); } else if (StringUtil.isBetween(pattern, "line ", "line numbers ") || StringUtil.isBetween(pattern, "show li", "show line numbers ")) { collector.accept(ARE_LINE_NUMBERS_SHOWN); } }