langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/builders/MethodBuilder.java
equal
deleted
inserted
replaced
208 * @param methodDocTree the content tree to which the documentation will be added |
208 * @param methodDocTree the content tree to which the documentation will be added |
209 */ |
209 */ |
210 public void buildMethodComments(XMLNode node, Content methodDocTree) { |
210 public void buildMethodComments(XMLNode node, Content methodDocTree) { |
211 if (!configuration.nocomment) { |
211 if (!configuration.nocomment) { |
212 ExecutableElement method = currentMethod; |
212 ExecutableElement method = currentMethod; |
213 if (utils.getBody(currentMethod).isEmpty()) { |
213 if (utils.getFullBody(currentMethod).isEmpty()) { |
214 DocFinder.Output docs = DocFinder.search(configuration, |
214 DocFinder.Output docs = DocFinder.search(configuration, |
215 new DocFinder.Input(utils, currentMethod)); |
215 new DocFinder.Input(utils, currentMethod)); |
216 if (docs.inlineTags != null && !docs.inlineTags.isEmpty()) |
216 if (docs.inlineTags != null && !docs.inlineTags.isEmpty()) |
217 method = (ExecutableElement)docs.holder; |
217 method = (ExecutableElement)docs.holder; |
218 } |
218 } |