use of jadx.core.utils.files.DexFile in project jadx by skylot.
the class RootNode method load.
public void load(List<InputFile> inputFiles) throws DecodeException {
dexNodes = new ArrayList<DexNode>();
for (InputFile input : inputFiles) {
for (DexFile dexFile : input.getDexFiles()) {
try {
LOG.debug("Load: {}", dexFile);
DexNode dexNode = new DexNode(this, dexFile);
dexNodes.add(dexNode);
} catch (Exception e) {
throw new DecodeException("Error decode file: " + dexFile, e);
}
}
}
for (DexNode dexNode : dexNodes) {
dexNode.loadClasses();
}
initInnerClasses();
}
Aggregations