protected void getLinkForTypeVariable(Content link, LinkInfo linkInfo, Type type) {
		link.addContent(getTypeAnnotationLinks(linkInfo));
		linkInfo.isTypeBound = true;
		final Doc owner = type.asTypeVariable().owner();
		if ((!linkInfo.excludeTypeParameterLinks) && owner instanceof ClassDoc) {
			linkInfo.classDoc = (ClassDoc) owner;
			final Content label = newContent();
			label.addContent(type.typeName());
			linkInfo.label = label;
			link.addContent(getClassLink(linkInfo));
		} else {
			link.addContent(type.typeName());
		}
		final Type[] bounds = type.asTypeVariable().bounds();
		if (!linkInfo.excludeTypeBounds) {
			linkInfo.excludeTypeBounds = true;
			final SARLFeatureAccess kw = Utils.getKeywords();
			for (int i = 0; i < bounds.length; ++i) {
				link.addContent(i > 0 ? " " + kw.getAmpersandKeyword() + " " //$NON-NLS-1$ //$NON-NLS-2$
						: " " + kw.getExtendsKeyword() + " "); //$NON-NLS-1$ //$NON-NLS-2$
				setBoundsLinkInfo(linkInfo, bounds[i]);
				link.addContent(getLink(linkInfo));
			}
		}
	}
protected void getLinkForTypeVariable ( Content link , LinkInfo linkInfo , Type type ) { link . addContent ( getTypeAnnotationLinks ( linkInfo ) ) ; linkInfo . isTypeBound = true ; final Doc owner = type . asTypeVariable ( ) . owner ( ) ; if ( ( ! linkInfo . excludeTypeParameterLinks ) && owner instanceof ClassDoc ) { linkInfo . classDoc = ( ClassDoc ) owner ; final Content label = newContent ( ) ; label . addContent ( type . typeName ( ) ) ; linkInfo . label = label ; link . addContent ( getClassLink ( linkInfo ) ) ; } else { link . addContent ( type . typeName ( ) ) ; } final Type [ ] bounds = type . asTypeVariable ( ) . bounds ( ) ; if ( ! linkInfo . excludeTypeBounds ) { linkInfo . excludeTypeBounds = true ; final SARLFeatureAccess kw = Utils . getKeywords ( ) ; for ( int i = 0 ; i < bounds . length ; ++ i ) { link . addContent ( i > 0 ? " " + kw . getAmpersandKeyword ( ) + " " : " " + kw . getExtendsKeyword ( ) + " " ) ; setBoundsLinkInfo ( linkInfo , bounds [ i ] ) ; link . addContent ( getLink ( linkInfo ) ) ; } } }
Build the link for the type variable.

@param link the link.
@param linkInfo the information on the link.
@param type the type.