Merge branch 'main' into jcogs33/exclude-funcexpr-from-dataflowtargetapi

This commit is contained in:
Jami
2022-12-13 17:10:39 -05:00
committed by GitHub
107 changed files with 479 additions and 607 deletions

View File

@@ -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()
}
/**