langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/builders/MethodBuilder.java
changeset 41452 ddaef4bba083
parent 40587 1c355ea550ed
child 42000 8b7412f7eecd
equal deleted inserted replaced
41451:a847c7aa25a7 41452:ddaef4bba083
   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             }