public void inherit(DocFinder.Input input, DocFinder.Output output) {
        Utils utils = input.utils;
        if (input.tagId == null) {
            input.isTypeVariableParamTag = ((ParamTree)input.docTreeInfo.docTree).isTypeParameter();
            ExecutableElement ee = (ExecutableElement)input.docTreeInfo.element;
            CommentHelper ch = utils.getCommentHelper(ee);
            List<? extends Element> parameters = input.isTypeVariableParamTag
                    ? ee.getTypeParameters()
                    : ee.getParameters();
            String target = ch.getParameterName(input.docTreeInfo.docTree);
            for (int i = 0 ; i < parameters.size(); i++) {
                Element e = parameters.get(i);
                String pname = input.isTypeVariableParamTag
                        ? utils.getTypeName(e.asType(), false)
                        : utils.getSimpleName(e);
                if (pname.equals(target)) {
                    input.tagId = String.valueOf(i);
                    break;
                }
            }
        }
        ExecutableElement md = (ExecutableElement)input.element;
        CommentHelper ch = utils.getCommentHelper(md);
        List<? extends DocTree> tags = input.isTypeVariableParamTag
                ? utils.getTypeParamTrees(md)
                : utils.getParamTrees(md);
        List<? extends Element> parameters = input.isTypeVariableParamTag
                ? md.getTypeParameters()
                : md.getParameters();
        Map<String, String> rankMap = getRankMap(utils, parameters);
        for (DocTree tag : tags) {
            String paramName = ch.getParameterName(tag);
            if (rankMap.containsKey(paramName) && rankMap.get(paramName).equals((input.tagId))) {
                output.holder = input.element;
                output.holderTag = tag;
                output.inlineTags = ch.getBody(utils.configuration, tag);
                return;
            }
        }
    }
public void inherit ( DocFinder . Input input , DocFinder . Output output ) { Utils utils = input . utils ; if ( input . tagId == null ) { input . isTypeVariableParamTag = ( ( ParamTree ) input . docTreeInfo . docTree ) . isTypeParameter ( ) ; ExecutableElement ee = ( ExecutableElement ) input . docTreeInfo . element ; CommentHelper ch = utils . getCommentHelper ( ee ) ; List < ? extends Element > parameters = input . isTypeVariableParamTag ? ee . getTypeParameters ( ) : ee . getParameters ( ) ; String target = ch . getParameterName ( input . docTreeInfo . docTree ) ; for ( int i = 0 ; i < parameters . size ( ) ; i ++ ) { Element e = parameters . get ( i ) ; String pname = input . isTypeVariableParamTag ? utils . getTypeName ( e . asType ( ) , false ) : utils . getSimpleName ( e ) ; if ( pname . equals ( target ) ) { input . tagId = String . valueOf ( i ) ; break ; } } } ExecutableElement md = ( ExecutableElement ) input . element ; CommentHelper ch = utils . getCommentHelper ( md ) ; List < ? extends DocTree > tags = input . isTypeVariableParamTag ? utils . getTypeParamTrees ( md ) : utils . getParamTrees ( md ) ; List < ? extends Element > parameters = input . isTypeVariableParamTag ? md . getTypeParameters ( ) : md . getParameters ( ) ; Map < String , String > rankMap = getRankMap ( utils , parameters ) ; for ( DocTree tag : tags ) { String paramName = ch . getParameterName ( tag ) ; if ( rankMap . containsKey ( paramName ) && rankMap . get ( paramName ) . equals ( ( input . tagId ) ) ) { output . holder = input . element ; output . holderTag = tag ; output . inlineTags = ch . getBody ( utils . configuration , tag ) ; return ; } } }
{@inheritDoc}