/** * Given an array of <code>ParamTag</code>s,return its string representation. Try to inherit the * param tags that are missing. * * @param holder the element that holds the param tags. * @param writer the TagletWriter that will write this tag. * @param formalParameters The array of parmeters (from type or executable member) to check. * @return the TagletOutput representation of these <code>ParamTag</code>s. */ private Content getTagletOutput( boolean isParameters, Element holder, TagletWriter writer, List<? extends Element> formalParameters, List<? extends DocTree> paramTags) { Content result = writer.getOutputInstance(); Set<String> alreadyDocumented = new HashSet<>(); if (!paramTags.isEmpty()) { result.addContent( processParamTags( holder, isParameters, paramTags, getRankMap(writer.configuration().utils, formalParameters), writer, alreadyDocumented)); } if (alreadyDocumented.size() != formalParameters.size()) { // Some parameters are missing corresponding @param tags. // Try to inherit them. result.addContent( getInheritedTagletOutput( isParameters, holder, writer, formalParameters, alreadyDocumented)); } return result; }