Collection
type. While it's
not necessarily a problem, static collections often cause memory leaks and are
therefore prohibited by some coding standards.
Example:
public class Example {
static List<String> list = new ArrayList<>();
}
Configure the inspection:
java.util.WeakHashMap
type.