mirror of
https://github.com/github/codeql.git
synced 2025-12-21 03:06:31 +01:00
Merge branch 'main' into jcogs33/exclude-funcexpr-from-dataflowtargetapi
This commit is contained in:
@@ -60,7 +60,8 @@ private predicate isRelevantForModels(J::Callable api) {
|
||||
not isJdkInternal(api.getCompilationUnit()) and
|
||||
not api instanceof J::MainMethod and
|
||||
not api instanceof J::StaticInitializer and
|
||||
not exists(J::FunctionalExpr funcExpr | api = funcExpr.asMethod())
|
||||
not exists(J::FunctionalExpr funcExpr | api = funcExpr.asMethod()) and
|
||||
not api.(J::Constructor).isParameterless()
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user