PR for issue #191

This commit is contained in:
Sergey Toshin
2018-01-14 21:04:28 +03:00
parent c476593925
commit 5d60f2cdf2
5 changed files with 29 additions and 5 deletions
@@ -47,6 +47,10 @@ public class JadxCLIArgs implements IJadxArgs {
@Parameter(names = {"--show-bad-code"}, description = "show inconsistent code (incorrectly decompiled)")
protected boolean showInconsistentCode = false;
@Parameter(names = {"--no-imports"}, converter = InvertedBooleanConverter.class,
description = "disables use of imports, always writes entire package name")
protected boolean useImports = true;
@Parameter(names = "--no-replace-consts", converter = InvertedBooleanConverter.class,
description = "don't replace constant value with matching constant field")
protected boolean replaceConsts = true;
@@ -246,6 +250,11 @@ public class JadxCLIArgs implements IJadxArgs {
return showInconsistentCode;
}
@Override
public boolean isUsingImports() {
return useImports;
}
@Override
public boolean isVerbose() {
return verbose;