What are tags like @param and @return in IntelliJ IDEA?

I just started using IntelliJ IDEA for Java programming, and I see tags (called tags?) Like @param and @return. What is the meaning of these tags? IntelliJ really complains if I don't have these tags in my code!

What are the most important ones to know and what are they used for?

In the IntelliJ documentation regarding these tags, I did not find anything suitable.

+5
source share
1 answer

Yes, they are called tags. If you see these tags in the comments, they should document your method parameters and return value.

JavaDoc. Java API. . JavaDoc.

+7

All Articles