void (@NotNull Collection<PathMappingSettings.PathMapping> mappings, @NotNull PyPathMappingType type) { for (PathMappingSettings.PathMapping mapping : mappings) { myPathMappings.putValue(type, clonePathMapping(mapping)); } }