CodeQL library for Java
codeql/java-all 0.3.3 (changelog, source)
Search

Predicate implicitToStringCall

Holds if e occurs in a position where it may be converted to a string by an implicit call to toString().

Import path

import semmle.code.java.StringFormat
predicate implicitToStringCall(Expr e)