Reports all new expressions with type arguments that can be replaced a with diamond type <>.

Example:


  List<String> list = new ArrayList<String>(); // reports array list type argument

After the quick-fix is applied:


  List<String> list = new ArrayList<>();

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