Reports construction of (temporary) new objects inside an equals(), hashCode(), compareTo or
Comparator.compare() method.
Besides constructor invocations, new objects can also be created by autoboxing or iterator creation inside a foreach statement.
This can cause performance problems for example when objects are added to a Set or Map,
where these methods will be called often.
This inspection will not warn when the objects are created in a throw or assert statement.
New in 2016.2