< prev index next >

src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/AbstractExecutableMemberWriter.java

Print this page




 101             deprecatedLinkContent.add(Entity.ZERO_WIDTH_SPACE);
 102         }
 103         deprecatedLinkContent.add(signature);
 104 
 105         return writer.getDocLink(MEMBER, utils.getEnclosingTypeElement(member), member, deprecatedLinkContent);
 106     }
 107 
 108     /**
 109      * Add the summary link for the member.
 110      *
 111      * @param context the id of the context where the link will be printed
 112      * @param te the type element being linked to
 113      * @param member the member being linked to
 114      * @param tdSummary the content tree to which the link will be added
 115      */
 116     @Override
 117     protected void addSummaryLink(LinkInfoImpl.Kind context, TypeElement te, Element member,
 118             Content tdSummary) {
 119         ExecutableElement ee = (ExecutableElement)member;
 120         Content memberLink = HtmlTree.SPAN(HtmlStyle.memberNameLink,
 121                 writer.getDocLink(context, te, ee,
 122                 name(ee), false));
 123         Content code = HtmlTree.CODE(memberLink);
 124         addParameters(ee, code);
 125         tdSummary.add(code);
 126     }
 127 
 128     /**
 129      * Add the inherited summary link for the member.
 130      *
 131      * @param te the type element that we should link to
 132      * @param member the member being linked to
 133      * @param linksTree the content tree to which the link will be added
 134      */
 135     @Override
 136     protected void addInheritedSummaryLink(TypeElement te, Element member, Content linksTree) {
 137         linksTree.add(writer.getDocLink(MEMBER, te, member, name(member), false));
 138     }
 139 
 140     /**
 141      * Add the parameter for the executable member.
 142      *




 101             deprecatedLinkContent.add(Entity.ZERO_WIDTH_SPACE);
 102         }
 103         deprecatedLinkContent.add(signature);
 104 
 105         return writer.getDocLink(MEMBER, utils.getEnclosingTypeElement(member), member, deprecatedLinkContent);
 106     }
 107 
 108     /**
 109      * Add the summary link for the member.
 110      *
 111      * @param context the id of the context where the link will be printed
 112      * @param te the type element being linked to
 113      * @param member the member being linked to
 114      * @param tdSummary the content tree to which the link will be added
 115      */
 116     @Override
 117     protected void addSummaryLink(LinkInfoImpl.Kind context, TypeElement te, Element member,
 118             Content tdSummary) {
 119         ExecutableElement ee = (ExecutableElement)member;
 120         Content memberLink = HtmlTree.SPAN(HtmlStyle.memberNameLink,
 121                 writer.getDocLink(context, te, ee, name(ee), false));

 122         Content code = HtmlTree.CODE(memberLink);
 123         addParameters(ee, code);
 124         tdSummary.add(code);
 125     }
 126 
 127     /**
 128      * Add the inherited summary link for the member.
 129      *
 130      * @param te the type element that we should link to
 131      * @param member the member being linked to
 132      * @param linksTree the content tree to which the link will be added
 133      */
 134     @Override
 135     protected void addInheritedSummaryLink(TypeElement te, Element member, Content linksTree) {
 136         linksTree.add(writer.getDocLink(MEMBER, te, member, name(member), false));
 137     }
 138 
 139     /**
 140      * Add the parameter for the executable member.
 141      *


< prev index next >