File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Deprecation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Deprecation" Watch "Deprecation" New topic


Eric Lidell

Joined: Jul 02, 2003
Posts: 20
How do i make a method in my class deprecated ?
is there any qualifier for it ?
How does my compiler know its a deprecated method ?
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927

N Naveen

Joined: Sep 04, 2003
Posts: 27
Hi ,
I happened to read the specific article.I had a similar doubt in deprecation.Does the java compiler parse the javadoc comments tags also.
To deprecate a method ,in its corresponding javadoc comment we have to include @deprecated .
So this means the javac compiler has to parse the javadoc comments also.
What other tags does it compile ?
I agree. Here's the link:
subject: Deprecation
jQuery in Action, 3rd edition