public static final String[] ARRAY_CONSTANT = new String[] { "this", "will", "never", "change" };
raises squid:S2386, even that it really cannot change.
I think there should be exception for immutable objects (like String here) - it doesn’t make sense to provide a getter for such a constant.
I would understand it if it’s a collection, not base array, or if it’s an array of mutable objects.