This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 8904

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
 
Similar Threads
deprecated behavior
Deprecated
Kill a thread
How to stop an alive thread ?
How to stop a thread