langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/builders/MethodBuilder.java
equal
deleted
inserted
replaced
33 import javax.lang.model.type.TypeMirror; |
33 import javax.lang.model.type.TypeMirror; |
34 |
34 |
35 import jdk.javadoc.internal.doclets.formats.html.ConfigurationImpl; |
35 import jdk.javadoc.internal.doclets.formats.html.ConfigurationImpl; |
36 import jdk.javadoc.internal.doclets.toolkit.Configuration; |
36 import jdk.javadoc.internal.doclets.toolkit.Configuration; |
37 import jdk.javadoc.internal.doclets.toolkit.Content; |
37 import jdk.javadoc.internal.doclets.toolkit.Content; |
|
38 import jdk.javadoc.internal.doclets.toolkit.DocletException; |
38 import jdk.javadoc.internal.doclets.toolkit.MethodWriter; |
39 import jdk.javadoc.internal.doclets.toolkit.MethodWriter; |
39 import jdk.javadoc.internal.doclets.toolkit.util.DocFinder; |
40 import jdk.javadoc.internal.doclets.toolkit.util.DocFinder; |
40 import jdk.javadoc.internal.doclets.toolkit.util.VisibleMemberMap; |
41 import jdk.javadoc.internal.doclets.toolkit.util.VisibleMemberMap; |
41 |
42 |
42 |
43 |
154 /** |
155 /** |
155 * Build the method documentation. |
156 * Build the method documentation. |
156 * |
157 * |
157 * @param node the XML element that specifies which components to document |
158 * @param node the XML element that specifies which components to document |
158 * @param memberDetailsTree the content tree to which the documentation will be added |
159 * @param memberDetailsTree the content tree to which the documentation will be added |
159 */ |
160 * @throws DocletException if there is a problem while building the documentation |
160 public void buildMethodDoc(XMLNode node, Content memberDetailsTree) { |
161 */ |
|
162 public void buildMethodDoc(XMLNode node, Content memberDetailsTree) throws DocletException { |
161 if (writer == null) { |
163 if (writer == null) { |
162 return; |
164 return; |
163 } |
165 } |
164 if (!methods.isEmpty()) { |
166 if (!methods.isEmpty()) { |
165 Content methodDetailsTree = writer.getMethodDetailsTreeHeader(typeElement, |
167 Content methodDetailsTree = writer.getMethodDetailsTreeHeader(typeElement, |