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 5b8fa3f commit ac33796Copy full SHA for ac33796
java/ql/lib/change-notes/2022-10-13-stream-collect.md
@@ -0,0 +1,4 @@
1
+---
2
+category: minorAnalysis
3
4
+* Added support for common patterns involving `Stream.collect` and common collectors like `Collectors.toList()`.
java/ql/lib/semmle/code/java/dataflow/FlowSummary.qll
@@ -114,8 +114,10 @@ class SummarizedCallableBase extends TSummarizedCallableBase {
114
this instanceof TSyntheticCallable
115
}
116
117
+ /** Gets this callable cast as a `Callable`. */
118
Callable asCallable() { this = TSimpleCallable(result) }
119
120
+ /** Gets this callable cast as a `SyntheticCallable`. */
121
SyntheticCallable asSyntheticCallable() { this = TSyntheticCallable(result) }
122
123
/** Gets a call that targets this callable. */
0 commit comments