protected Content getLinkForClass ( Content link , LinkInfo linkInfo , Type type ) { if ( linkInfo . isTypeBound && linkInfo . excludeTypeBoundsLinks ) { //Since we are excluding type parameter links, we should not //be linking to the type bound. link . addContent ( type . typeName ( ) ) ; link . addContent ( getTypeParameterLinks ( linkInfo ) ) ; return null ; } linkInfo . classDoc = type . asClassDoc ( ) ; final Content nlink = newContent ( ) ; nlink . addContent ( getClassLink ( linkInfo ) ) ; if ( linkInfo . includeTypeAsSepLink ) { nlink . addContent ( getTypeParameterLinks ( linkInfo , false ) ) ; } return nlink ; }
Build the link for the class .