File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
java/ql/lib/semmle/code/java/frameworks/android Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -127,10 +127,3 @@ class CreateFromParcelMethod extends Method {
127127 this .getEnclosingCallable ( ) .getDeclaringType ( ) .getAnAncestor ( ) instanceof TypeParcelable
128128 }
129129}
130-
131- /**
132- * A method annotated with the `android.webkit.JavascriptInterface` annotation.
133- */
134- class JavascriptInterfaceMethod extends Method {
135- JavascriptInterfaceMethod ( ) { this .hasAnnotation ( "android.webkit" , "JavascriptInterface" ) }
136- }
Original file line number Diff line number Diff line change @@ -85,3 +85,10 @@ class ShouldOverrideUrlLoading extends Method {
8585 this .hasName ( "shouldOverrideUrlLoading" )
8686 }
8787}
88+
89+ /**
90+ * A method annotated with the `android.webkit.JavascriptInterface` annotation.
91+ */
92+ class JavascriptInterfaceMethod extends Method {
93+ JavascriptInterfaceMethod ( ) { this .hasAnnotation ( "android.webkit" , "JavascriptInterface" ) }
94+ }
You can’t perform that action at this time.
0 commit comments