Skip to content

Commit ac33796

Browse files
committed
Java: qldoc fix and changenote.
1 parent 5b8fa3f commit ac33796

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,10 @@ class SummarizedCallableBase extends TSummarizedCallableBase {
114114
this instanceof TSyntheticCallable
115115
}
116116

117+
/** Gets this callable cast as a `Callable`. */
117118
Callable asCallable() { this = TSimpleCallable(result) }
118119

120+
/** Gets this callable cast as a `SyntheticCallable`. */
119121
SyntheticCallable asSyntheticCallable() { this = TSyntheticCallable(result) }
120122

121123
/** Gets a call that targets this callable. */

0 commit comments

Comments
 (0)