VarTypeName
`var` should not be used as a type name.

Severity
ERROR
Has Fix?
NO_FIX

The problem

As of JDK 10 var is a restricted local variable type and cannot be used for type declarations (see JEP 286).

Suppression

Suppress false positives by adding the suppression annotation @SuppressWarnings("VarTypeName") to the enclosing element.