try {
String[] inputFileNames = parseArgs(args);
for (String fileName : collectFileNames(inputFileNames)) {
System.out.println("Processing " + fileName);
RandomAccessFile raf = openInputFile(fileName);
DexData dexData = new DexData(raf);
dexData.load();
DexMethodCounts.generate(
dexData, includeClasses, packageFilter, maxDepth, filter);
raf.close();
}
System.out.println("Overall method count: " + DexMethodCounts.overallCount);