By adding a special tag in the method's javadoc. Example


/*
 * Function to deprecate
 *
 * @deprecated
 */
public void foo()
{ ... }

Thus, the method foo will appear as deprecated in generated javadoc.
For other tags : http://java.sun.com/j2se/1.4.2/docs/tooldocs/solaris/javadoc.html#javadoctags


Thomas

At 12:02 20/11/2003, you wrote:
hi ALl


Sorry for posting this question here, but it will be highly appreciated if anyone can explain

Ques: CAn anyone tell me how to depreciate a method in Java



Regards
Gary



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to