Issue #710 Information about deobfuscation settings in the error comment

This commit is contained in:
Jindra Petřík
2014-11-05 19:04:49 +01:00
parent 881e32e349
commit 7027ed6da7
6 changed files with 19 additions and 2 deletions

View File

@@ -59,6 +59,8 @@ import java.util.regex.Pattern;
public class Helper {
public static String newLine = System.getProperty("line.separator");
public static String decompilationErrorAdd = null;
/**
* Converts array of int values to string
@@ -807,6 +809,9 @@ public class Helper {
writer.appendNoHilight("/*").newLine();
writer.appendNoHilight(" * ").appendNoHilight(AppResources.translate("decompilationError")).newLine();
writer.appendNoHilight(" * ").appendNoHilight(AppResources.translate("decompilationError.obfuscated")).newLine();
if(decompilationErrorAdd!=null){
writer.appendNoHilight(" * ").appendNoHilight(decompilationErrorAdd).newLine();
}
writer.appendNoHilight(" * ").appendNoHilight(AppResources.translate("decompilationError.errorType")).
appendNoHilight(": " + ex.getClass().getSimpleName()).newLine();
writer.appendNoHilight(" */").newLine();