List<String> (@NotNull String prefix, @NotNull List<String> split) { if (split.isEmpty()) return split; List<String> prefixSplit = ContainerUtil.map(StringUtil.split(prefix, SETTINGS_GROUP_SEPARATOR), String::trim); if (split.size() < prefixSplit.size()) return split; for (int i = 0; i < prefixSplit.size(); i++) { if (!StringUtil.equalsIgnoreCase(split.get(i), prefixSplit.get(i))) return split; } return split.subList(prefixSplit.size(), split.size()); }