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
This commit is contained in:
3
dist/docs/readme.txt
vendored
3
dist/docs/readme.txt
vendored
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user