| Author |
how to add deprecated tag to java files in an entire module
|
Unni Pillai
Ranch Hand
Joined: Aug 22, 2010
Posts: 35
|
|
Hi,
I have to add @deprecated tag to about 300 java files . Is there any plugins available to do that at once? or I have to open each one of them and do that :-)
Any ideas appreciated.
Thanks
|
SCJP,SCWCD,SCEA
|
 |
Junilu Lacar
Bartender
Joined: Feb 26, 2001
Posts: 4134
|
|
|
Hi Unni, that sounds like something I would look to do with a shell script or batch file. Or a scripting language like Ruby or Groovy. Try asking around in those forums. Good luck.
|
Junilu - [How to Ask Questions] [How to Answer Questions] [MiH]
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32833
|
|
|
But why are you deprecating so many things? Are you saying there are >300 mistakes which you cannot correct?
|
 |
Unni Pillai
Ranch Hand
Joined: Aug 22, 2010
Posts: 35
|
|
Thanks for the quick reply !
@Campbell Ritchie The reason why I need to do is something like, we have some APIs which are going to to be rewritten soon.. but will be used by other developers . so we have to warn them saying that this class will be changed soon.. I know, this is kind of wired but.....
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32833
|
|
|
Can’t you change the implementation and keep the public interface unchanged?
|
 |
 |
|
|
subject: how to add deprecated tag to java files in an entire module
|
|
|