public static String get(@NonNull SymbolRequest request) {
        String name = request.getName();
        String title = request.getTitle();
        String tooltip = request.getTooltip();
        String htmlTooltip = request.getHtmlTooltip();
        String classes = request.getClasses();
        String pluginName = request.getPluginName();
        String id = request.getId();

        String identifier = (pluginName == null || pluginName.isBlank()) ? "core" : pluginName;

        String symbol = SYMBOLS
                .computeIfAbsent(identifier, key -> new ConcurrentHashMap<>())
                .computeIfAbsent(name, key -> loadSymbol(identifier, key));
        if ((tooltip != null && !tooltip.isBlank()) && (htmlTooltip == null || htmlTooltip.isBlank())) {
            symbol = symbol.replaceAll("<svg", Matcher.quoteReplacement("<svg tooltip=\"" + Functions.htmlAttributeEscape(tooltip) + "\""));
        }
        if (htmlTooltip != null && !htmlTooltip.isBlank()) {
            symbol = symbol.replaceAll("<svg", Matcher.quoteReplacement("<svg data-html-tooltip=\"" + Functions.htmlAttributeEscape(htmlTooltip) + "\""));
        }
        if (id != null && !id.isBlank()) {
            symbol = symbol.replaceAll("<svg", Matcher.quoteReplacement("<svg id=\"" + Functions.htmlAttributeEscape(id) + "\""));
        }
        if (classes != null && !classes.isBlank()) {
            symbol = symbol.replaceAll("<svg", "<svg class=\"" + Functions.htmlAttributeEscape(classes) + "\"");
        }
        if (title != null && !title.isBlank()) {
            symbol = "<span class=\"jenkins-visually-hidden\">" + Util.xmlEscape(title) + "</span>" + symbol;
        }
        return symbol;
    }
@Test
    @DisplayName("When resolving a missing symbol, a placeholder is generated instead")
    void missingSymbolDefaultsToPlaceholder() {
        String symbol = Symbol.get(new SymbolRequest.Builder()
                                           .withName("missing-icon")
                                           .build()
        );
        assertThat(symbol, not(containsString(SCIENCE_PATH)));
        assertThat(symbol, containsString(Symbol.PLACEHOLDER_MATCHER));
    }