mirror of
https://github.com/github/codeql.git
synced 2026-02-28 12:53:49 +01:00
Add documentation to new library method and use the singular form
This commit is contained in:
@@ -43,8 +43,9 @@ class IntentGetExtraMethod extends Method, TaintPreservingCallable {
|
||||
override predicate returnsTaintFrom(int arg) { arg = -1 }
|
||||
}
|
||||
|
||||
class BundleGetterMethods extends Method, TaintPreservingCallable {
|
||||
BundleGetterMethods() {
|
||||
/** A getter on `android.os.BaseBundle` or `android.os.Bundle`. */
|
||||
class BundleGetterMethod extends Method, TaintPreservingCallable {
|
||||
BundleGetterMethod() {
|
||||
getDeclaringType().hasQualifiedName("android.os", ["BaseBundle", "Bundle"]) and
|
||||
getName().matches("get%")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user