File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
csharp/ql/src/utils/modelgenerator/internal
java/ql/src/utils/modelgenerator/internal Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ private predicate isRelevantForModels(CS::Callable api) {
39
39
not api instanceof CS:: ConversionOperator and
40
40
not api instanceof Util:: MainMethod and
41
41
not api instanceof CS:: Destructor and
42
+ not api instanceof CS:: AnonymousFunctionExpr and
42
43
not api .( CS:: Constructor ) .isParameterless ( )
43
44
}
44
45
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ private predicate isRelevantForModels(J::Callable api) {
65
65
not isJdkInternal ( api .getCompilationUnit ( ) ) and
66
66
not api instanceof J:: MainMethod and
67
67
not api instanceof J:: StaticInitializer and
68
+ not exists ( J:: FunctionalExpr funcExpr | api = funcExpr .asMethod ( ) ) and
68
69
not api .( J:: Constructor ) .isParameterless ( )
69
70
}
70
71
You can’t perform that action at this time.
0 commit comments