Exemplo n.º 1
0
 public static void allMethods() throws HackAssertionException {
   ActivityThread_currentActivityThread = ActivityThread.method("currentActivityThread");
   AssetManager_addAssetPath = AssetManager.method("addAssetPath", String.class);
   Application_attach = Application.method("attach", Context.class);
   ClassLoader_findLibrary = ClassLoader.method("findLibrary", String.class);
   if (LexFile != null && LexFile.getmClass() != null) {
     LexFile_loadLex = LexFile.method("loadLex", String.class, Integer.TYPE);
     LexFile_loadClass = LexFile.method("loadClass", String.class, ClassLoader.class);
     LexFile_close = LexFile.method("close");
     DexClassLoader_findClass = DexClassLoader.method("findClass", String.class);
   }
 }