Community
Participate
Working Groups
As IWorkingCopy is globally deprecated (e.g. @deprecated tag in interface javadoc comment), there's no advice on each method to replace deprecated calls. Some of current method of JavaModel classes have some deprecated method f this interface which still have @see IWorkingCopy#... in javadoc comment. All this kind of reference must be removed and replaced by a "Use {@link ...} instead." after @deprecated tag... Note that this bug is a FUP of eclipse.tools.jdt newsgroup thread: news://news.eclipse.org:119/ef0tkl$osb$1@utils.eclipse.org
Not sure why we would need to improve deprecated javadocs... similar to the implementation of the deprecated methods which is not guaranteed to use non deprecated code.
Agree that perhaps, javadoc comments of deprecated methods do not need to be modified. However, user still needs some piece of advice while seeing a deprecated warning on a method call. Currently, these advice do not exist in IWorkingCopy... Either we add in IWorkingCopy javadoc comment a link to documentation which tells user how to use ICompilationUnit or - and I think it should be better - we add a @deprecated tag on each method with another new API method to use instead.
Created attachment 51065 [details] Proposed patch @deprecated tag added on all IWorkingCopy methods + fix some unlinked "Use ... instead" on other public @deprecated methods...
Released for 3.3 M3 in HEAD stream.
Verified for 3.3 M3 using warm-up build I20061030-0010