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