99 */ |
99 */ |
100 public Content getSignature(FieldDoc enumConstant) { |
100 public Content getSignature(FieldDoc enumConstant) { |
101 Content pre = new HtmlTree(HtmlTag.PRE); |
101 Content pre = new HtmlTree(HtmlTag.PRE); |
102 writer.addAnnotationInfo(enumConstant, pre); |
102 writer.addAnnotationInfo(enumConstant, pre); |
103 addModifiers(enumConstant, pre); |
103 addModifiers(enumConstant, pre); |
104 Content enumConstantLink = new RawHtml(writer.getLink(new LinkInfoImpl( |
104 Content enumConstantLink = writer.getLink(new LinkInfoImpl( |
105 configuration, LinkInfoImpl.Kind.MEMBER, enumConstant.type()))); |
105 configuration, LinkInfoImpl.Kind.MEMBER, enumConstant.type())); |
106 pre.addContent(enumConstantLink); |
106 pre.addContent(enumConstantLink); |
107 pre.addContent(" "); |
107 pre.addContent(" "); |
108 if (configuration.linksource) { |
108 if (configuration.linksource) { |
109 Content enumConstantName = new StringContent(enumConstant.name()); |
109 Content enumConstantName = new StringContent(enumConstant.name()); |
110 writer.addSrcLink(enumConstant, enumConstantName, pre); |
110 writer.addSrcLink(enumConstant, enumConstantName, pre); |
220 /** |
220 /** |
221 * {@inheritDoc} |
221 * {@inheritDoc} |
222 */ |
222 */ |
223 protected void addSummaryLink(LinkInfoImpl.Kind context, ClassDoc cd, ProgramElementDoc member, |
223 protected void addSummaryLink(LinkInfoImpl.Kind context, ClassDoc cd, ProgramElementDoc member, |
224 Content tdSummary) { |
224 Content tdSummary) { |
225 Content strong = HtmlTree.STRONG(new RawHtml( |
225 Content strong = HtmlTree.STRONG( |
226 writer.getDocLink(context, (MemberDoc) member, member.name(), false))); |
226 writer.getDocLink(context, (MemberDoc) member, member.name(), false)); |
227 Content code = HtmlTree.CODE(strong); |
227 Content code = HtmlTree.CODE(strong); |
228 tdSummary.addContent(code); |
228 tdSummary.addContent(code); |
229 } |
229 } |
230 |
230 |
231 /** |
231 /** |