diff --git a/dist/docs/readme.txt b/dist/docs/readme.txt index b00a1f4..09d17be 100644 --- a/dist/docs/readme.txt +++ b/dist/docs/readme.txt @@ -63,6 +63,11 @@ 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 +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) + The default logging level is INFO. This value can be overwritten by setting the option 'log' as follows: diff --git a/src/de/fernflower/main/DecompilerContext.java b/src/de/fernflower/main/DecompilerContext.java index 37d50ad..99001a0 100644 --- a/src/de/fernflower/main/DecompilerContext.java +++ b/src/de/fernflower/main/DecompilerContext.java @@ -88,6 +88,8 @@ public class DecompilerContext { mapDefault.put(IFernflowerPreferences.NEW_LINE_SEPARATOR, "0"); + mapDefault.put(IFernflowerPreferences.IDEA_NOT_NULL_ANNOTATION, "1"); + if(propertiesCustom != null) { mapDefault.putAll(propertiesCustom); }