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