Reports calls to `Map.get()` which could be replaced with `getOrDefault()`, `computeIfAbsent()` or `putIfAbsent()`.

- Map.getOrDefault method could be used to replace the code like this:

            String val = map.containsKey(key) ? map.get(key) : "none";

- Map.computeIfAbsent method could be used to replace the code like this:

            List<String> list = map.get(key);
            if (list == null) {
              list = new ArrayList<>();
              map.put(key, list);
            }

- Map.putIfAbsent method could be used to replace the code like this:

            String val = map.get(key);
            if (val == null) map.put(key, newVal);

- Map.merge method could be used to replace the code like this:

            Integer val = map.get(key);
            if (val == null) map.put(key, 1);
            else map.put(key, val + 1);

This inspection only reports if the project or module is configured to use a language level of 8 or higher.

New in 2016.3