public String getToolTip() {
        StringBuilder message = new StringBuilder();
        message.append("<p>");
        message.append(Messages.DRY_Duplications_Header());
        message.append("<ul>");
        for (DuplicateCode duplication : links) {
            message.append("<li>");
            message.append(String.format("<a href=\"link.%s.%s/#%s\">%s (%s)</a>",
                    getKey(), duplication.getKey(), duplication.getPrimaryLineNumber(),
                    duplication.getLinkName(), duplication.getPrimaryLineNumber()));
            message.append("</li>");
        }
        message.append("</ul>");
        message.append("</p>");
        return message.toString();
    }
public String getToolTip() {
        StringBuilder message = new StringBuilder();
        message.append("<p>");
        message.append(Messages.DRY_Duplications_Header());
        message.append("<ul>");
        for (DuplicateCode duplication : links) {
            message.append("<li>");
            message.append(String.format("<a href=\"link.%s.%s/#%s\">%s (%s)</a>",
                    getKey(), duplication.getKey(), duplication.getPrimaryLineNumber(),
                    duplication.getLinkName(), duplication.getPrimaryLineNumber()));
            message.append("</li>");
        }
        message.append("</ul>");
        message.append("</p>");
        return message.toString();
    }
public String getToolTip ( ) { StringBuilder message = new StringBuilder ( ) ; message . append ( "<p>" ) ; message . append ( Messages . DRY_Duplications_Header ( ) ) ; message . append ( "<ul>" ) ; for ( DuplicateCode duplication : links ) { message . append ( "<li>" ) ; message . append ( String . format ( "<a href=\"link.%s.%s/#%s\">%s (%s)</a>" , getKey ( ) , duplication . getKey ( ) , duplication . getPrimaryLineNumber ( ) , duplication . getLinkName ( ) , duplication . getPrimaryLineNumber ( ) ) ) ; message . append ( "</li>" ) ; } message . append ( "</ul>" ) ; message . append ( "</p>" ) ; return message . toString ( ) ; }
{@inheritDoc}
{