We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfe9ee3 commit 1c06378Copy full SHA for 1c06378
java/ql/src/utils/modelgenerator/internal/CaptureModelsSpecific.qll
@@ -59,7 +59,8 @@ private predicate isRelevantForModels(J::Callable api) {
59
not isInTestFile(api.getCompilationUnit().getFile()) and
60
not isJdkInternal(api.getCompilationUnit()) and
61
not api instanceof J::MainMethod and
62
- not api instanceof J::StaticInitializer
+ not api instanceof J::StaticInitializer and
63
+ not exists(J::FunctionalExpr funcExpr | api = funcExpr.asMethod())
64
}
65
66
/**
0 commit comments