String replacement = deprecation.getReplacement(); if (replacement != null) { sb.append("<i>Replaced by:</i> <tt>").append(replacement).append("</tt><br/>");
sb.append("</i></b>"); String replacement = deprecation.getReplacement(); if (replacement != null) { sb.append("<br/><i>Replaced by:</i> <code>").append(replacement).append("</code>");
int end = value != null ? value.getIdxEnd() : key.getIdxEnd(); fixes.add(new DeletePropFix((StyledDocument) document, key.getText(), key.getIdxStart(), end)); if (deprecation.getReplacement() != null) { end = key.getIdxEnd(); fixes.add(new ReplacePropFix((StyledDocument) document, start, end, deprecation.getReplacement()));