mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Java: qldoc fix and changenote.
This commit is contained in:
4
java/ql/lib/change-notes/2022-10-13-stream-collect.md
Normal file
4
java/ql/lib/change-notes/2022-10-13-stream-collect.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
category: minorAnalysis
|
||||
---
|
||||
* Added support for common patterns involving `Stream.collect` and common collectors like `Collectors.toList()`.
|
||||
@@ -114,8 +114,10 @@ class SummarizedCallableBase extends TSummarizedCallableBase {
|
||||
this instanceof TSyntheticCallable
|
||||
}
|
||||
|
||||
/** Gets this callable cast as a `Callable`. */
|
||||
Callable asCallable() { this = TSimpleCallable(result) }
|
||||
|
||||
/** Gets this callable cast as a `SyntheticCallable`. */
|
||||
SyntheticCallable asSyntheticCallable() { this = TSyntheticCallable(result) }
|
||||
|
||||
/** Gets a call that targets this callable. */
|
||||
|
||||
Reference in New Issue
Block a user