CodeStyleScheme (String preferredName, CodeStyleScheme parentScheme) { return new CodeStyleSchemeImpl( SchemeNameGenerator.getUniqueName(preferredName, parentScheme, name -> mySchemeManager.findSchemeByName(name) != null), false, parentScheme); }