Emmanuel Lecharny wrote:
이희승 (Trustin Lee) wrote:
Every public methods except for the constructors are overridden from its supertypes and interfaces. They all got proper JavaDoc comments. Let me know if I am missing something.

Adding a @see Class#method() in the implementation then should help. When you look at a method javadoc it's better to know where too look at : the intheritance scheme can be feilry complex, and it can be a burden to retreive the associated Javadoc.

Something like :
   /**
    * @see javax.naming.Context#close()
    */
   public void close() throws NamingException
...

I think @see is the wrong approach for this situation. We should use @inheritedDoc instead of @see. With @see you get no useful information if your IDE supports in-editor popup docs. You also have to make an extra click to get to useful information when browsing the JavaDocs which is almost as annoying as empty docs.

Also with @inheritedDoc you can see immediately in the code that there are JavaDocs for the method.

IMO using @inheritedDoc instead of empty JavaDocs should be the standard practice in any Java project.

-Mike

Reply via email to