119 * {@inheritDoc} |
119 * {@inheritDoc} |
120 */ |
120 */ |
121 protected LinkOutput getTypeParameterLink(LinkInfo linkInfo, |
121 protected LinkOutput getTypeParameterLink(LinkInfo linkInfo, |
122 Type typeParam) { |
122 Type typeParam) { |
123 LinkInfoImpl typeLinkInfo = new LinkInfoImpl(m_writer.configuration, |
123 LinkInfoImpl typeLinkInfo = new LinkInfoImpl(m_writer.configuration, |
124 linkInfo.getContext(), typeParam); |
124 ((LinkInfoImpl) linkInfo).getContext(), typeParam); |
125 typeLinkInfo.excludeTypeBounds = linkInfo.excludeTypeBounds; |
125 typeLinkInfo.excludeTypeBounds = linkInfo.excludeTypeBounds; |
126 typeLinkInfo.excludeTypeParameterLinks = linkInfo.excludeTypeParameterLinks; |
126 typeLinkInfo.excludeTypeParameterLinks = linkInfo.excludeTypeParameterLinks; |
127 typeLinkInfo.linkToSelf = linkInfo.linkToSelf; |
127 typeLinkInfo.linkToSelf = linkInfo.linkToSelf; |
128 typeLinkInfo.isJava5DeclarationLocation = false; |
128 typeLinkInfo.isJava5DeclarationLocation = false; |
129 LinkOutput output = getLinkOutput(typeLinkInfo); |
129 LinkOutput output = getLinkOutput(typeLinkInfo); |
202 * "../../java/lang/Object.html" |
202 * "../../java/lang/Object.html" |
203 * |
203 * |
204 * @param linkInfo the information about the link. |
204 * @param linkInfo the information about the link. |
205 */ |
205 */ |
206 private DocPath getPath(LinkInfoImpl linkInfo) { |
206 private DocPath getPath(LinkInfoImpl linkInfo) { |
207 if (linkInfo.context == LinkInfoImpl.PACKAGE_FRAME) { |
207 if (linkInfo.context == LinkInfoImpl.Kind.PACKAGE_FRAME) { |
208 //Not really necessary to do this but we want to be consistent |
208 //Not really necessary to do this but we want to be consistent |
209 //with 1.4.2 output. |
209 //with 1.4.2 output. |
210 return DocPath.forName(linkInfo.classDoc); |
210 return DocPath.forName(linkInfo.classDoc); |
211 } |
211 } |
212 return m_writer.pathToRoot.resolve(DocPath.forClass(linkInfo.classDoc)); |
212 return m_writer.pathToRoot.resolve(DocPath.forClass(linkInfo.classDoc)); |