langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/taglets/InheritDocTaglet.java
changeset 25454 376a52c9540c
parent 17574 044c7e1e4d53
equal deleted inserted replaced
25453:be80cf0463b3 25454:376a52c9540c
     1 /*
     1 /*
     2  * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   131                 //This tag does not support inheritence.
   131                 //This tag does not support inheritence.
   132                 configuration.message.warning(ped.position(),
   132                 configuration.message.warning(ped.position(),
   133                 "doclet.noInheritedDoc", message);
   133                 "doclet.noInheritedDoc", message);
   134          }
   134          }
   135         DocFinder.Output inheritedDoc =
   135         DocFinder.Output inheritedDoc =
   136             DocFinder.search(new DocFinder.Input(ped,
   136             DocFinder.search(configuration, new DocFinder.Input(ped,
   137                 (InheritableTaglet) inheritableTaglet, holderTag,
   137                 (InheritableTaglet) inheritableTaglet, holderTag,
   138                 isFirstSentence, true));
   138                 isFirstSentence, true));
   139         if (inheritedDoc.isValidInheritDocTag) {
   139         if (inheritedDoc.isValidInheritDocTag) {
   140             if (inheritedDoc.inlineTags.length > 0) {
   140             if (inheritedDoc.inlineTags.length > 0) {
   141                 replacement = writer.commentTagsToOutput(inheritedDoc.holderTag,
   141                 replacement = writer.commentTagsToOutput(inheritedDoc.holderTag,