CodeQL library for Java/Kotlin
codeql/java-all 1.1.2-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()