我想在我的 Javadoc 中轻松创建类、方法、字段等的链接,而无需键入完整的表达式,例如,{@link AllowAllHostnameVerifier}
.
在 Eclipse 中执行此操作最快的方法是什么?
If you don't already have a Javadoc for the element you're documenting, press
Shift+Alt+J.
Using the AllowAllHostnameVerifier
example, from within the Javadoc comment where you'd like the link, use autocomplete: Type AAHV
then Ctrl+Space.
Select {@link AllowAllHostnameVerifier}
from the list of autocomplete options by pressing ↓ then Enter.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)