private static final class TestClass {
public static final int[] ofCourseMutableArray = new int[] {5, 10};
}
public static void main(String[] args) {
assertImmutable(TestClass.class);
}
Is there a way to check against this, too? Or is this an area open for enhancement?
Thanks!