Collection declared by class, not interface
Reports declarations of
Collection variables made by using the collection class as a type, rather than an appropriate interface. The warning is not issued if weakening the variable type will cause a compilation error.
A quick-fix is suggested to use the appropriate collection interface (e.g.
Ignore local variables
Ignore 'private' fields and methods
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3