Reports any access to the java.util.Collections fields EMPTY_LIST, EMPTY_MAP or EMPTY_SET. Those expressions can be replaced by method calls to emptyList(), emptyMap() and emptySet(). Such method calls prevent "unchecked" warnings by the compiler because the type parameters can be inferred.

This inspection only reports if the language level of the project or module is 5 or higher