src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/TagletWriterImpl.java
equal
deleted
inserted
replaced
271 /** |
271 /** |
272 * {@inheritDoc} |
272 * {@inheritDoc} |
273 */ |
273 */ |
274 public Content seeTagOutput(Element holder, List<? extends DocTree> seeTags) { |
274 public Content seeTagOutput(Element holder, List<? extends DocTree> seeTags) { |
275 ContentBuilder body = new ContentBuilder(); |
275 ContentBuilder body = new ContentBuilder(); |
276 if (!seeTags.isEmpty()) { |
276 for (DocTree dt : seeTags) { |
277 for (DocTree dt : seeTags) { |
277 appendSeparatorIfNotEmpty(body); |
278 appendSeparatorIfNotEmpty(body); |
278 body.addContent(htmlWriter.seeTagToContent(holder, dt)); |
279 body.addContent(htmlWriter.seeTagToContent(holder, dt)); |
|
280 } |
|
281 } |
279 } |
282 if (utils.isVariableElement(holder) && ((VariableElement)holder).getConstantValue() != null && |
280 if (utils.isVariableElement(holder) && ((VariableElement)holder).getConstantValue() != null && |
283 htmlWriter instanceof ClassWriterImpl) { |
281 htmlWriter instanceof ClassWriterImpl) { |
284 //Automatically add link to constant values page for constant fields. |
282 //Automatically add link to constant values page for constant fields. |
285 appendSeparatorIfNotEmpty(body); |
283 appendSeparatorIfNotEmpty(body); |