diff options
author | Roman Shevchenko <roman.shevchenko@jetbrains.com> | 2014-05-26 15:47:00 +0400 |
---|---|---|
committer | Roman Shevchenko <roman.shevchenko@jetbrains.com> | 2014-05-26 15:49:53 +0400 |
commit | 27f08da5cbeca38640327d36feff6274f72cc7b0 (patch) | |
tree | 6f9920bab4293492510ffcca542b12fd57719d92 /dist/docs/readme.txt | |
parent | 9e231a7e2e86c7e9030667f22b9fa66af96b7b72 (diff) | |
download | fernflower-27f08da5cbeca38640327d36feff6274f72cc7b0.tar fernflower-27f08da5cbeca38640327d36feff6274f72cc7b0.tar.gz fernflower-27f08da5cbeca38640327d36feff6274f72cc7b0.tar.lz fernflower-27f08da5cbeca38640327d36feff6274f72cc7b0.tar.xz fernflower-27f08da5cbeca38640327d36feff6274f72cc7b0.zip |
deprecation comments generation changed once again
new behavior:
- depreaction comment (/** @deprecated */) is added always
- @Deprecated annotation is added only when presented in .class file
rationale:
- both deprecation comment and @Deprecated anno produce "Deprecated" attribute
- adding annotation to members deprecated by comment (old behavior) is actually incorrect
- adding comment to members deprecated by annotation may be incorrect but is acceptable (there is no way to tell if a member was deprecated by sole annotation or both by annotation and comment)
- additional configuration option is therefore no longer needed
Diffstat (limited to 'dist/docs/readme.txt')
-rw-r--r-- | dist/docs/readme.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dist/docs/readme.txt b/dist/docs/readme.txt index 09d17be..e51a5de 100644 --- a/dist/docs/readme.txt +++ b/dist/docs/readme.txt @@ -63,8 +63,7 @@ ren (0): rename ambiguous (resp. obfuscated) classes and class elements urc : full name of user-supplied class implementing IIdentifierRenamer. It is used to determine which class identifiers should be renamed and provides new identifier names. For more information s. section 5 -dpc (0): generate a special comment ('/** @deprecated */') for deprecated classes and class members -inn (1): check for IntelliJ IDEA-specific @NotNull annotation and remove inserted code if found +inn (1): check for IntelliJ IDEA-specific @NotNull annotation and remove inserted code if found lac (0): decompile lambda expressions to anonymous classes nls (0): define new line character to be used for output. 0 - '\r\n' (Windows), 1 - '\n' (Linux) |