Reports any attempt to return or assign an array, Collection, java.lang.Date or java.lang.Calendar field from a method parameter. Since arrays, Collection, Date and Calendar are mutable, this construct may result in an object having its state modified unexpectedly from outside the owning class. While occasionally useful for performance reasons, this construct is inherently bug prone.

Use the checkbox below to ignore assignments and returns in private methods.

New in 2017.3