Reports object or array allocation inside loops. While not
necessarily a problem, object allocation inside loop is a great place to look for memory leaks
and performance issues.
The inspection reports the following constructs:
- Explicit allocations via new operator
- Methods known to return new object
- Instance-bound method references
- Lambdas that capture variables or this reference