mirror of
https://github.com/github/codeql.git
synced 2026-05-03 04:39:29 +02:00
Merge pull request #10115 from atorralba/atorralba/fragment-fix
Java: Add support for androidx.fragment.app.Fragment
This commit is contained in:
@@ -4,7 +4,9 @@ import java
|
||||
|
||||
/** The class `android.app.Fragment`. */
|
||||
class AndroidFragment extends Class {
|
||||
AndroidFragment() { this.getAnAncestor().hasQualifiedName("android.app", "Fragment") }
|
||||
AndroidFragment() {
|
||||
this.getAnAncestor().hasQualifiedName(["android.app", "androidx.fragment.app"], "Fragment")
|
||||
}
|
||||
}
|
||||
|
||||
/** The method `instantiate` of the class `android.app.Fragment`. */
|
||||
|
||||
Reference in New Issue
Block a user