Java: Add class to represent android.webkit.WebView#addJavascriptInterface

This commit is contained in:
Ed Minnix
2022-10-26 11:55:16 -04:00
parent 8b11e98d42
commit 30cd447f69

View File

@@ -39,6 +39,14 @@ class WebViewGetUrlMethod extends Method {
}
}
/** The method `addJavascriptInterface` of the class `android.webkit.WebView` */
class WebViewAddJavascriptInterfaceMethod extends Method {
WebViewAddJavascriptInterfaceMethod() {
this.getDeclaringType() instanceof TypeWebView and
this.hasName("addJavascriptInterface")
}
}
/**
* A method allowing any-local-file and cross-origin access in the class `android.webkit.WebSettings`.
*/