aspose file tools*
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
Author

Deprecation

Eric Lidell
Greenhorn

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: 8919

http://java.sun.com/j2se/1.4.2/docs/guide/misc/deprecation/deprecation.html


Groovy
N Naveen
Greenhorn

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: http://aspose.com/file-tools
 
subject: Deprecation