use of org.jf.dexlib2.dexbacked.reference.DexBackedMethodReference in project android by JetBrains.
the class DexParser method getMethodsByClassName.
@NotNull
private static Multimap<String, MethodReference> getMethodsByClassName(@NotNull DexBackedDexFile dexFile) {
Multimap<String, MethodReference> methodsByClass = ArrayListMultimap.create();
for (int i = 0, m = dexFile.getMethodCount(); i < m; i++) {
MethodReference methodRef = new DexBackedMethodReference(dexFile, i);
methodsByClass.put(methodRef.getDefiningClass(), methodRef);
}
return methodsByClass;
}
Aggregations