summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStiver <stiver.mail@gmail.com>2014-04-01 15:21:37 +0200
committerStiver <stiver.mail@gmail.com>2014-04-01 15:21:37 +0200
commit4d48812ad04a70a26c27b6524d43c474d67bedd5 (patch)
tree7d743300fe1b52b0abc5c17d9d4b85e8cc954b3c
parent988a7b935a26f05fd59b452840932f543fbb2643 (diff)
downloadfernflower-4d48812ad04a70a26c27b6524d43c474d67bedd5.tar
fernflower-4d48812ad04a70a26c27b6524d43c474d67bedd5.tar.gz
fernflower-4d48812ad04a70a26c27b6524d43c474d67bedd5.tar.lz
fernflower-4d48812ad04a70a26c27b6524d43c474d67bedd5.tar.xz
fernflower-4d48812ad04a70a26c27b6524d43c474d67bedd5.zip
updating readme with new options
-rw-r--r--dist/docs/readme.txt5
-rw-r--r--src/de/fernflower/main/DecompilerContext.java2
2 files changed, 7 insertions, 0 deletions
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);
}