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