List<String> (@NotNull CodeStyleSettings settings) { return settings.getExcludedFiles().getDescriptors(NamedScopeDescriptor.NAMED_SCOPE_TYPE).stream() .map(descriptor -> NamedScopeToGlobConverter.convert((NamedScopeDescriptor)descriptor)) .filter(descriptor -> descriptor != null) .map(descriptor -> descriptor.getPattern()) .collect(Collectors.toList()); }