Skip to content

Commit a9d2b93

Browse files
committed
Java: Add qldoc.
1 parent dbfc256 commit a9d2b93

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

java/ql/lib/semmle/code/java/dispatch/ObjFlow.qll

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,10 @@ private VirtualMethodAccess objectToString(ObjNode n) {
236236
result.getQualifier() = n.asExpr() and sink(n)
237237
}
238238

239+
/**
240+
* Holds if `ma` is an `Object.toString()` call taking possibly improved type
241+
* bounds into account.
242+
*/
239243
predicate objectToStringCall(VirtualMethodAccess ma) { ma = objectToString(_) }
240244

241245
/**

0 commit comments

Comments
 (0)