String (@NotNull final String inspectionResultFilename, final String @Nullable [] inspectionTrueFields, @NotNull Project project) { return Stream.of(project.getName(), StringUtil.trimExtensions(inspectionResultFilename), ArrayUtil.isEmpty(inspectionTrueFields) ? null : StringUtil.join(inspectionTrueFields, "-"), "warning-count") .filter(nonNull()) .collect(Collectors.joining("-")); }