Java Code Examples for jadx.api.JadxDecompiler#printErrorsReport()

The following examples show how to use jadx.api.JadxDecompiler#printErrorsReport() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: RunProgramJad.java    From APKRepatcher with MIT License 5 votes vote down vote up
public static void decompileJar2Java(File jarPath, String outputSourceDirectory) throws JadxException
{
	 JadxDecompiler jadx = new JadxDecompiler();
	 jadx.setOutputDir(new File(outputSourceDirectory));
	 jadx.loadFile(jarPath);
	 jadx.save();
		if (jadx.getErrorsCount() != 0) {
			jadx.printErrorsReport();
		} else {
		}
}
 
Example 2
Source File: BaseExternalTest.java    From Box with Apache License 2.0 4 votes vote down vote up
private void printErrorReport(JadxDecompiler jadx) {
	jadx.printErrorsReport();
	assertThat(jadx.getErrorsCount(), is(0));
}
 
Example 3
Source File: BaseExternalTest.java    From Box with Apache License 2.0 4 votes vote down vote up
private void printErrorReport(JadxDecompiler jadx) {
	jadx.printErrorsReport();
	assertThat(jadx.getErrorsCount(), is(0));
}
 
Example 4
Source File: BaseExternalTest.java    From jadx with Apache License 2.0 4 votes vote down vote up
private void printErrorReport(JadxDecompiler jadx) {
	jadx.printErrorsReport();
	assertThat(jadx.getErrorsCount(), is(0));
}