mirror of
https://github.com/github/codeql.git
synced 2026-04-24 16:25:15 +02:00
Java: support Argument[this] in NotAModelApiParameter
This commit is contained in:
@@ -262,7 +262,7 @@ private class NotAModelApiParameter extends CharacteristicsImpl::UninterestingTo
|
||||
NotAModelApiParameter() { this = "not a model API parameter" }
|
||||
|
||||
override predicate appliesToEndpoint(Endpoint e) {
|
||||
not exists(ModelExclusions::ModelApi api | api.getAParameter() = e.asTop())
|
||||
not exists(ModelExclusions::ModelApi api | api = e.getEnclosingCallable())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user