Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deprecation

 
Eric Lidell
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8927
Firefox Browser Java Spring
 
N Naveen
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic