PropertyListHolder () { PropertyListHolder holder = new PropertyListHolder(); CodeStylePropertiesUtil.collectMappers(myScheme.getCodeStyleSettings(), mapper -> { if (myLangDomainIds == null || myLangDomainIds.contains(mapper.getLanguageDomainId())) { holder.add(mapper); } }); holder.sort((m1, m2) -> { int result = Comparing.compare(getPriority(m1), getPriority(m2)); if (result == 0) { return Comparing.compare(m1.getLanguageDomainId(), m2.getLanguageDomainId()); } return result; }); return holder; }