MCPcopy Create free account
hub / github.com/cinit/TMoe / getDexIndexForIndex

Method getDexIndexForIndex

app/src/main/java/cc/ioctl/tmoe/util/dex/DexKit.java:301–307  ·  view source on GitHub ↗

Get the dex index where the target dex class belongs to. Note that this dex index is only used as a hint. @param i the dex index @return the dex indexes where the target class belongs to

(int i)

Source from the content-addressed store, hash-verified

299 * @return the dex indexes where the target class belongs to
300 */
301 private static int[] getDexIndexForIndex(int i) {
302 switch (i) {
303 case C_THEME:
304 return new int[]{1};
305 }
306 throw new IndexOutOfBoundsException("No class index for " + i + ",max = " + DEOBF_NUM_C);
307 }
308
309 private static DexMethodDescriptor verifyFoundCandidateForIndex(int i, HashSet<DexMethodDescriptor> candidateDexMethods,
310 DexDeobfReport report) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected