use of jadx.gui.jobs.IndexTask in project jadx by skylot.
the class MainWindow method waitDecompileTask.
public void waitDecompileTask() {
synchronized (DECOMPILER_TASK_SYNC) {
if (cacheObject.getIndexService().isComplete()) {
return;
}
try {
DecompileTask decompileTask = new DecompileTask(this, wrapper);
backgroundExecutor.executeAndWait(decompileTask);
IndexTask indexTask = new IndexTask(this, wrapper);
backgroundExecutor.executeAndWait(indexTask);
processDecompilationResults(decompileTask.getResult(), indexTask.getResult());
} catch (Exception e) {
LOG.error("Decompile task execution failed", e);
}
}
}
Aggregations