CodeQL library for Java/Kotlin
codeql/java-all 7.1.3-dev (changelog, source)
Search

Member predicate ClassInstanceExpr::isDiamond

Holds if this class instance creation expression has an empty type argument list of the form <>.

predicate isDiamond()