How Exactly Does @param Work - Java?

How does the annotation @param work? If I had something like this: /* *@param testNumber; */ int testNumber = 5;...

Java Documentation - @return and @param?

I'm wondering how to document code with @return and @param ...? I'm sort of guessing that I would do something like ...

How Exactly Does @param Work - Java?

How does the annotation @param work? If I had something like this: /* *@param testNumber; */ int testNumber = 5;...