String (@NotNull JavaResourceRootProperties properties) { StringBuilder buffer = new StringBuilder(); if (properties.isForGeneratedSources()) { buffer.append(" [generated]"); } String relativeOutputPath = properties.getRelativeOutputPath(); if (!relativeOutputPath.isEmpty()) { buffer.append(" (").append(relativeOutputPath).append(")"); } return buffer.length() > 0 ? buffer.toString() : null; }