GRouterJavascriptInterface { @JavascriptInterface @Keep public final void startPage(String url) { if (!hasAccessPermission()) { return; } GRouter.getInstance().startActivity(this.activity, url); } GRouterJavascriptInterface(Activity activity); void setUrl(String url); @JavascriptInterface @Keep final String executeTask(String url); @JavascriptInterface @Keep final void startPage(String url); boolean hasAccessPermission(); GRouterJavascriptInterface addAccessDomain(String domain);  }
@Test public void startPage() { }