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) {
3939 not api instanceof CS:: ConversionOperator and
4040 not api instanceof Util:: MainMethod and
4141 not api instanceof CS:: Destructor and
42+ not api instanceof CS:: AnonymousFunctionExpr and
4243 not api .( CS:: Constructor ) .isParameterless ( )
4344}
4445
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ private predicate isRelevantForModels(J::Callable api) {
6565 not isJdkInternal ( api .getCompilationUnit ( ) ) and
6666 not api instanceof J:: MainMethod and
6767 not api instanceof J:: StaticInitializer and
68+ not exists ( J:: FunctionalExpr funcExpr | api = funcExpr .asMethod ( ) ) and
6869 not api .( J:: Constructor ) .isParameterless ( )
6970}
7071
You can’t perform that action at this time.
0 commit comments