String (@NotNull PackageDetails.Info info) { final StringBuilder stringBuilder = new StringBuilder(TEXT_PREFIX); final String description = info.getSummary(); if (StringUtil.isNotEmpty(description)) { stringBuilder.append(description).append("<br/>"); } final String version = info.getVersion(); if (StringUtil.isNotEmpty(version)) { stringBuilder.append("<h4>Version</h4>"); stringBuilder.append(version); } final String author = info.getAuthor(); if (StringUtil.isNotEmpty(author)) { stringBuilder.append("<h4>Author</h4>"); stringBuilder.append(author).append("<br/><br/>"); } final String authorEmail = info.getAuthorEmail(); if (StringUtil.isNotEmpty(authorEmail)) { stringBuilder.append("<br/>"); stringBuilder.append(composeHref("mailto:" + authorEmail)); } final String homePage = info.getHomePage(); if (StringUtil.isNotEmpty(homePage)) { stringBuilder.append("<br/>"); stringBuilder.append(composeHref(homePage)); } stringBuilder.append(TEXT_SUFFIX); return stringBuilder.toString(); }