Eugene
Eugene

Reputation: 60184

Why IDEA shows JavaDoc as error?

/**
     * @param string
     * @throws ApplicationException
     */

IDEA highlight the 'string' and tells "No documentation found". Why is that so?

Upvotes: 19

Views: 12251

Answers (2)

Longalei
Longalei

Reputation: 502

My development tools is Android Studio, I meet the problem like you.
You just do it like so.

From File => Settings

enter image description here

Upvotes: 3

CrazyCoder
CrazyCoder

Reputation: 401975

Write some documentation for the string param or adjust the Declaration has Javadoc problems inspection settings so that such problems are not reported:

Declaration has Javadoc problems

Upvotes: 19

Related Questions