Search code examples
androidjavadoc

What does @link mean in java/Android documentation?


What does this mean:

{@link KeyEvent#KEYCODE_ENTER}

I have seen it a couple times and I'm not quite sure what it represents. I am writing a testing program using Robotium, JUnit, and Android. If anyone could offer some clarification on the subject, more specificly, the {@link} part, that would be great!

Thank you in advance.


Solution

  • It's an annotation used so when you generate the Javadoc, you'll have a link for the specified item. In this case, the KeyEvent class, with the anchor of KEYCODE_ENTER.